]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/vintage/configure.html
9466c2354780cbdb8a8f7805041d733a4b7025fc
[github/shaarli/Shaarli.git] / tpl / vintage / configure.html
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 <form method="POST" action="#" name="configform" id="configform">
8 <input type="hidden" name="token" value="{$token}">
9 <table id="configuration_table">
10
11 <tr>
12 <td><b>Page title:</b></td>
13 <td><input type="text" name="title" id="title" size="50" value="{$title}"></td>
14 </tr>
15
16 <tr>
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>
20 </tr>
21
22 <tr>
23 <td><b>Theme:</b></td>
24 <td>
25 <select name="theme" id="theme">
26 {loop="$theme_available"}
27 <option value="{$value}" {if="$value===$theme"}selected{/if}>
28 {$value|ucfirst}
29 </option>
30 {/loop}
31 </select>
32 </td>
33 </tr>
34
35 <tr>
36 <td><b>Timezone:</b></td>
37 <td>
38 <select id="continent" name="continent">
39 {loop="$continents"}
40 {if="$key !== 'selected'"}
41 <option value="{$value}" {if="$continents.selected === $value"}selected{/if}>
42 {$value}
43 </option>
44 {/if}
45 {/loop}
46 </select>
47 <select id="city" name="city">
48 {loop="$cities"}
49 {if="$key !== 'selected'"}
50 <option value="{$value.city}"
51 {if="$cities.selected === $value.city"}selected{/if}
52 data-continent="{$value.continent}">
53 {$value.city}
54 </option>
55 {/if}
56 {/loop}
57 </select>
58 </td>
59 </tr>
60
61 <tr>
62 <td><b>Redirector</b></td>
63 <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)
66 </td>
67 </tr>
68
69 <tr>
70 <td><b>Security:</b></td>
71 <td>
72 <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
73 {if="$session_protection_disabled"}checked{/if}>
74 <label
75 for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get
76 disconnected often or if your IP address changes often.)</label>
77 </td>
78 </tr>
79
80 <tr>
81 <td valign="top"><b>New link:</b></td>
82 <td>
83 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
84 {if="$private_links_default"}checked{/if}/>
85 <label for="privateLinkByDefault">
86 &nbsp;All new links are private by default
87 </label>
88 </td>
89 </tr>
90 <tr>
91 <td valign="top"><b>RSS direct links</b></td>
92 <td>
93 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
94 {if="$enable_rss_permalinks"}checked{/if}/>
95 <label for="enableRssPermalinks">
96 &nbsp;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>
98 </label>
99 </td>
100 </tr>
101 <tr>
102 <td valign="top"><b>Hide public links</b></td>
103 <td>
104 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
105 {if="$hide_public_links"}checked{/if}/>
106 <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
107 </td>
108 </tr>
109 <tr>
110 <td valign="top"><b>Update:</b></td>
111 <td>
112 <input type="checkbox" name="updateCheck" id="updateCheck"
113 {if="$enable_update_check"}checked{/if}/>
114 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
115 </td>
116 </tr>
117 <tr>
118 <td valign="top"><b>Enable REST API</b></td>
119 <td>
120 <input type="checkbox" name="enableApi" id="enableApi"
121 {if="$api_enabled"}checked{/if}/>
122 <label for="enableApi">&nbsp;Allow third party software to use Shaarli such as mobile application.</label>
123 </td>
124 </tr>
125 <tr>
126 <td valign="top"><b>API secret</b></td>
127 <td>
128 <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" />
129 </td>
130 </tr>
131 <tr>
132 <td valign="top"><b>Enable thumbnails</b></td>
133 <td>
134 <select name="enableThumbnails" id="enableThumbnails" class="align">
135 <option value="all" {if="$thumbnails_mode=='all'"}selected{/if}>
136 {'All'|t}
137 </option>
138 <option value="common" {if="$thumbnails_mode=='common'"}selected{/if}>
139 {'Only common media hosts'|t}
140 </option>
141 <option value="none" {if="$thumbnails_mode=='none'"}selected{/if}>
142 {'None'|t}
143 </option>
144 </select>
145 <label for="enableThumbnails">
146 {if="! $gd_enabled"}
147 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
148 {elseif="$thumbnails_enabled"}
149 <a href="?do=thumbs_update">{'Synchonize thumbnails'|t}</a>
150 {/if}
151 </label>
152 </td>
153 </tr>
154
155 <tr>
156 <td></td>
157 <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
158 </tr>
159 </table>
160 </form>
161 </div>
162 {include="page.footer"}
163 </body>
164 </html>