3 <head>{
include="includes"}
</head>
4 <body onload=
"document.configform.title.focus();">
6 {
include="page.header"}
7 <form method=
"POST" action=
"#" name=
"configform" id=
"configform">
8 <input type=
"hidden" name=
"token" value=
"{$token}">
9 <table id=
"configuration_table">
12 <td><b>Page title:
</b></td>
13 <td><input type=
"text" name=
"title" id=
"title" size=
"50" value=
"{$title}"></td>
17 <td><b>Home link:
</b></td>
18 <td><input type=
"text" name=
"titleLink" id=
"titleLink" size=
"50" value=
"{$titleLink}"><br/><label
19 for=
"titleLink">(default value is: ?)
</label></td>
23 <td><b>Theme:
</b></td>
25 <select name=
"theme" id=
"theme">
26 {
loop="$theme_available"}
27 <option value=
"{$value}" {
if=
"$value===$theme"}selected{/if}
>
36 <td><b>Timezone:
</b></td>
38 <select id=
"continent" name=
"continent">
40 {
if="$key !== 'selected'"}
41 <option value=
"{$value}" {
if=
"$continents.selected === $value"}selected{/if}
>
47 <select id=
"city" name=
"city">
49 {
if="$key !== 'selected'"}
50 <option value=
"{$value.city}"
51 {
if=
"$cities.selected === $value.city"}selected{/if}
52 data-continent=
"{$value.continent}">
62 <td><b>Redirector
</b></td>
64 <input type=
"text" name=
"redirector" id=
"redirector" size=
"50" value=
"{$redirector}"><br>
65 (e.g.
<i>http://anonym.to/?
</i> will mask the HTTP_REFERER)
70 <td><b>Security:
</b></td>
72 <input type=
"checkbox" name=
"disablesessionprotection" id=
"disablesessionprotection"
73 {
if=
"$session_protection_disabled"}checked{/if}
>
75 for=
"disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
76 disconnected often or if your IP address changes often.)
</label>
81 <td valign=
"top"><b>New link:
</b></td>
83 <input type=
"checkbox" name=
"privateLinkByDefault" id=
"privateLinkByDefault"
84 {
if=
"$private_links_default"}checked{/if}
/>
85 <label for=
"privateLinkByDefault">
86 All new links are private by default
91 <td valign=
"top"><b>RSS direct links
</b></td>
93 <input type=
"checkbox" name=
"enableRssPermalinks" id=
"enableRssPermalinks"
94 {
if=
"$enable_rss_permalinks"}checked{/if}
/>
95 <label for=
"enableRssPermalinks">
96 Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently
<b>
97 {
if="$enable_rss_permalinks"}enabled{else}disabled{/if}.
</b>
102 <td valign=
"top"><b>Hide public links
</b></td>
104 <input type=
"checkbox" name=
"hidePublicLinks" id=
"hidePublicLinks"
105 {
if=
"$hide_public_links"}checked{/if}
/>
106 <label for=
"hidePublicLinks"> Do not show any links if the user is not logged in.
</label>
110 <td valign=
"top"><b>Update:
</b></td>
112 <input type=
"checkbox" name=
"updateCheck" id=
"updateCheck"
113 {
if=
"$enable_update_check"}checked{/if}
/>
114 <label for=
"updateCheck"> Notify me when a new release is ready
</label>
118 <td valign=
"top"><b>Enable REST API
</b></td>
120 <input type=
"checkbox" name=
"enableApi" id=
"enableApi"
121 {
if=
"$api_enabled"}checked{/if}
/>
122 <label for=
"enableApi"> Allow third party software to use Shaarli such as mobile application.
</label>
126 <td valign=
"top"><b>API secret
</b></td>
128 <input type=
"text" name=
"apiSecret" id=
"apiSecret" size=
"50" value=
"{$api_secret}" />
134 <td class=
"right"><input type=
"submit" name=
"Save" value=
"Save config" class=
"bigbutton"></td>
139 {
include="page.footer"}