]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/vintage/configure.html
New basePath: fix officiel plugin paths and vintage template
[github/shaarli/Shaarli.git] / tpl / vintage / 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">
823a363c 6 {include="page.header"}
9fbc4229 7 <form method="POST" action="{$base_path}/admin/configure" name="configform" id="configform">
823a363c
A
8 <input type="hidden" name="token" value="{$token}">
9 <table id="configuration_table">
858c5c2b 10
823a363c
A
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>
858c5c2b 15
823a363c 16 <tr>
6177f320 17 <td><b>Home link:</b></td>
823a363c 18 <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
818b3193 19 for="titleLink">(default value is: {$base_path}/)</label></td>
823a363c 20 </tr>
adc4aee8
KT
21
22 <tr>
23 <td><b>Theme:</b></td>
24 <td>
25 <select name="theme" id="theme">
26 {loop="$theme_available"}
04a0e8ea 27 <option value="{$value}" {if="$value===$theme"}selected{/if}>
a0df0651
A
28 {$value|ucfirst}
29 </option>
adc4aee8
KT
30 {/loop}
31 </select>
adc4aee8
KT
32 </td>
33 </tr>
34
cf92b4dd
A
35 <tr>
36 <td><b>Description formatter:</b></td>
37 <td>
38 <select name="formatter" id="formatter">
39 {loop="$formatter_available"}
40 <option value="{$value}" {if="$value===$formatter"}selected{/if}>
41 {$value|ucfirst}
42 </option>
43 {/loop}
44 </select>
45 </td>
46 </tr>
47
823a363c
A
48 <tr>
49 <td><b>Timezone:</b></td>
49bc541d
A
50 <td>
51 <select id="continent" name="continent">
52 {loop="$continents"}
53 {if="$key !== 'selected'"}
54 <option value="{$value}" {if="$continents.selected === $value"}selected{/if}>
55 {$value}
56 </option>
57 {/if}
58 {/loop}
59 </select>
60 <select id="city" name="city">
61 {loop="$cities"}
62 {if="$key !== 'selected'"}
63 <option value="{$value.city}"
64 {if="$cities.selected === $value.city"}selected{/if}
65 data-continent="{$value.continent}">
66 {$value.city}
67 </option>
68 {/if}
69 {/loop}
70 </select>
71 </td>
823a363c 72 </tr>
858c5c2b 73
823a363c
A
74 <tr>
75 <td><b>Security:</b></td>
76 <td>
77 <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
2e193ad3 78 {if="$session_protection_disabled"}checked{/if}>
823a363c
A
79 <label
80 for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get
81 disconnected often or if your IP address changes often.)</label>
82 </td>
83 </tr>
858c5c2b 84
823a363c
A
85 <tr>
86 <td valign="top"><b>New link:</b></td>
87 <td>
88 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
684e662a 89 {if="$private_links_default"}checked{/if}/>
823a363c
A
90 <label for="privateLinkByDefault">
91 &nbsp;All new links are private by default
92 </label>
93 </td>
94 </tr>
95 <tr>
96 <td valign="top"><b>RSS direct links</b></td>
97 <td>
98 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
684e662a 99 {if="$enable_rss_permalinks"}checked{/if}/>
823a363c
A
100 <label for="enableRssPermalinks">
101 &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
da10377b 102 {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
823a363c
A
103 </label>
104 </td>
105 </tr>
106 <tr>
107 <td valign="top"><b>Hide public links</b></td>
108 <td>
109 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
684e662a 110 {if="$hide_public_links"}checked{/if}/>
823a363c
A
111 <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
112 </td>
113 </tr>
114 <tr>
115 <td valign="top"><b>Update:</b></td>
116 <td>
117 <input type="checkbox" name="updateCheck" id="updateCheck"
684e662a 118 {if="$enable_update_check"}checked{/if}/>
823a363c
A
119 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
120 </td>
121 </tr>
6a487252
A
122 <tr>
123 <td valign="top"><b>Automatically retrieve description for new bookmarks:</b></td>
124 <td>
125 <input type="checkbox" name="retrieveDescription" id="retrieveDescription"
126 {if="$retrieve_description"}checked{/if}/>
127 <label for="retrieveDescription">&nbsp;Shaarli will try to retrieve the description from meta HTML headers</label>
128 </td>
129 </tr>
cbfdcff2 130 <tr>
18e67967 131 <td valign="top"><b>Enable REST API</b></td>
cbfdcff2 132 <td>
76be95e1 133 <input type="checkbox" name="enableApi" id="enableApi"
cbfdcff2 134 {if="$api_enabled"}checked{/if}/>
76be95e1 135 <label for="enableApi">&nbsp;Allow third party software to use Shaarli such as mobile application.</label>
cbfdcff2
A
136 </td>
137 </tr>
138 <tr>
139 <td valign="top"><b>API secret</b></td>
140 <td>
141 <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" />
142 </td>
143 </tr>
1b93137e
A
144 <tr>
145 <td valign="top"><b>Enable thumbnails</b></td>
146 <td>
b302b3c5
A
147 <select name="enableThumbnails" id="enableThumbnails" class="align">
148 <option value="all" {if="$thumbnails_mode=='all'"}selected{/if}>
149 {'All'|t}
150 </option>
151 <option value="common" {if="$thumbnails_mode=='common'"}selected{/if}>
152 {'Only common media hosts'|t}
153 </option>
154 <option value="none" {if="$thumbnails_mode=='none'"}selected{/if}>
155 {'None'|t}
156 </option>
157 </select>
1b93137e 158 <label for="enableThumbnails">
28f26524
A
159 {if="! $gd_enabled"}
160 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
161 {elseif="$thumbnails_enabled"}
6132d647 162 <a href="{$base_path}/admin/thumbnails">{'Synchonize thumbnails'|t}</a>
28f26524 163 {/if}
1b93137e
A
164 </label>
165 </td>
166 </tr>
567967fd 167
823a363c
A
168 <tr>
169 <td></td>
170 <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
171 </tr>
172 </table>
173 </form>
45034273
SS
174</div>
175{include="page.footer"}
176</body>
ed5b38dd 177</html>