aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-18 23:18:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-18 23:18:43 +0000
commit0b5a24d7943c6f8bc275d1160f4060b337a3cf7a (patch)
tree105769cfd0c1d29c75fe368b989c5380536aa40a /engine/lib/admin.php
parent09d08af9814a4edfb2050cdb47ad8ae20a944472 (diff)
downloadelgg-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/admin.php')
-rw-r--r--engine/lib/admin.php8
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');
}