Update header.tpl
Logic changed to: if feed plugin is deactivated, the feed buttons are displayed in the header. It is unlikely that the FlatPress user wants the buttons in the head and in the menu bar to be displayed at the same time. If the FlaPress user uses a different theme, he can still activate the plugin/widget.
This commit is contained in:
parent
f9e3f48192
commit
77261028bc
@ -11,7 +11,7 @@
|
|||||||
<div id="body-container">
|
<div id="body-container">
|
||||||
|
|
||||||
<div id="head">
|
<div id="head">
|
||||||
{if function_exists('plugin_feed_head')}
|
{if not function_exists('plugin_feed_head')}
|
||||||
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:atom" title="{$lang.main.atom}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/atom-white.png" alt="atom-feed"></a>
|
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:atom" title="{$lang.main.atom}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/atom-white.png" alt="atom-feed"></a>
|
||||||
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:rss2" title="{$lang.main.rss}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/rss-white.png" alt="rss-feed"></a>
|
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:rss2" title="{$lang.main.rss}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/rss-white.png" alt="rss-feed"></a>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user