]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/configure.html
Bump Shaarli version to v0.8.7
[github/shaarli/Shaarli.git] / tpl / configure.html
index b7f87c6845335bd078426fb6b6eae6d51afd8958..983bcd085125923d58806d59f4f87af302b05122 100644 (file)
@@ -36,7 +36,7 @@
         <td><b>Security:</b></td>
         <td>
           <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
-                   {if="!empty($GLOBALS['disablesessionprotection'])"}checked{/if}>
+                   {if="$session_protection_disabled"}checked{/if}>
           <label
             for="disablesessionprotection">&nbsp;Disable session cookie hijacking protection (Check this if you get
             disconnected often or if your IP address changes often.)</label>
@@ -47,7 +47,7 @@
         <td valign="top"><b>New link:</b></td>
         <td>
           <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
-                 {if="!empty($GLOBALS['privateLinkByDefault'])"}checked{/if}/>
+                 {if="$private_links_default"}checked{/if}/>
           <label for="privateLinkByDefault">
             &nbsp;All new links are private by default
           </label>
         <td valign="top"><b>RSS direct links</b></td>
         <td>
           <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
-                 {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/>
+                 {if="$enable_rss_permalinks"}checked{/if}/>
           <label for="enableRssPermalinks">
             &nbsp;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>
+            {if="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
           </label>
         </td>
       </tr>
@@ -68,7 +68,7 @@
         <td valign="top"><b>Hide public links</b></td>
         <td>
           <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
-                 {if="!empty($GLOBALS['config']['HIDE_PUBLIC_LINKS'])"}checked{/if}/>
+                 {if="$hide_public_links"}checked{/if}/>
           <label for="hidePublicLinks">&nbsp;Do not show any links if the user is not logged in.</label>
         </td>
       </tr>
@@ -76,7 +76,7 @@
         <td valign="top"><b>Update:</b></td>
         <td>
           <input type="checkbox" name="updateCheck" id="updateCheck"
-                 {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
+                 {if="$enable_update_check"}checked{/if}/>
           <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
         </td>
       </tr>