diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/configure.html | 8 | ||||
-rw-r--r-- | tpl/page.header.html | 4 |
2 files changed, 6 insertions, 6 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 | All new links are private by default | 52 | 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 | Disable it to use permalinks in RSS feed instead of direct links to your shaared links. Currently <b> | 62 | 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"> Do not show any links if the user is not logged in.</label> | 72 | <label for="hidePublicLinks"> 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"> Notify me when a new release is ready</label> | 80 | <label for="updateCheck"> Notify me when a new release is ready</label> |
81 | </td> | 81 | </td> |
82 | </tr> | 82 | </tr> |
diff --git a/tpl/page.header.html b/tpl/page.header.html index 3a09ecd9..0012c689 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html | |||
@@ -21,14 +21,14 @@ | |||
21 | <li><a href="?do=logout">Logout</a></li> | 21 | <li><a href="?do=logout">Logout</a></li> |
22 | <li><a href="?do=tools">Tools</a></li> | 22 | <li><a href="?do=tools">Tools</a></li> |
23 | <li><a href="?do=addlink">Add link</a></li> | 23 | <li><a href="?do=addlink">Add link</a></li> |
24 | {elseif="$GLOBALS['config']['OPEN_SHAARLI']"} | 24 | {elseif="$openshaarli"} |
25 | <li><a href="?do=tools">Tools</a></li> | 25 | <li><a href="?do=tools">Tools</a></li> |
26 | <li><a href="?do=addlink">Add link</a></li> | 26 | <li><a href="?do=addlink">Add link</a></li> |
27 | {else} | 27 | {else} |
28 | <li><a href="?do=login">Login</a></li> | 28 | <li><a href="?do=login">Login</a></li> |
29 | {/if} | 29 | {/if} |
30 | <li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li> | 30 | <li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li> |
31 | {if="$GLOBALS['config']['SHOW_ATOM']"} | 31 | {if="$showatom"} |
32 | <li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li> | 32 | <li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li> |
33 | {/if} | 33 | {/if} |
34 | <li><a href="?do=tagcloud">Tag cloud</a></li> | 34 | <li><a href="?do=tagcloud">Tag cloud</a></li> |