]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/vintage/configure.html
Apply the new timezone template variables to the default theme
[github/shaarli/Shaarli.git] / tpl / vintage / configure.html
CommitLineData
45034273
SS
1<!DOCTYPE html>
2<html>
3<head>{include="includes"}</head>
4<body onload="document.configform.title.focus();">
5<div id="pageheader">
823a363c
A
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">
858c5c2b 11
823a363c
A
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>
858c5c2b 16
823a363c
A
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>
adc4aee8
KT
22
23 <tr>
24 <td><b>Theme:</b></td>
25 <td>
26 <select name="theme" id="theme">
27 {loop="$theme_available"}
04a0e8ea 28 <option value="{$value}" {if="$value===$theme"}selected{/if}>
a0df0651
A
29 {$value|ucfirst}
30 </option>
adc4aee8
KT
31 {/loop}
32 </select>
adc4aee8
KT
33 </td>
34 </tr>
35
823a363c
A
36 <tr>
37 <td><b>Timezone:</b></td>
38 <td>{$timezone_form}</td>
39 </tr>
858c5c2b 40
823a363c
A
41 <tr>
42 <td><b>Redirector</b></td>
43 <td>
44 <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>
45 (e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)
46 </td>
47 </tr>
858c5c2b 48
823a363c
A
49 <tr>
50 <td><b>Security:</b></td>
51 <td>
52 <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
2e193ad3 53 {if="$session_protection_disabled"}checked{/if}>
823a363c
A
54 <label
55 for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get
56 disconnected often or if your IP address changes often.)</label>
57 </td>
58 </tr>
858c5c2b 59
823a363c
A
60 <tr>
61 <td valign="top"><b>New link:</b></td>
62 <td>
63 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
684e662a 64 {if="$private_links_default"}checked{/if}/>
823a363c
A
65 <label for="privateLinkByDefault">
66 &nbsp;All new links are private by default
67 </label>
68 </td>
69 </tr>
70 <tr>
71 <td valign="top"><b>RSS direct links</b></td>
72 <td>
73 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
684e662a 74 {if="$enable_rss_permalinks"}checked{/if}/>
823a363c
A
75 <label for="enableRssPermalinks">
76 &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
da10377b 77 {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
823a363c
A
78 </label>
79 </td>
80 </tr>
81 <tr>
82 <td valign="top"><b>Hide public links</b></td>
83 <td>
84 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
684e662a 85 {if="$hide_public_links"}checked{/if}/>
823a363c
A
86 <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
87 </td>
88 </tr>
89 <tr>
90 <td valign="top"><b>Update:</b></td>
91 <td>
92 <input type="checkbox" name="updateCheck" id="updateCheck"
684e662a 93 {if="$enable_update_check"}checked{/if}/>
823a363c
A
94 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
95 </td>
96 </tr>
cbfdcff2 97 <tr>
18e67967 98 <td valign="top"><b>Enable REST API</b></td>
cbfdcff2
A
99 <td>
100 <input type="checkbox" name="apiEnabled" id="apiEnabled"
101 {if="$api_enabled"}checked{/if}/>
102 <label for="apiEnabled">&nbsp;Allow third party software to use Shaarli such as mobile application.</label>
103 </td>
104 </tr>
105 <tr>
106 <td valign="top"><b>API secret</b></td>
107 <td>
108 <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" />
109 </td>
110 </tr>
567967fd 111
823a363c
A
112 <tr>
113 <td></td>
114 <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
115 </tr>
116 </table>
117 </form>
45034273
SS
118</div>
119{include="page.footer"}
120</body>
ed5b38dd 121</html>