From f17c0c674f084c48a0b2919ac8fe7136a819859f Mon Sep 17 00:00:00 2001
From: Brett Profitt
Date: Fri, 4 Jan 2013 14:44:55 -0500
Subject: Refs #3617. Added misc section for developer's theme preview.
---
.../views/default/theme_preview/general.php | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
(limited to 'mod/developers/views/default/theme_preview/general.php')
diff --git a/mod/developers/views/default/theme_preview/general.php b/mod/developers/views/default/theme_preview/general.php
index 629462873..7d98d4443 100644
--- a/mod/developers/views/default/theme_preview/general.php
+++ b/mod/developers/views/default/theme_preview/general.php
@@ -11,6 +11,29 @@
The preview is divided into sections that are listed in the page menu
(usually in the sidebar but depends on your current theme).
+ 'Advanced Settings',
+ 'href' => 'admin/settings/advanced',
+ 'is_trusted' => true
+ ));
+ $developers = elgg_view('output/url', array(
+ 'text' => 'Developers\' Plugin Settings',
+ 'href' => 'admin/developers/settings',
+ 'is_trusted' => true
+ ));
+
+ $body = "Caches are enabled. Changes you make to CSS and views might not appear. It is
+ always recommended to disable caches while developing themes and plugins. To
+ disable caches, visit the $advanced or $developers pages.";
+
+ echo elgg_view_module('info', 'Warning', $body);
+}
+?>