diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-23 00:30:17 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-23 00:30:17 +0000 |
commit | d4139ca10963001c830a72c0f70f2c2dd8edec57 (patch) | |
tree | d54a6124382dfd26922fe929672aec35d37f8ca6 /mod/developers/start.php | |
parent | 027012acf87be84bee8e02b0c8080c6b4f1baecc (diff) | |
download | elgg-d4139ca10963001c830a72c0f70f2c2dd8edec57.tar.gz elgg-d4139ca10963001c830a72c0f70f2c2dd8edec57.tar.bz2 |
Fixes #3042: Theme preview navs now match css/elements/*. Also did a major cleanup of the presentation.
git-svn-id: http://code.elgg.org/elgg/trunk@9019 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/start.php')
-rw-r--r-- | mod/developers/start.php | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php index dc8e6f66e..c05432e30 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -45,13 +45,14 @@ function developers_theme_preview_controller($page) { } $pages = array( - 'general', - 'navigation', + 'buttons', + 'components', 'forms', - 'objects', 'grid', - 'widgets', 'icons', + 'modules', + 'navigation', + 'typography', ); foreach ($pages as $page_name) { @@ -65,5 +66,10 @@ function developers_theme_preview_controller($page) { $title = elgg_echo("theme_preview:{$page[0]}"); $body = elgg_view("theme_preview/{$page[0]}"); - echo elgg_view_page($title, $body, 'theme_preview'); + $layout = elgg_view_layout('one_sidebar', array( + 'title' => $title, + 'content' => $body, + )); + + echo elgg_view_page($title, $layout, 'theme_preview'); } |