From 42cbb59a4cbfd881383ef7ecc9f5447afda8c466 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 9 Jun 2011 22:54:09 +0000 Subject: Fixes #3394 added a landing page to theme preview and break out of iframe link git-svn-id: http://code.elgg.org/elgg/trunk@9164 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/developers/languages/en.php | 2 ++ .../views/default/theme_preview/general.php | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 mod/developers/views/default/theme_preview/general.php (limited to 'mod') diff --git a/mod/developers/languages/en.php b/mod/developers/languages/en.php index 26deb5fcf..53a9cd686 100644 --- a/mod/developers/languages/en.php +++ b/mod/developers/languages/en.php @@ -27,6 +27,8 @@ $english = array( 'developers:debug:notice' => 'Notice', // theme preview + 'theme_preview:general' => 'Introduction', + 'theme_preview:breakout' => 'Break out of iframe', 'theme_preview:buttons' => 'Buttons', 'theme_preview:components' => 'Components', 'theme_preview:forms' => 'Forms', diff --git a/mod/developers/views/default/theme_preview/general.php b/mod/developers/views/default/theme_preview/general.php new file mode 100644 index 000000000..1a0b54c88 --- /dev/null +++ b/mod/developers/views/default/theme_preview/general.php @@ -0,0 +1,22 @@ + + +

This theme preview provides a visual catalog for many of the theming elements + that Elgg uses. The primary css selector is listed with each theme element. + The preview is divided into sections that are listed in the page menu + (usually in the sidebar but depends on your current theme). +

+

+ elgg_echo('theme_preview:breakout'), + 'href' => current_page_url(), + 'target' => '_parent', + )); +?> +

-- cgit v1.2.3