From 0b5a24d7943c6f8bc275d1160f4060b337a3cf7a Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 18 Dec 2010 23:18:43 +0000 Subject: 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 --- views/default/forms/profile/fields/add.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 views/default/forms/profile/fields/add.php (limited to 'views/default/forms/profile/fields/add.php') diff --git a/views/default/forms/profile/fields/add.php b/views/default/forms/profile/fields/add.php new file mode 100644 index 000000000..50d1600fd --- /dev/null +++ b/views/default/forms/profile/fields/add.php @@ -0,0 +1,29 @@ + 'label')); +$type_control = elgg_view('input/pulldown', array('internalname' => 'type', 'options_values' => array( + 'text' => elgg_echo('text'), + 'longtext' => elgg_echo('longtext'), + 'tags' => elgg_echo('tags'), + 'url' => elgg_echo('url'), + 'email' => elgg_echo('email') +))); + +$submit_control = elgg_view('input/submit', array('internalname' => elgg_echo('add'), 'value' => elgg_echo('add'))); + +$formbody = <<< END +

$label_text: $label_control + $type_text: $type_control + $submit_control

+END; + +echo "

" . elgg_echo('profile:explainchangefields') . "

"; +echo $formbody; -- cgit v1.2.3