diff options
author | nodiscc <nodiscc@gmail.com> | 2014-10-23 17:47:30 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2014-10-23 17:47:30 +0200 |
commit | 1099d8fcad1844599a365fc03506ca69d156609f (patch) | |
tree | 534e2e70620408d2b49a61e808f90198303e2f70 /tpl | |
parent | 57dbbe51a613b31f84071a22897857b81cd9e2ec (diff) | |
download | Shaarli-1099d8fcad1844599a365fc03506ca69d156609f.tar.gz Shaarli-1099d8fcad1844599a365fc03506ca69d156609f.tar.zst Shaarli-1099d8fcad1844599a365fc03506ca69d156609f.zip |
Make ATOM toolbar button optional
* ATOM button display is now configurable using the SHOW_ATOM variable in index.php or data/options.php (defaults to false)
* Fixes https://github.com/shaarli/Shaarli/issues/24
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/page.header.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/page.header.html b/tpl/page.header.html index 37a18f70..654a551d 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html | |||
@@ -16,7 +16,9 @@ | |||
16 | <a href="?do=login">Login</a> | 16 | <a href="?do=login">Login</a> |
17 | {/if} | 17 | {/if} |
18 | <a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a> | 18 | <a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a> |
19 | <a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a> | 19 | {if="$GLOBALS['config']['SHOW_ATOM']"} |
20 | <a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a> | ||
21 | {/if} | ||
20 | <a href="?do=tagcloud">Tag cloud</a> | 22 | <a href="?do=tagcloud">Tag cloud</a> |
21 | <a href="?do=picwall{$searchcrits}">Picture wall</a> | 23 | <a href="?do=picwall{$searchcrits}">Picture wall</a> |
22 | <a href="?do=daily">Daily</a> | 24 | <a href="?do=daily">Daily</a> |