web: add login tab to primary menu for anonymous users
This commit is contained in:
parent
12eefe80a7
commit
dad3156997
|
@ -15,7 +15,7 @@
|
|||
<?php if ($site_slogan) { ?><div class="site-slogan"><?php print $site_slogan ?></div><?php } ?>
|
||||
</div>
|
||||
<div id="navigation">
|
||||
<?php if (isset($primary_links)) { ?><div id="primary"><?php print theme('links', $primary_links) ?></div><?php } ?>
|
||||
<?php if (isset($primary_links)) { ?><div id="primary"><?php if (!($logged_in)) $primary_links['menu-1000'] = array('attributes' => array('title' => ''), 'href' => 'user', 'title' => 'log in'); print theme('links', $primary_links) ?></div><?php } ?>
|
||||
<?php if (isset($secondary_links)) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?>
|
||||
</div>
|
||||
<!-- <div> ?php print $search_box ? </div> -->
|
||||
|
|
Loading…
Reference in New Issue