aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/appearance/profile_fields.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 /views/default/admin/appearance/profile_fields.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 'views/default/admin/appearance/profile_fields.php')
-rw-r--r--views/default/admin/appearance/profile_fields.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/views/default/admin/appearance/profile_fields.php b/views/default/admin/appearance/profile_fields.php
new file mode 100644
index 000000000..f20bbaeb6
--- /dev/null
+++ b/views/default/admin/appearance/profile_fields.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Admin area: edit default profile fields
+ */
+
+$title = elgg_view_title(elgg_echo('admin:profile:fields'));
+
+$add = elgg_view_form('profile/fields/add', array(), array());
+$list = elgg_view('admin/appearance/profile_fields/list');
+$reset = elgg_view_form('profile/fields/reset', array(), array());
+
+$body = <<<__HTML
+$title
+$add
+$list
+<div class="default_profile_reset">
+ $reset
+</div>
+__HTML;
+
+echo $body;