From d4139ca10963001c830a72c0f70f2c2dd8edec57 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 23 Apr 2011 00:30:17 +0000 Subject: 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 --- mod/developers/start.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'mod/developers/start.php') 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'); } -- cgit v1.2.3