aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-09 22:54:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-09 22:54:09 +0000
commit42cbb59a4cbfd881383ef7ecc9f5447afda8c466 (patch)
tree51a738a70d511dd227740f4a905313f880086aba /mod/developers/views/default/theme_preview
parent6fbacea7340b0739c23be0a7d073782c64eee78d (diff)
downloadelgg-42cbb59a4cbfd881383ef7ecc9f5447afda8c466.tar.gz
elgg-42cbb59a4cbfd881383ef7ecc9f5447afda8c466.tar.bz2
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
Diffstat (limited to 'mod/developers/views/default/theme_preview')
-rw-r--r--mod/developers/views/default/theme_preview/general.php22
1 files changed, 22 insertions, 0 deletions
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 @@
+<?php
+/**
+ * Quick introduction to the theme preview
+ *
+ * @todo links to resources?
+ */
+?>
+
+<p>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).
+</p>
+<p>
+<?php
+ echo elgg_view('output/url', array(
+ 'text' => elgg_echo('theme_preview:breakout'),
+ 'href' => current_page_url(),
+ 'target' => '_parent',
+ ));
+?>
+</p>