aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/navigation/topmenu.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/views/default/navigation/topmenu.php b/views/default/navigation/topmenu.php
deleted file mode 100644
index 40793c546..000000000
--- a/views/default/navigation/topmenu.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-
- /**
- * Elgg standard top level menu
- * The standard user top level navigation; dashboard, profile, account, logout
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- *
- */
-
-?>
-
-<?php
- if (isloggedin()) {
-?>
-<div id="topmenu">
-<?php
- echo elgg_view("profile/icon",array('entity' => $vars['user'], 'size' => 'small'));
-?>
-
-<div id="header_search">
-<form id="searchform" action="<?php echo $vars['url']; ?>search/" method="get">
- <input type="text" size="21" name="tag" value="Search" onclick="if (this.value=='Search') { this.value='' }" class="search_input" />
- <input type="submit" value="Go" class="search_submit_button" />
-</form>
-</div>
-
- <ul>
- <li><a href="<?php echo $vars['url']; ?>pg/dashboard/"><?php echo elgg_echo('dashboard'); ?></a></li>
- <li><a href="<?php echo $vars['url']; ?>pg/settings/"><?php echo elgg_echo('settings'); ?></a></li>
-<?php
-
- // The administration link is for admin or site admin users only
- if ($vars['user']->admin || $vars['user']->siteadmin) {
-
-?>
-
- <li><a href="<?php echo $vars['url']; ?>pg/admin/"><?php echo elgg_echo("admin"); ?></a></li>
-
-<?php
-
- }
-
-?>
- <li><a href="<?php echo $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a></li>
- </ul>
-</div><!-- /#topmenu -->
-<?php
- }
-?> \ No newline at end of file