aboutsummaryrefslogtreecommitdiff
path: root/mod/developers
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 22:05:49 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-10 22:05:49 +0000
commitadae1958a95d7e801de91d673e927cac348236d9 (patch)
treedeb60ecca44c95abc5301b0d64bcd08585e85798 /mod/developers
parentea14bfe87eda3af8e8002c64ad909cf592d7fe76 (diff)
downloadelgg-adae1958a95d7e801de91d673e927cac348236d9.tar.gz
elgg-adae1958a95d7e801de91d673e927cac348236d9.tar.bz2
Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from most urls in core and plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers')
-rw-r--r--mod/developers/start.php4
-rw-r--r--mod/developers/views/default/admin/developers/preview.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php
index 8f437e317..ff33f3e91 100644
--- a/mod/developers/start.php
+++ b/mod/developers/start.php
@@ -31,7 +31,7 @@ function developers_setup_menu() {
*/
function developers_theme_preview_controller($page) {
if (!isset($page[0])) {
- forward('pg/theme_preview/general');
+ forward('theme_preview/general');
}
$pages = array(
@@ -48,7 +48,7 @@ function developers_theme_preview_controller($page) {
elgg_register_menu_item('page', array(
'name' => $page_name,
'text' => elgg_echo("theme_preview:$page_name"),
- 'href' => "pg/theme_preview/$page_name",
+ 'href' => "theme_preview/$page_name",
));
}
diff --git a/mod/developers/views/default/admin/developers/preview.php b/mod/developers/views/default/admin/developers/preview.php
index 3d16e5a42..920047d98 100644
--- a/mod/developers/views/default/admin/developers/preview.php
+++ b/mod/developers/views/default/admin/developers/preview.php
@@ -3,6 +3,6 @@
* CSS Preview
*/
-$url = elgg_get_site_url() . 'pg/theme_preview/';
+$url = elgg_get_site_url() . 'theme_preview';
?>
<iframe id="developers-iframe" src="<?php echo $url; ?>"></iframe> \ No newline at end of file