From 67d76f09c28d0c6abae6d966f4cc00a5428bdc74 Mon Sep 17 00:00:00 2001 From: xgizzmo Date: Tue, 10 Jan 2006 05:03:18 +0000 Subject: Code clean up --- templates/show_admin_index.inc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'templates/show_admin_index.inc') 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"); ?> - + - +
-- cgit