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