Skip to content
Snippets Groups Projects
Commit e2923a8f authored by Anthony Bretaudeau's avatar Anthony Bretaudeau
Browse files

hide login link when logged

parent d6ba39c6
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,9 @@ ...@@ -197,7 +197,9 @@
<div class="widget-area masonry" style="position: relative; height: 250px;"> <div class="widget-area masonry" style="position: relative; height: 250px;">
<aside id="meta-2" class="widget widget_meta masonry-brick" style="position: absolute; left: 248px; top: 0px;"><h3 class="widget-title">Links</h3> <ul> <aside id="meta-2" class="widget widget_meta masonry-brick" style="position: absolute; left: 248px; top: 0px;"><h3 class="widget-title">Links</h3> <ul>
<li><a href="<?php echo $GLOBALS['base_url']."/user" ?>">Log in</a></li> <?php if (!$logged_in): ?>
<li><a href="<?php echo $GLOBALS['base_url']."/user" ?>">Log in</a></li>
<?php endif; ?>
<li><a href="<?php echo $GLOBALS['base_url']."/rss.xml" ?>">Content <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="<?php echo $GLOBALS['base_url']."/rss.xml" ?>">Content <abbr title="Really Simple Syndication">RSS</abbr></a></li>
<li><a href="https://bipaa.genouest.org/">BIPAA website</a></li> <li><a href="https://bipaa.genouest.org/">BIPAA website</a></li>
</aside> </aside>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment