summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-19 11:55:07 -0800
committerZach Copley <zach@status.net>2009-11-19 11:55:07 -0800
commitb8de14af2c91eb50b62e352a5a66ee3ee474d7a0 (patch)
tree86acc378f9bea557f6e8ac0ee6c025f3ad33ed91 /lib
parent640bb39891c7e36886ff0cc3b2599e75f9c691be (diff)
Moved most path and server settings to a new paths admin panel
Diffstat (limited to 'lib')
-rw-r--r--lib/adminpanelaction.php3
-rw-r--r--lib/router.php2
2 files changed, 5 insertions, 0 deletions
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'),