diff options
Diffstat (limited to 'mod/developers')
-rw-r--r-- | mod/developers/languages/en.php | 9 | ||||
-rw-r--r-- | mod/developers/start.php | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mod/developers/languages/en.php b/mod/developers/languages/en.php index 644acfb5f..bd16a8c61 100644 --- a/mod/developers/languages/en.php +++ b/mod/developers/languages/en.php @@ -9,6 +9,15 @@ $english = array( 'admin:developers' => 'Developers', 'admin:developers:settings' => 'Settings', 'admin:developers:preview' => 'CSS Preview', + + // settings + 'developers:label:simple_cache' => '', + 'developers:help:simple_cache' => '', + 'developers:label:views_cache' => '', + 'developers:help:views_cache' => '', + 'developers:label:' => '', + 'developers:help:' => '', + ); add_translation('en', $english); diff --git a/mod/developers/start.php b/mod/developers/start.php index ba84c3234..04c83bdde 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -6,8 +6,10 @@ elgg_register_event_handler('init', 'system', 'developers_init'); function developers_init() { - elgg_register_event_handler('pagesetup', 'system', 'developers_setup_menu'); + + $action_base = elgg_get_plugin_path() . 'developers/actions/developers'; + elgg_register_action('developers/settings', "$action_base/settings.php", 'admin'); } function developers_setup_menu() { |