diff options
Diffstat (limited to 'templates/admin_menu.inc')
-rw-r--r-- | templates/admin_menu.inc | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/templates/admin_menu.inc b/templates/admin_menu.inc deleted file mode 100644 index f87d85eb..00000000 --- a/templates/admin_menu.inc +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/* - - Copyright (c) 2001 - 2005 Ampache.org - All rights reserved. - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -*/ - -/* - - @header - A template file - -*/ - -$web_path = conf('web_path'); - -$items = array( - _("Users") => "$web_path/admin/users.php", - _("Mail Users") => "$web_path/admin/mail.php", - _("Catalog") => "$web_path/admin/catalog.php", - _("Admin Preferences") => "$web_path/admin/preferences.php", - _("Access Lists") => "$web_path/admin/access.php" - ); - -?> -<ul id="adminmenu"> - - <?php - foreach ( array_keys($items) as $item ) { - if ( _($admin_highlight) == $item ) { - echo "<li class=\"active\"><a class=\"active\" href=\"$items[$item]\">" . $item . "</a></li>\n"; - } - else { - echo "<li><a href=\"$items[$item]\">" . $item . "</a></li>\n"; - } - } - - ?> -</ul> -<br /> |