]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/default/configure.html
Change templates set through administration UI
[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"}
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
823a363c
A
39 <tr>
40 <td><b>Timezone:</b></td>
41 <td>{$timezone_form}</td>
42 </tr>
858c5c2b 43
823a363c
A
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>
858c5c2b 51
823a363c
A
52 <tr>
53 <td><b>Security:</b></td>
54 <td>
55 <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
2e193ad3 56 {if="$session_protection_disabled"}checked{/if}>
823a363c
A
57 <label
58 for="disablesessionprotection">&nbsp;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>
858c5c2b 62
823a363c
A
63 <tr>
64 <td valign="top"><b>New link:</b></td>
65 <td>
66 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
684e662a 67 {if="$private_links_default"}checked{/if}/>
823a363c
A
68 <label for="privateLinkByDefault">
69 &nbsp;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"
684e662a 77 {if="$enable_rss_permalinks"}checked{/if}/>
823a363c
A
78 <label for="enableRssPermalinks">
79 &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
da10377b 80 {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
823a363c
A
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"
684e662a 88 {if="$hide_public_links"}checked{/if}/>
823a363c
A
89 <label for="hidePublicLinks">&nbsp;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"
684e662a 96 {if="$enable_update_check"}checked{/if}/>
823a363c
A
97 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
98 </td>
99 </tr>
cbfdcff2 100 <tr>
18e67967 101 <td valign="top"><b>Enable REST API</b></td>
cbfdcff2
A
102 <td>
103 <input type="checkbox" name="apiEnabled" id="apiEnabled"
104 {if="$api_enabled"}checked{/if}/>
105 <label for="apiEnabled">&nbsp;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>
567967fd 114
823a363c
A
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>
45034273
SS
121</div>
122{include="page.footer"}
123</body>
ed5b38dd 124</html>