diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-09-18 13:49:21 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-09-18 13:49:21 -0400 |
commit | 9af2f5496a5a0a76639ca56e931e7aee0e02c50c (patch) | |
tree | 8a8dc7d0b5e1973991122393b1b021dc1b9fb41f /mod/developers/views/default/admin/develop_tools | |
parent | ee0fd055fab86ca205c048aa4490d3fd2e499bed (diff) | |
download | elgg-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.php | 14 | ||||
-rw-r--r-- | mod/developers/views/default/admin/develop_tools/preview.php | 8 |
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 |