aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/configure.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-05-18 21:48:24 +0200
committerArthurHoaro <arthur@hoa.ro>2016-06-11 09:30:56 +0200
commit684e662a58b02bde225e44d3677987b6fc3adf0b (patch)
treedb0d4ca1d9b53341cc108b0e7671ffde0e9caee9 /tpl/configure.html
parent59404d7909b21682ec0782778452a8a70e38b25e (diff)
downloadShaarli-684e662a58b02bde225e44d3677987b6fc3adf0b.tar.gz
Shaarli-684e662a58b02bde225e44d3677987b6fc3adf0b.tar.zst
Shaarli-684e662a58b02bde225e44d3677987b6fc3adf0b.zip
Replace $GLOBALS configuration with the configuration manager in the whole code base
Diffstat (limited to 'tpl/configure.html')
-rw-r--r--tpl/configure.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/configure.html b/tpl/configure.html
index b7f87c68..f99fa45b 100644
--- a/tpl/configure.html
+++ b/tpl/configure.html
@@ -47,7 +47,7 @@
47 <td valign="top"><b>New link:</b></td> 47 <td valign="top"><b>New link:</b></td>
48 <td> 48 <td>
49 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault" 49 <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
50 {if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/> 50 {if="$private_links_default"}checked{/if}/>
51 <label for="privateLinkByDefault"> 51 <label for="privateLinkByDefault">
52 &nbsp;All new links are private by default 52 &nbsp;All new links are private by default
53 </label> 53 </label>
@@ -57,7 +57,7 @@
57 <td valign="top"><b>RSS direct links</b></td> 57 <td valign="top"><b>RSS direct links</b></td>
58 <td> 58 <td>
59 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" 59 <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
60 {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/> 60 {if="$enable_rss_permalinks"}checked{/if}/>
61 <label for="enableRssPermalinks"> 61 <label for="enableRssPermalinks">
62 &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b> 62 &nbsp;Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b>
63 {if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}.</b> 63 {if="$GLOBALS['config']['ENABLE_RSS_PERMALINKS']"}enabled{else}disabled{/if}.</b>
@@ -68,7 +68,7 @@
68 <td valign="top"><b>Hide public links</b></td> 68 <td valign="top"><b>Hide public links</b></td>
69 <td> 69 <td>
70 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks" 70 <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
71 {if="!empty($GLOBALS['config']['HIDE_PUBLIC_LINKS'])"}checked{/if}/> 71 {if="$hide_public_links"}checked{/if}/>
72 <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label> 72 <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
73 </td> 73 </td>
74 </tr> 74 </tr>
@@ -76,7 +76,7 @@
76 <td valign="top"><b>Update:</b></td> 76 <td valign="top"><b>Update:</b></td>
77 <td> 77 <td>
78 <input type="checkbox" name="updateCheck" id="updateCheck" 78 <input type="checkbox" name="updateCheck" id="updateCheck"
79 {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/> 79 {if="$enable_update_check"}checked{/if}/>
80 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label> 80 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
81 </td> 81 </td>
82 </tr> 82 </tr>