diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 23:18:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 23:18:43 +0000 |
commit | 0b5a24d7943c6f8bc275d1160f4060b337a3cf7a (patch) | |
tree | 105769cfd0c1d29c75fe368b989c5380536aa40a /engine/lib | |
parent | 09d08af9814a4edfb2050cdb47ad8ae20a944472 (diff) | |
download | elgg-0b5a24d7943c6f8bc275d1160f4060b337a3cf7a.tar.gz elgg-0b5a24d7943c6f8bc275d1160f4060b337a3cf7a.tar.bz2 |
continuing to slash and burn the profile plugin - moving the admin profile fields into core - last major change
git-svn-id: http://code.elgg.org/elgg/trunk@7673 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/admin.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index a5f7e1f88..0a2158d45 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -126,6 +126,11 @@ function admin_init() { elgg_register_action('admin/plugins/simple_update_states', '', 'admin'); + elgg_register_action('profile/fields/reset', '', 'admin'); + elgg_register_action('profile/fields/add', '', 'admin'); + elgg_register_action('profile/fields/delete', '', 'admin'); + elgg_register_action('profile/fields/reorder', '', 'admin'); + // admin area overview and basic site settings elgg_add_admin_submenu_item('overview', elgg_echo('admin:overview')); @@ -153,6 +158,9 @@ function admin_init() { // handled in the admin sidemenu so we don't have to generate this on every page load. //elgg_add_admin_submenu_item('plugin_settings', elgg_echo('admin:plugin_settings')); + // default profile fields admin item + elgg_add_admin_submenu_item('profile_fields', elgg_echo('admin:profile:fields'), 'appearance'); + register_page_handler('admin', 'admin_settings_page_handler'); } |