From: Cash Costello Date: Sat, 22 Aug 2009 14:01:10 +0000 (+0000) Subject: moved admin page to the new pages directory X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0be4835e8be5b89780864c823afa2d76014e06db;p=lorea%2Felgg.git moved admin page to the new pages directory --- diff --git a/admin.php b/pages/admin.php similarity index 84% rename from admin.php rename to pages/admin.php index e881c5ecd..2cebc3a28 100644 --- a/admin.php +++ b/pages/admin.php @@ -5,7 +5,7 @@ * *******************************************************************/ - include_once dirname(dirname(dirname(__FILE__))) . "/engine/start.php"; + include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"; global $CONFIG; 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 @@
    -
  • >
  • -
  • >
  • +
  • >
  • +
  • >