]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/page.header.html
Make ATOM toolbar button optional
[github/shaarli/Shaarli.git] / tpl / page.header.html
index 37a18f70026a340c56df14ba0b3dc2b007b2b1f2..654a551d5887221442e8021c1285a9ed2d17efa1 100644 (file)
@@ -16,7 +16,9 @@
         <a href="?do=login">Login</a>
     {/if}
     <a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a>
-    <a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a>
+    {if="$GLOBALS['config']['SHOW_ATOM']"}
+        <a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a>
+    {/if}
     <a href="?do=tagcloud">Tag cloud</a>
     <a href="?do=picwall{$searchcrits}">Picture wall</a>
     <a href="?do=daily">Daily</a>