aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/developers/start.php')
-rw-r--r--mod/developers/start.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php
index 5763d5d34..e8e2b8506 100644
--- a/mod/developers/start.php
+++ b/mod/developers/start.php
@@ -34,8 +34,16 @@ function developers_theme_preview_controller($page) {
$page[0] = 'index';
}
+ $pages = array('general', 'nav', 'forms', 'objects', 'grid', 'widgets', 'icons');
+
+ elgg_set_config('tp_ipsum', "Sed scelerisque sagittis lorem. Phasellus sodales.
+ Nulla urna justo, vehicula in, suscipit nec, molestie sed, tellus.");
+
$title = elgg_echo("theme_preview:{$page[0]}");
- $page = elgg_view("theme_preview/{$page[0]}");
+ $page = elgg_view("theme_preview/{$page[0]}", array(
+ 'pages' => $pages,
+ 'page' => $page[0],
+ ));
echo elgg_view_page($title, $page, 'theme_preview');
-} \ No newline at end of file
+}