diff options
author | feula <mr.pikzen@gmail.com> | 2015-04-09 18:13:11 +0200 |
---|---|---|
committer | feula <mr.pikzen@gmail.com> | 2015-04-09 18:13:11 +0200 |
commit | 8fa1ebd6059050566bd685c23d88ff4f60a20c55 (patch) | |
tree | fedae5abeecd56ffea307529844fe617ffb86a2e /tpl/configure.html | |
parent | 8438a2e5d0cb90a869d67516c6e6cf756f77a588 (diff) | |
download | Shaarli-8fa1ebd6059050566bd685c23d88ff4f60a20c55.tar.gz Shaarli-8fa1ebd6059050566bd685c23d88ff4f60a20c55.tar.zst Shaarli-8fa1ebd6059050566bd685c23d88ff4f60a20c55.zip |
Allow disabling all public links, fixes #188
Diffstat (limited to 'tpl/configure.html')
-rw-r--r-- | tpl/configure.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tpl/configure.html b/tpl/configure.html index 373d0690..01f846cc 100644 --- a/tpl/configure.html +++ b/tpl/configure.html | |||
@@ -27,6 +27,13 @@ | |||
27 | <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/><label for="enableRssPermalinks"> Switches the RSS feed URLs between full URLs and shortlinks. Enabling it will show a permalink in the description, and the feed item will be linked to the absolute URL. Disabling it swaps this behaviour around (permalink in title and link in description). RSS Permalinks are currently <b>{if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}</b></label> | 27 | <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/><label for="enableRssPermalinks"> Switches the RSS feed URLs between full URLs and shortlinks. Enabling it will show a permalink in the description, and the feed item will be linked to the absolute URL. Disabling it swaps this behaviour around (permalink in title and link in description). RSS Permalinks are currently <b>{if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}</b></label> |
28 | </td> | 28 | </td> |
29 | </tr> | 29 | </tr> |
30 | <tr> | ||
31 | <td valign="top"><b>Disable public links</b></td> | ||
32 | <td> | ||
33 | <input type="checkbox" name="disablePublicLinks" id="disablePublicLinks" {if="!empty($GLOBALS['config']['DISABLE_PUBLIC_LINKS'])"}checked{/if}/><label for="disablePublicLinks"> | ||
34 | Do not show any links if the user is not logged in.</label> | ||
35 | </td> | ||
36 | </tr> | ||
30 | <tr><td valign="top"><b>Update:</b></td><td> | 37 | <tr><td valign="top"><b>Update:</b></td><td> |
31 | <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/> | 38 | <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/> |
32 | <label for="updateCheck"> Notify me when a new release is ready</label></td> | 39 | <label for="updateCheck"> Notify me when a new release is ready</label></td> |