Commit 1a917831 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Added page editor to admin nav bar

parent d0ed91f4
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
define('INTERNAL',1); define('INTERNAL',1);
define('ADMIN', 1); define('ADMIN', 1);
define('MENUITEM','pageeditor');
require(dirname(dirname(__FILE__)).'/init.php'); require(dirname(dirname(__FILE__)).'/init.php');
require_once('form.php'); require_once('form.php');
......
...@@ -744,7 +744,12 @@ function admin_nav() { ...@@ -744,7 +744,12 @@ function admin_nav() {
), ),
), ),
array( array(
'name' => 'siteeditor', 'name' => 'pageeditor',
'section' => 'admin',
'link' => $wwwroot . 'admin/editsitepage.php',
),
array(
'name' => 'menueditor',
'section' => 'admin', 'section' => 'admin',
'link' => $wwwroot . 'admin/todo', 'link' => $wwwroot . 'admin/todo',
), ),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment