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 <option value=
"{$value}" {
if=
"$value===$theme"}selected{/if}
>
37 <td><b>Timezone:
</b></td>
38 <td>{$timezone_form}
</td>
42 <td><b>Redirector
</b></td>
44 <input type=
"text" name=
"redirector" id=
"redirector" size=
"50" value=
"{$redirector}"><br>
45 (e.g.
<i>http://anonym.to/?
</i> will mask the HTTP_REFERER)
50 <td><b>Security:
</b></td>
52 <input type=
"checkbox" name=
"disablesessionprotection" id=
"disablesessionprotection"
53 {
if=
"$session_protection_disabled"}checked{/if}
>
55 for=
"disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
56 disconnected often or if your IP address changes often.)
</label>
61 <td valign=
"top"><b>New link:
</b></td>
63 <input type=
"checkbox" name=
"privateLinkByDefault" id=
"privateLinkByDefault"
64 {
if=
"$private_links_default"}checked{/if}
/>
65 <label for=
"privateLinkByDefault">
66 All new links are private by default
71 <td valign=
"top"><b>RSS direct links
</b></td>
73 <input type=
"checkbox" name=
"enableRssPermalinks" id=
"enableRssPermalinks"
74 {
if=
"$enable_rss_permalinks"}checked{/if}
/>
75 <label for=
"enableRssPermalinks">
76 Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently
<b>
77 {
if="$enable_rss_permalinks"}enabled{else}disabled{/if}.
</b>
82 <td valign=
"top"><b>Hide public links
</b></td>
84 <input type=
"checkbox" name=
"hidePublicLinks" id=
"hidePublicLinks"
85 {
if=
"$hide_public_links"}checked{/if}
/>
86 <label for=
"hidePublicLinks"> Do not show any links if the user is not logged in.
</label>
90 <td valign=
"top"><b>Update:
</b></td>
92 <input type=
"checkbox" name=
"updateCheck" id=
"updateCheck"
93 {
if=
"$enable_update_check"}checked{/if}
/>
94 <label for=
"updateCheck"> Notify me when a new release is ready
</label>
98 <td valign=
"top"><b>Enable REST API
</b></td>
100 <input type=
"checkbox" name=
"apiEnabled" id=
"apiEnabled"
101 {
if=
"$api_enabled"}checked{/if}
/>
102 <label for=
"apiEnabled"> Allow third party software to use Shaarli such as mobile application.
</label>
106 <td valign=
"top"><b>API secret
</b></td>
108 <input type=
"text" name=
"apiSecret" id=
"apiSecret" size=
"50" value=
"{$api_secret}" />
114 <td class=
"right"><input type=
"submit" name=
"Save" value=
"Save config" class=
"bigbutton"></td>
119 {
include="page.footer"}