]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/configure.html
CachedPage: move to a proper file, add tests
[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">
6 {include="page.header"}
7{$timezone_js}
8079dfd1 8 <form method="POST" action="#" name="configform" id="configform">
45034273 9 <input type="hidden" name="token" value="{$token}">
8079dfd1 10 <table id="configuration_table">
858c5c2b
SS
11
12 <tr><td><b>Page title:</b></td><td><input type="text" name="title" id="title" size="50" value="{$title}"></td></tr>
13
e411f7f9 14 <tr><td><b>Title link:</b></td><td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label for="titleLink">(default value is: ?)</label></td></tr>
8079dfd1 15 <tr><td><b>Timezone:</b></td><td>{$timezone_form}</td></tr>
858c5c2b 16
8079dfd1 17 <tr><td><b>Redirector</b></td><td><input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>(e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)</td></tr>
858c5c2b 18
8079dfd1 19 <tr><td><b>Security:</b></td><td><input type="checkbox" name="disablesessionprotection" id="disablesessionprotection" {if="!empty($GLOBALS['disablesessionprotection'])"}checked{/if}><label for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get disconnected often or if your IP address changes often.)</label></td></tr>
858c5c2b 20
ed5b38dd
FE
21 <tr><td valign="top"><b>New link:</b></td><td>
22 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault" {if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/><label for="privateLinkByDefault">&nbsp;All new links are private by default</label></td>
23 </tr>
24 <tr>
25 <td valign="top"><b>Enable RSS Permalinks</b></td>
26 <td>
27 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/><label for="enableRssPermalinks">&nbsp;Switches the RSS feed URLs between full URLs and shortlinks. Enabling it will show a permalink in the description, and the feed item will be linked to the absolute URL. Disabling it swaps this behaviour around (permalink in title and link in description). RSS Permalinks are currently <b>{if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}</b></label>
28 </td>
329e0768 29 </tr>
8fa1ebd6 30 <tr>
caee7ff9 31 <td valign="top"><b>Hide public links</b></td>
8fa1ebd6 32 <td>
caee7ff9 33 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks" {if="!empty($GLOBALS['config']['HIDE_PUBLIC_LINKS'])"}checked{/if}/><label for="hidePublicLinks">&nbsp;
8fa1ebd6 34 Do not show any links if the user is not logged in.</label>
35 </td>
36 </tr>
329e0768
A
37 <tr><td valign="top"><b>Update:</b></td><td>
38 <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
39 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label></td>
858c5c2b 40 </tr>
8079dfd1 41 <tr><td></td><td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
45034273
SS
42 </table>
43 </form>
44</div>
45{include="page.footer"}
46</body>
ed5b38dd 47</html>