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