]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3864 updated the two form bodies for edit profile fields
authorcash <cash.costello@gmail.com>
Sat, 24 Sep 2011 20:08:04 +0000 (16:08 -0400)
committercash <cash.costello@gmail.com>
Sat, 24 Sep 2011 20:08:04 +0000 (16:08 -0400)
views/default/admin/appearance/profile_fields.php
views/default/forms/profile/fields/add.php
views/default/forms/profile/fields/reset.php

index 7077687ccbf98a8cf340cd39689ca0bfd41e7cbc..8371ce83c2e6d72c91ff4521033581fc0e2c556d 100644 (file)
@@ -10,9 +10,7 @@ $reset = elgg_view_form('profile/fields/reset', array(), array());
 $body = <<<__HTML
 $add
 $list
-<div class="default_profile_reset">
-       $reset
-</div>
+$reset
 __HTML;
 
 echo $body;
index 7961037e632936364624ca42c8c3050135b7e473..c1d07d2ce260430e1072f077edffd61b28c3b42c 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 /**
- * Elgg profile index
- * 
- * @package ElggProfile
+ * Add a new field to the set of custom profile fields
  */
 
 $label_text = elgg_echo('profile:label');
@@ -20,9 +18,9 @@ $type_control = elgg_view('input/dropdown', array('name' => 'type', 'options_val
 $submit_control = elgg_view('input/submit', array('name' => elgg_echo('add'), 'value' => elgg_echo('add')));
 
 $formbody = <<< END
-               <p>$label_text: $label_control
+               <div class="elgg-foot">$label_text: $label_control
                $type_text: $type_control
-               $submit_control</p>
+               $submit_control</div>
 END;
 
 echo autop(elgg_echo('profile:explainchangefields'));
index 4e0f51dc6b8b7dd3540aa4bcade9e6358d482298..c0bb1b7f440eb7fa637f4c1603bdf8ffa379b3a4 100644 (file)
@@ -3,8 +3,10 @@
  * Reset profile fields form
  */
 
+echo '<div class="elgg-foot">';
 $params = array(
        'value' => elgg_echo('profile:resetdefault'),
        'class' => 'elgg-button-cancel',
 );
 echo elgg_view('input/submit', $params);
+echo '</div>';