diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-02-09 10:24:59 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-02-09 10:24:59 -0800 |
commit | 65f6184aec8f6c6e5d053d4cb0e0925b9f536570 (patch) | |
tree | d043143aec596595303bd83f32c97ce9681e8d6f /start.php | |
parent | 4e593af0c167b0ec48799f569dced56058e5e8aa (diff) | |
download | elgg-65f6184aec8f6c6e5d053d4cb0e0925b9f536570.tar.gz elgg-65f6184aec8f6c6e5d053d4cb0e0925b9f536570.tar.bz2 |
Using tabs for admin pages.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -48,10 +48,8 @@ function tidypics_init() { // Add photos link to owner block/hover menus elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'tidypics_owner_block_menu'); - // Add admin menu items + // Add admin menu item elgg_register_admin_menu_item('configure', 'tidypics', 'settings'); - elgg_register_admin_menu_item('administer', 'tidypics', 'statistics'); - elgg_register_admin_menu_item('administer', 'tidypics_tools', 'administer_utilities'); // Register for search elgg_register_entity_type('object', 'image'); @@ -107,6 +105,7 @@ function tidypics_init() { //register_action("tidypics/deletetag", false, "$base_dir/deletetag.php"); elgg_register_action("photos/admin/settings", "$base_dir/admin/settings.php", 'admin'); + elgg_register_action("photos/admin/create_thumbnails", "$base_dir/admin/create_thumbnails.php", 'admin'); elgg_register_action("photos/admin/upgrade", "$base_dir/admin/upgrade.php", 'admin'); // Register libraries |