aboutsummaryrefslogtreecommitdiff
path: root/mod/developers
diff options
context:
space:
mode:
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