aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 22:36:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 22:36:24 +0000
commit9474ca2207b64ec9fddfa0f20e9ae9bb671b2f98 (patch)
tree26b64285abf34574225daef81414660ec0c94570
parentc80487eb37d735f83e25c5cb86e504e2e4b66b76 (diff)
downloadelgg-9474ca2207b64ec9fddfa0f20e9ae9bb671b2f98.tar.gz
elgg-9474ca2207b64ec9fddfa0f20e9ae9bb671b2f98.tar.bz2
Fixes #3106 putting external pages under appearance - no better place
git-svn-id: http://code.elgg.org/elgg/trunk@8858 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/externalpages/languages/en.php4
-rw-r--r--mod/externalpages/start.php2
-rw-r--r--mod/externalpages/views/default/admin/appearance/expages.php (renamed from mod/externalpages/views/default/admin/site/expages.php)0
-rw-r--r--mod/externalpages/views/default/expages/menu.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/externalpages/languages/en.php b/mod/externalpages/languages/en.php
index 1c80d5f3f..196a04c0b 100644
--- a/mod/externalpages/languages/en.php
+++ b/mod/externalpages/languages/en.php
@@ -8,8 +8,8 @@ $english = array(
/**
* Menu items and titles
*/
- 'expages' => "External pages",
- 'admin:site:expages' => "External pages",
+ 'expages' => "Site pages",
+ 'admin:appearance:expages' => "Site pages",
'expages:about' => "About",
'expages:terms' => "Terms",
'expages:privacy' => "Privacy",
diff --git a/mod/externalpages/start.php b/mod/externalpages/start.php
index 9ec7c174e..97df4fb5b 100644
--- a/mod/externalpages/start.php
+++ b/mod/externalpages/start.php
@@ -11,7 +11,7 @@ function expages_init() {
elgg_register_page_handler('expages', 'expages_page_handler');
// add a menu item for the admin edit page
- elgg_register_admin_menu_item('configure', 'expages', 'site');
+ elgg_register_admin_menu_item('configure', 'expages', 'appearance');
// add footer links
expages_setup_footer_menu();
diff --git a/mod/externalpages/views/default/admin/site/expages.php b/mod/externalpages/views/default/admin/appearance/expages.php
index b30765089..b30765089 100644
--- a/mod/externalpages/views/default/admin/site/expages.php
+++ b/mod/externalpages/views/default/admin/appearance/expages.php
diff --git a/mod/externalpages/views/default/expages/menu.php b/mod/externalpages/views/default/expages/menu.php
index caa04917e..846db076f 100644
--- a/mod/externalpages/views/default/expages/menu.php
+++ b/mod/externalpages/views/default/expages/menu.php
@@ -15,7 +15,7 @@ $tabs = array();
foreach ($pages as $page) {
$tabs[] = array(
'title' => elgg_echo("expages:$page"),
- 'url' => "admin/site/expages?type=$page",
+ 'url' => "admin/appearance/expages?type=$page",
'selected' => $page == $type,
);
}