aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 18:28:47 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 18:28:47 +0000
commitabea818df6ae3d429a87a2d195ed0eb1b4ea65f4 (patch)
tree8c65b15474a5333454d49b178a83eb9f62aab089
parent34f4b9063e6ad2b682f1ea650c928c3fc6c568c9 (diff)
downloadelgg-abea818df6ae3d429a87a2d195ed0eb1b4ea65f4.tar.gz
elgg-abea818df6ae3d429a87a2d195ed0eb1b4ea65f4.tar.bz2
Reordered the top toolbar items.
git-svn-id: http://code.elgg.org/elgg/trunk@5482 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/page_elements/elgg_topbar.php30
1 files changed, 14 insertions, 16 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index 240cd0465..327326c99 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -26,34 +26,32 @@
<div class="log_out">
<?php echo elgg_view('output/url', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout'), 'is_action' => TRUE)); ?>
</div>
+
+ <a href="<?php echo $vars['url']; ?>pg/settings/" class="settings"><?php echo elgg_echo('settings'); ?></a>
<?php
- if(is_plugin_enabled('shared_access')){
- ?>
- <a href="<?php echo $vars['url']; ?>pg/shared_access/home" class="shared_access"><?php echo elgg_echo('shared_access:shared_access'); ?></a>
- <?php
- }
+ // The administration link is for admin or site admin users only
+ if ($vars['user']->admin || $vars['user']->siteadmin) {
?>
- <a href="<?php echo $vars['url']; ?>pg/settings/" class="settings"><?php echo elgg_echo('settings'); ?></a>
+ <a href="<?php echo $vars['url']; ?>pg/admin/" class="admin"><?php echo elgg_echo("admin"); ?></a>
+
<?php
- if(is_plugin_enabled('help')){
+ }
+
+ if(is_plugin_enabled('help')){
?>
<a href="<?php echo $vars['url']; ?>mod/help/index.php" class="help">Help</a>
<?php
- }
- ?>
- <?php
- // The administration link is for admin or site admin users only
- if ($vars['user']->admin || $vars['user']->siteadmin) {
- ?>
- <a href="<?php echo $vars['url']; ?>pg/admin/" class="admin"><?php echo elgg_echo("admin"); ?></a>
+ }
+ if(is_plugin_enabled('shared_access')){
+ ?>
+ <a href="<?php echo $vars['url']; ?>pg/shared_access/home" class="shared_access"><?php echo elgg_echo('shared_access:shared_access'); ?></a>
<?php
- }
+ }
?>
</div>
-
</div>
<?php
}