aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/friends/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:58:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:58:10 +0000
commitc10f7d3cf0aa68d2325199ba787702e125907c11 (patch)
treeae1b1a58936f6b177b27708b7eda46cbfa2fdf87 /views/default/forms/friends/edit.php
parente036de6ceab5f57b0f502b8400ab05e32e96562b (diff)
downloadelgg-c10f7d3cf0aa68d2325199ba787702e125907c11.tar.gz
elgg-c10f7d3cf0aa68d2325199ba787702e125907c11.tar.bz2
Refs #2032 core forms use divs
git-svn-id: http://code.elgg.org/elgg/trunk@8164 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/friends/edit.php')
-rw-r--r--views/default/forms/friends/edit.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/forms/friends/edit.php b/views/default/forms/friends/edit.php
index 3258dae9d..ac817f23a 100644
--- a/views/default/forms/friends/edit.php
+++ b/views/default/forms/friends/edit.php
@@ -24,13 +24,13 @@ if (isset($vars['collection'])) {
}
-$form_body = "<div class='contentWrapper'><p><label>" . elgg_echo("friends:collectionname") . "<br />" .
+$form_body = "<div class='contentWrapper'><div><label>" . elgg_echo("friends:collectionname") . "<br />" .
elgg_view("input/text", array(
"internalname" => "collection_name",
"value" => $title,
- )) . "</label></p>";
+ )) . "</label></div>";
-$form_body .= "<p>";
+$form_body .= "<div>";
if($vars['collection_members']){
$form_body .= elgg_echo("friends:collectionfriends") . "<br />";
@@ -40,16 +40,16 @@ if($vars['collection_members']){
}
}
-$form_body .= "</p>";
+$form_body .= "</div>";
-$form_body .= "<p><label>" . elgg_echo("friends:addfriends") . "</label>".
- elgg_view('core/friends/picker',array('entities' => $vars['friends'], 'internalname' => 'friends_collection', 'highlight' => $highlight)) . "</p>";
+$form_body .= "<div><label>" . elgg_echo("friends:addfriends") . "</label>".
+ elgg_view('core/friends/picker',array('entities' => $vars['friends'], 'internalname' => 'friends_collection', 'highlight' => $highlight)) . "</div>";
-$form_body .= "<p>";
+$form_body .= "<div>";
if (isset($vars['collection'])) {
$form_body .= elgg_view('input/hidden', array('internalname' => 'collection_id', 'value' => "{$vars['collection'][0]->id}"));
}
$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
-$form_body .= "</p></div>";
+$form_body .= "</div></div>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/$action")); \ No newline at end of file