summaryrefslogtreecommitdiffstats
path: root/templates/show_admin_index.inc
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-10 05:03:18 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-10 05:03:18 +0000
commit67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (patch)
treec52e3c1c1d9bf75de21b2bc812fa34aa78aa10af /templates/show_admin_index.inc
parent883cd9e478cf740f7b6bdd5fa089c4eefda97b7a (diff)
downloadampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.gz
ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.bz2
ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.zip
Code clean up
Diffstat (limited to 'templates/show_admin_index.inc')
-rw-r--r--templates/show_admin_index.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/show_admin_index.inc b/templates/show_admin_index.inc
index 6bb01272..057aa9c1 100644
--- a/templates/show_admin_index.inc
+++ b/templates/show_admin_index.inc
@@ -23,24 +23,24 @@
@header Show Admin Index
@discussion shows the admin index
*/
-
-$sections = array(_("User Management") => conf('web_path') . "/admin/users.php",
- _("E-mail Management") => conf('web_path') . "/admin/mail.php",
- _("Catalog Managment") => conf('web_path') . "/admin/catalog.php",
- _("Admin Preferences") => conf('web_path') . "/admin/preferences.php",
- _("Access Lists") => conf('web_path') . "/admin/access.php");
+$web_path = conf('web_path');
+$sections = array(_("User Management") => $web_path . "/admin/users.php",
+ _("E-mail Management") => $web_path . "/admin/mail.php",
+ _("Catalog Managment") => $web_path . "/admin/catalog.php",
+ _("Admin Preferences") => $web_path . "/admin/preferences.php",
+ _("Access Lists") => $web_path . "/admin/access.php");
-$common = array(_("Add a catalog") => conf('web_path') . "/admin/catalog.php?action=show_add_catalog",
- _("Add a new user") => conf('web_path') . "/admin/users.php?action=show_add_user",
- _("Clear Now Playing") => conf('web_path') . "/admin/catalog.php?action=clear_now_playing",
- _("Add Access List Entry") => conf('web_path') . "/admin/access.php?action=show_add_host");
+$common = array(_("Add a catalog") => $web_path . "/admin/catalog.php?action=show_add_catalog",
+ _("Add a new user") => $web_path . "/admin/users.php?action=show_add_user",
+ _("Clear Now Playing") => $web_path . "/admin/catalog.php?action=clear_now_playing",
+ _("Add Access List Entry") => $web_path . "/admin/access.php?action=show_add_host");
?>
<table cellpadding="5" border="0" cellspacing="0">
<tr>
- <td valign="top"><?php show_tool_box(_("Common Functions"),$common); ?><?php show_clear(); ?></td>
+ <td valign="top"><?php show_tool_box(_("Common Functions"), $common); ?><?php show_clear(); ?></td>
</tr>
<tr>
- <td valign="top"><?php show_tool_box(_("Admin Sections"),$sections); ?></td>
+ <td valign="top"><?php show_tool_box(_("Admin Sections"), $sections); ?></td>
</tr>
</table>