Skip to content
Snippets Groups Projects
Commit c5586819 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Add logout link to navigation and in the footer

parent 0a02b7ff
No related branches found
No related tags found
No related merge requests found
......@@ -14,12 +14,7 @@
<?php
if (isloggedin()) {
?>
<div id="elgg_topbar">
<div id="elgg_topbar_container_left">
<div class="toolbarlinks" id="mobile_navigation">
<div id="mobile_navigation">
<h2>Planet Red Mobile Navigation</h2>
<ul>
<li><a href="<?php echo $vars['url']; ?>pg/dashboard/?view=mobile" class="pagelinks"><?php echo elgg_echo('Home'); ?></a></li>
......@@ -40,20 +35,15 @@
?>
<li><a href="<?php echo $vars['url']; ?>pg/messages/inbox?view=mobile" class="pagelinks"><?php echo elgg_echo('Inbox'); ?> (<?php echo $num; ?>)</a></li>
<?php }?>
<li><a href="<?php echo $vars['url']; ?>action/logout" class="pagelinks"><?php echo elgg_echo('logout'); ?></a></li>
</ul>
</div>
</div>
</div><!-- /#elgg_topbar -->
<div class="clearfloat"></div>
<?php
}
\ No newline at end of file
......@@ -14,8 +14,7 @@
//header("Content-type: text/html; charset=UTF-8");
ini_set('display_errors', true);
error_reporting(E_ALL);
......@@ -66,6 +65,8 @@ Planet Red Mobile &copy; 2010 University of Nebraska&ndash;Lincoln
<!-- footer -->
END;
$page->maincontentarea .= elgg_view('page_elements/footer', $vars);
//$page->footercontent = elgg_view('page_elements/footer', $vars);
echo $page;
......
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