From 0be4835e8be5b89780864c823afa2d76014e06db Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 22 Aug 2009 14:01:10 +0000 Subject: moved admin page to the new pages directory --- admin.php | 24 ------------------------ pages/admin.php | 24 ++++++++++++++++++++++++ start.php | 2 +- views/default/admin/tidypics.php | 4 ++-- 4 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 admin.php create mode 100644 pages/admin.php diff --git a/admin.php b/admin.php deleted file mode 100644 index e881c5ecd..000000000 --- a/admin.php +++ /dev/null @@ -1,24 +0,0 @@ - $tab)); - - page_draw(elgg_echo('tidypics:administration'), elgg_view_layout("two_column_left_sidebar", '', $body)); - -?> \ No newline at end of file diff --git a/pages/admin.php b/pages/admin.php new file mode 100644 index 000000000..2cebc3a28 --- /dev/null +++ b/pages/admin.php @@ -0,0 +1,24 @@ + $tab)); + + page_draw(elgg_echo('tidypics:administration'), elgg_view_layout("two_column_left_sidebar", '', $body)); + +?> \ No newline at end of file diff --git a/start.php b/start.php index d88f7497a..0f73694d3 100644 --- a/start.php +++ b/start.php @@ -208,7 +208,7 @@ { global $CONFIG; if (get_context() == 'admin' && isadminloggedin()) { - add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "mod/tidypics/admin.php"); + add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "mod/tidypics/pages/admin.php"); } } diff --git a/views/default/admin/tidypics.php b/views/default/admin/tidypics.php index 66bfc29d9..bef2da389 100644 --- a/views/default/admin/tidypics.php +++ b/views/default/admin/tidypics.php @@ -19,8 +19,8 @@
    -
  • >
  • -
  • >
  • +
  • >
  • +
  • >