Configuration template indenting
This commit is contained in:
parent
6d03a9b2b3
commit
823a363c3b
1 changed files with 78 additions and 36 deletions
|
@ -9,40 +9,82 @@
|
||||||
<input type="hidden" name="token" value="{$token}">
|
<input type="hidden" name="token" value="{$token}">
|
||||||
<table id="configuration_table">
|
<table id="configuration_table">
|
||||||
|
|
||||||
<tr><td><b>Page title:</b></td><td><input type="text" name="title" id="title" size="50" value="{$title}"></td></tr>
|
<tr>
|
||||||
|
<td><b>Page title:</b></td>
|
||||||
|
<td><input type="text" name="title" id="title" size="50" value="{$title}"></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr><td><b>Title link:</b></td><td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label for="titleLink">(default value is: ?)</label></td></tr>
|
<tr>
|
||||||
<tr><td><b>Timezone:</b></td><td>{$timezone_form}</td></tr>
|
<td><b>Title link:</b></td>
|
||||||
|
<td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
|
||||||
|
for="titleLink">(default value is: ?)</label></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><b>Timezone:</b></td>
|
||||||
|
<td>{$timezone_form}</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr><td><b>Redirector</b></td><td><input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>(e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)</td></tr>
|
<tr>
|
||||||
|
<td><b>Redirector</b></td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>
|
||||||
|
(e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr><td><b>Security:</b></td><td><input type="checkbox" name="disablesessionprotection" id="disablesessionprotection" {if="!empty($GLOBALS['disablesessionprotection'])"}checked{/if}><label for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get disconnected often or if your IP address changes often.)</label></td></tr>
|
<tr>
|
||||||
|
<td><b>Security:</b></td>
|
||||||
|
<td>
|
||||||
|
<input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
|
||||||
|
{if="!empty($GLOBALS['disablesessionprotection'])"}checked{/if}>
|
||||||
|
<label
|
||||||
|
for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
|
||||||
|
disconnected often or if your IP address changes often.)</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr><td valign="top"><b>New link:</b></td><td>
|
<tr>
|
||||||
<input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault" {if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/><label for="privateLinkByDefault"> All new links are private by default</label></td>
|
<td valign="top"><b>New link:</b></td>
|
||||||
|
<td>
|
||||||
|
<input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
|
||||||
|
{if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/>
|
||||||
|
<label for="privateLinkByDefault">
|
||||||
|
All new links are private by default
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top"><b>RSS direct links</b></td>
|
<td valign="top"><b>RSS direct links</b></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/>
|
<input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
|
||||||
|
{if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/>
|
||||||
<label for="enableRssPermalinks">
|
<label for="enableRssPermalinks">
|
||||||
Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>{if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}.</b>
|
Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
|
||||||
|
{if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}.</b>
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top"><b>Hide public links</b></td>
|
<td valign="top"><b>Hide public links</b></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="hidePublicLinks" id="hidePublicLinks" {if="!empty($GLOBALS['config']['HIDE_PUBLIC_LINKS'])"}checked{/if}/><label for="hidePublicLinks">
|
<input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
|
||||||
Do not show any links if the user is not logged in.</label>
|
{if="!empty($GLOBALS['config']['HIDE_PUBLIC_LINKS'])"}checked{/if}/>
|
||||||
|
<label for="hidePublicLinks"> Do not show any links if the user is not logged in.</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td valign="top"><b>Update:</b></td><td>
|
<tr>
|
||||||
<input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
|
<td valign="top"><b>Update:</b></td>
|
||||||
<label for="updateCheck"> Notify me when a new release is ready</label></td>
|
<td>
|
||||||
|
<input type="checkbox" name="updateCheck" id="updateCheck"
|
||||||
|
{if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
|
||||||
|
<label for="updateCheck"> Notify me when a new release is ready</label>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr><td></td><td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue