aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-22 14:01:10 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-22 14:01:10 +0000
commit0be4835e8be5b89780864c823afa2d76014e06db (patch)
tree53408aa4a7f5164bfa09cedabf3ca5e7c8cb2631
parent01fc3cf102395a8eb43e507bc0eea4efca83aa2e (diff)
downloadelgg-0be4835e8be5b89780864c823afa2d76014e06db.tar.gz
elgg-0be4835e8be5b89780864c823afa2d76014e06db.tar.bz2
moved admin page to the new pages directory
-rw-r--r--pages/admin.php (renamed from admin.php)2
-rw-r--r--start.php2
-rw-r--r--views/default/admin/tidypics.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/admin.php b/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 @@
<div class="contentWrapper">
<div id="elgg_horizontal_tabbed_nav">
<ul>
- <li <?php echo $settingsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/admin.php?tab=settings'; ?>"><?php echo elgg_echo('tidypics:settings'); ?></a></li>
- <li <?php echo $statsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/admin.php?tab=stats'; ?>"><?php echo elgg_echo('tidypics:stats'); ?></a></li>
+ <li <?php echo $settingsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=settings'; ?>"><?php echo elgg_echo('tidypics:settings'); ?></a></li>
+ <li <?php echo $statsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=stats'; ?>"><?php echo elgg_echo('tidypics:stats'); ?></a></li>
</ul>
</div>
<?php