diff options
author | cash <cash.costello@gmail.com> | 2011-07-02 11:36:53 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-07-02 11:36:53 -0400 |
commit | ae5ad0a65508725871159ffb6a068fcb2084aad7 (patch) | |
tree | 60d01e69b849e96bff64f92189eb79956fe2fa32 /mod/developers/start.php | |
parent | f5f3f205e97c2a3219897dd14de7d57659ce1181 (diff) | |
download | elgg-ae5ad0a65508725871159ffb6a068fcb2084aad7.tar.gz elgg-ae5ad0a65508725871159ffb6a068fcb2084aad7.tar.bz2 |
added the inspect tool to developers tool plugin
Diffstat (limited to 'mod/developers/start.php')
-rw-r--r-- | mod/developers/start.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php index c05432e30..a53b7eec4 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -17,6 +17,13 @@ function developers_init() { $action_base = elgg_get_plugins_path() . 'developers/actions/developers'; elgg_register_action('developers/settings', "$action_base/settings.php", 'admin'); + elgg_register_action('developers/inspect', "$action_base/inspect.php", 'admin'); + + elgg_register_js('jquery.jstree', 'mod/developers/vendors/jsTree/jquery.jstree.js', 'footer'); + elgg_register_css('jquery.jstree', 'mod/developers/vendors/jsTree/themes/default/style.css'); + + elgg_register_js('elgg.dev', 'js/developers/developers.js', 'footer'); + elgg_load_js('elgg.dev'); } function developers_process_settings() { @@ -30,6 +37,7 @@ function developers_process_settings() { function developers_setup_menu() { if (elgg_in_context('admin')) { elgg_register_admin_menu_item('develop', 'settings', 'developers'); + elgg_register_admin_menu_item('develop', 'inspect', 'developers'); elgg_register_admin_menu_item('develop', 'preview', 'developers'); } } |