From b8de14af2c91eb50b62e352a5a66ee3ee474d7a0 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 19 Nov 2009 11:55:07 -0800 Subject: Moved most path and server settings to a new paths admin panel --- lib/adminpanelaction.php | 3 +++ lib/router.php | 2 ++ 2 files changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/adminpanelaction.php b/lib/adminpanelaction.php index e0c253ccf..89a129db1 100644 --- a/lib/adminpanelaction.php +++ b/lib/adminpanelaction.php @@ -302,6 +302,9 @@ class AdminPanelNav extends Widget $this->out->menuItem(common_local_url('designadminpanel'), _('Design'), _('Design configuration'), $action_name == 'designadminpanel', 'nav_design_admin_panel'); + $this->out->menuItem(common_local_url('pathsadminpanel'), _('Paths'), + _('Paths configuration'), $action_name == 'pathsadminpanel', 'nav_design_admin_panel'); + Event::handle('EndAdminPanelNav', array($this)); } $this->action->elementEnd('ul'); diff --git a/lib/router.php b/lib/router.php index 9629267ac..ceb32aaa7 100644 --- a/lib/router.php +++ b/lib/router.php @@ -590,6 +590,8 @@ class Router $m->connect('admin/site', array('action' => 'siteadminpanel')); $m->connect('admin/design', array('action' => 'designadminpanel')); + $m->connect('admin/paths', array('action' => 'pathsadminpanel')); + $m->connect('getfile/:filename', array('action' => 'getfile'), -- cgit v1.2.3-54-g00ecf