aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/admin/develop_tools
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-18 13:49:21 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-18 13:49:21 -0400
commit9af2f5496a5a0a76639ca56e931e7aee0e02c50c (patch)
tree8a8dc7d0b5e1973991122393b1b021dc1b9fb41f /mod/developers/views/default/admin/develop_tools
parentee0fd055fab86ca205c048aa4490d3fd2e499bed (diff)
downloadelgg-9af2f5496a5a0a76639ca56e931e7aee0e02c50c.tar.gz
elgg-9af2f5496a5a0a76639ca56e931e7aee0e02c50c.tar.bz2
Fixes #3721 reorganized the developer tools menu items in the admin area
Diffstat (limited to 'mod/developers/views/default/admin/develop_tools')
-rw-r--r--mod/developers/views/default/admin/develop_tools/inspect.php14
-rw-r--r--mod/developers/views/default/admin/develop_tools/preview.php8
2 files changed, 22 insertions, 0 deletions
diff --git a/mod/developers/views/default/admin/develop_tools/inspect.php b/mod/developers/views/default/admin/develop_tools/inspect.php
new file mode 100644
index 000000000..cfa3de2ea
--- /dev/null
+++ b/mod/developers/views/default/admin/develop_tools/inspect.php
@@ -0,0 +1,14 @@
+<?php
+/**
+* Inspect View
+*
+* Inspect global variables of Elgg
+*/
+
+elgg_load_js('jquery.jstree');
+elgg_load_css('jquery.jstree');
+
+echo elgg_view_form('developers/inspect', array('class' => 'developers-form-inspect'));
+
+echo '<div id="developers-inspect-results"></div>';
+echo elgg_view('graphics/ajax_loader', array('id' => 'developers-ajax-loader'));
diff --git a/mod/developers/views/default/admin/develop_tools/preview.php b/mod/developers/views/default/admin/develop_tools/preview.php
new file mode 100644
index 000000000..920047d98
--- /dev/null
+++ b/mod/developers/views/default/admin/develop_tools/preview.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * CSS Preview
+ */
+
+$url = elgg_get_site_url() . 'theme_preview';
+?>
+<iframe id="developers-iframe" src="<?php echo $url; ?>"></iframe> \ No newline at end of file