diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 01:30:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 01:30:46 +0000 |
commit | 75efcff5e18fce2d62a69228021d60684e0390c1 (patch) | |
tree | 6e5fcf20a271bbe7906d48961e341edcf46b474e /mod/developers/start.php | |
parent | 0333b2d640de54ddc41962846ade5f055ef0fa7c (diff) | |
download | elgg-75efcff5e18fce2d62a69228021d60684e0390c1.tar.gz elgg-75efcff5e18fce2d62a69228021d60684e0390c1.tar.bz2 |
Refs #2903 navigation updated for theme preview
git-svn-id: http://code.elgg.org/elgg/trunk@8217 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/start.php')
-rw-r--r-- | mod/developers/start.php | 12 |
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 +} |