diff options
Diffstat (limited to 'tpl/default/configure.html')
-rw-r--r-- | tpl/default/configure.html | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html new file mode 100644 index 00000000..94f6df69 --- /dev/null +++ b/tpl/default/configure.html | |||
@@ -0,0 +1,124 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"}</head> | ||
4 | <body onload="document.configform.title.focus();"> | ||
5 | <div id="pageheader"> | ||
6 | {include="page.header"} | ||
7 | {$timezone_js} | ||
8 | <form method="POST" action="#" name="configform" id="configform"> | ||
9 | <input type="hidden" name="token" value="{$token}"> | ||
10 | <table id="configuration_table"> | ||
11 | |||
12 | <tr> | ||
13 | <td><b>Page title:</b></td> | ||
14 | <td><input type="text" name="title" id="title" size="50" value="{$title}"></td> | ||
15 | </tr> | ||
16 | |||
17 | <tr> | ||
18 | <td><b>Title link:</b></td> | ||
19 | <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label | ||
20 | for="titleLink">(default value is: ?)</label></td> | ||
21 | </tr> | ||
22 | |||
23 | <tr> | ||
24 | <td><b>Theme:</b></td> | ||
25 | <td> | ||
26 | <select name="theme" id="theme"> | ||
27 | {loop="$theme_available"} | ||
28 | {if="$value===$theme"} | ||
29 | <option selected value="{$value}">{$value|ucfirst}</option> | ||
30 | {else} | ||
31 | <option value="{$value}">{$value|ucfirst}</option> | ||
32 | {/if} | ||
33 | {/loop} | ||
34 | </select> | ||
35 | <label for="theme">(default value is: Default)</label> | ||
36 | </td> | ||
37 | </tr> | ||
38 | |||
39 | <tr> | ||
40 | <td><b>Timezone:</b></td> | ||
41 | <td>{$timezone_form}</td> | ||
42 | </tr> | ||
43 | |||
44 | <tr> | ||
45 | <td><b>Redirector</b></td> | ||
46 | <td> | ||
47 | <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br> | ||
48 | (e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER) | ||
49 | </td> | ||
50 | </tr> | ||
51 | |||
52 | <tr> | ||
53 | <td><b>Security:</b></td> | ||
54 | <td> | ||
55 | <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection" | ||
56 | {if="$session_protection_disabled"}checked{/if}> | ||
57 | <label | ||
58 | for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get | ||
59 | disconnected often or if your IP address changes often.)</label> | ||
60 | </td> | ||
61 | </tr> | ||
62 | |||
63 | <tr> | ||
64 | <td valign="top"><b>New link:</b></td> | ||
65 | <td> | ||
66 | <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault" | ||
67 | {if="$private_links_default"}checked{/if}/> | ||
68 | <label for="privateLinkByDefault"> | ||
69 | All new links are private by default | ||
70 | </label> | ||
71 | </td> | ||
72 | </tr> | ||
73 | <tr> | ||
74 | <td valign="top"><b>RSS direct links</b></td> | ||
75 | <td> | ||
76 | <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" | ||
77 | {if="$enable_rss_permalinks"}checked{/if}/> | ||
78 | <label for="enableRssPermalinks"> | ||
79 | Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b> | ||
80 | {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b> | ||
81 | </label> | ||
82 | </td> | ||
83 | </tr> | ||
84 | <tr> | ||
85 | <td valign="top"><b>Hide public links</b></td> | ||
86 | <td> | ||
87 | <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks" | ||
88 | {if="$hide_public_links"}checked{/if}/> | ||
89 | <label for="hidePublicLinks"> Do not show any links if the user is not logged in.</label> | ||
90 | </td> | ||
91 | </tr> | ||
92 | <tr> | ||
93 | <td valign="top"><b>Update:</b></td> | ||
94 | <td> | ||
95 | <input type="checkbox" name="updateCheck" id="updateCheck" | ||
96 | {if="$enable_update_check"}checked{/if}/> | ||
97 | <label for="updateCheck"> Notify me when a new release is ready</label> | ||
98 | </td> | ||
99 | </tr> | ||
100 | <tr> | ||
101 | <td valign="top"><b>Enable REST API</b></td> | ||
102 | <td> | ||
103 | <input type="checkbox" name="apiEnabled" id="apiEnabled" | ||
104 | {if="$api_enabled"}checked{/if}/> | ||
105 | <label for="apiEnabled"> Allow third party software to use Shaarli such as mobile application.</label> | ||
106 | </td> | ||
107 | </tr> | ||
108 | <tr> | ||
109 | <td valign="top"><b>API secret</b></td> | ||
110 | <td> | ||
111 | <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" /> | ||
112 | </td> | ||
113 | </tr> | ||
114 | |||
115 | <tr> | ||
116 | <td></td> | ||
117 | <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td> | ||
118 | </tr> | ||
119 | </table> | ||
120 | </form> | ||
121 | </div> | ||
122 | {include="page.footer"} | ||
123 | </body> | ||
124 | </html> | ||