3 <head>{
include="includes"}
</head>
4 <body onload=
"document.configform.title.focus();">
6 {
include="page.header"}
8 <form method=
"POST" action=
"#" name=
"configform" id=
"configform">
9 <input type=
"hidden" name=
"token" value=
"{$token}">
10 <table id=
"configuration_table">
13 <td><b>Page title:
</b></td>
14 <td><input type=
"text" name=
"title" id=
"title" size=
"50" value=
"{$title}"></td>
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>
24 <td><b>Theme:
</b></td>
26 <select name=
"theme" id=
"theme">
27 {
loop="$theme_available"}
28 {
if="$value===$theme"}
29 <option selected
value=
"{$value}">{$value|ucfirst}
</option>
31 <option value=
"{$value}">{$value|ucfirst}
</option>
35 <label for=
"theme">(default value is: Default)
</label>
40 <td><b>Timezone:
</b></td>
41 <td>{$timezone_form}
</td>
45 <td><b>Redirector
</b></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)
53 <td><b>Security:
</b></td>
55 <input type=
"checkbox" name=
"disablesessionprotection" id=
"disablesessionprotection"
56 {
if=
"$session_protection_disabled"}checked{/if}
>
58 for=
"disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
59 disconnected often or if your IP address changes often.)
</label>
64 <td valign=
"top"><b>New link:
</b></td>
66 <input type=
"checkbox" name=
"privateLinkByDefault" id=
"privateLinkByDefault"
67 {
if=
"$private_links_default"}checked{/if}
/>
68 <label for=
"privateLinkByDefault">
69 All new links are private by default
74 <td valign=
"top"><b>RSS direct links
</b></td>
76 <input type=
"checkbox" name=
"enableRssPermalinks" id=
"enableRssPermalinks"
77 {
if=
"$enable_rss_permalinks"}checked{/if}
/>
78 <label for=
"enableRssPermalinks">
79 Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently
<b>
80 {
if="$enable_rss_permalinks"}enabled{else}disabled{/if}.
</b>
85 <td valign=
"top"><b>Hide public links
</b></td>
87 <input type=
"checkbox" name=
"hidePublicLinks" id=
"hidePublicLinks"
88 {
if=
"$hide_public_links"}checked{/if}
/>
89 <label for=
"hidePublicLinks"> Do not show any links if the user is not logged in.
</label>
93 <td valign=
"top"><b>Update:
</b></td>
95 <input type=
"checkbox" name=
"updateCheck" id=
"updateCheck"
96 {
if=
"$enable_update_check"}checked{/if}
/>
97 <label for=
"updateCheck"> Notify me when a new release is ready
</label>
101 <td valign=
"top"><b>Enable REST API
</b></td>
103 <input type=
"checkbox" name=
"apiEnabled" id=
"apiEnabled"
104 {
if=
"$api_enabled"}checked{/if}
/>
105 <label for=
"apiEnabled"> Allow third party software to use Shaarli such as mobile application.
</label>
109 <td valign=
"top"><b>API secret
</b></td>
111 <input type=
"text" name=
"apiSecret" id=
"apiSecret" size=
"50" value=
"{$api_secret}" />
117 <td class=
"right"><input type=
"submit" name=
"Save" value=
"Save config" class=
"bigbutton"></td>
122 {
include="page.footer"}