]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/configure.html
Update release archive generation
[github/shaarli/Shaarli.git] / tpl / configure.html
index 01f846cc11b34c8eee9416b1514abd8df434fbe6..983bcd085125923d58806d59f4f87af302b05122 100644 (file)
@@ -3,44 +3,90 @@
 <head>{include="includes"}</head>
 <body onload="document.configform.title.focus();">
 <div id="pageheader">
-       {include="page.header"}
-{$timezone_js}
-    <form method="POST" action="#" name="configform" id="configform">
-       <input type="hidden" name="token" value="{$token}">
-       <table id="configuration_table">
+  {include="page.header"}
+  {$timezone_js}
+  <form method="POST" action="#" name="configform" id="configform">
+    <input type="hidden" name="token" value="{$token}">
+    <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><td><b>Timezone:</b></td><td>{$timezone_form}</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>
+        <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">&nbsp;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="$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>
+        </td>
+      </tr>
 
-        <tr><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">&nbsp;All new links are private by default</label></td>
-        </tr>
-        <tr>
-               <td valign="top"><b>Enable RSS Permalinks</b></td>
-               <td>
-                       <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks" {if="!empty($GLOBALS['config']['ENABLE_RSS_PERMALINKS'])"}checked{/if}/><label for="enableRssPermalinks">&nbsp;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>
-               </td>
-        </tr>
-        <tr>
-            <td valign="top"><b>Disable public links</b></td>
-            <td>
-                <input type="checkbox" name="disablePublicLinks" id="disablePublicLinks" {if="!empty($GLOBALS['config']['DISABLE_PUBLIC_LINKS'])"}checked{/if}/><label for="disablePublicLinks">&nbsp;
-                Do not show any links if the user is not logged in.</label>
-            </td>
-        </tr>
-        <tr><td valign="top"><b>Update:</b></td><td>
-            <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
-            <label for="updateCheck">&nbsp;Notify me when a new release is ready</label></td>
-        </tr>
-         <tr><td></td><td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
-       </table>
-       </form>
+      <tr>
+        <td valign="top"><b>New link:</b></td>
+        <td>
+          <input type="checkbox" name="privateLinkByDefault" id="privateLinkByDefault"
+                 {if="$private_links_default"}checked{/if}/>
+          <label for="privateLinkByDefault">
+            &nbsp;All new links are private by default
+          </label>
+        </td>
+      </tr>
+      <tr>
+        <td valign="top"><b>RSS direct links</b></td>
+        <td>
+          <input type="checkbox" name="enableRssPermalinks" id="enableRssPermalinks"
+                 {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="$enable_rss_permalinks"}enabled{else}disabled{/if}.</b>
+          </label>
+        </td>
+      </tr>
+      <tr>
+        <td valign="top"><b>Hide public links</b></td>
+        <td>
+          <input type="checkbox" name="hidePublicLinks" id="hidePublicLinks"
+                 {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>
+      <tr>
+        <td valign="top"><b>Update:</b></td>
+        <td>
+          <input type="checkbox" name="updateCheck" id="updateCheck"
+                 {if="$enable_update_check"}checked{/if}/>
+          <label for="updateCheck">&nbsp;Notify me when a new release is ready</label>
+        </td>
+      </tr>
+
+      <tr>
+        <td></td>
+        <td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td>
+      </tr>
+    </table>
+  </form>
 </div>
 {include="page.footer"}
 </body>