diff options
Diffstat (limited to 'mod/profile')
-rw-r--r-- | mod/profile/views/default/profile/edit.php | 5 | ||||
-rw-r--r-- | mod/profile/views/default/profile/editdefaultprofile.php | 5 | ||||
-rw-r--r-- | mod/profile/views/default/profile/editicon.php | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/mod/profile/views/default/profile/edit.php b/mod/profile/views/default/profile/edit.php index baa843c8e..7b1f9540a 100644 --- a/mod/profile/views/default/profile/edit.php +++ b/mod/profile/views/default/profile/edit.php @@ -14,7 +14,7 @@ */
?>
-
+<div class="contentWrapper">
<form action="<?php echo $vars['url']; ?>action/profile/edit" method="post">
<?php
@@ -63,4 +63,5 @@ <input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
</p>
-</form>
\ No newline at end of file +</form>
+</div>
\ No newline at end of file diff --git a/mod/profile/views/default/profile/editdefaultprofile.php b/mod/profile/views/default/profile/editdefaultprofile.php index 9b20b02d3..64f8f1074 100644 --- a/mod/profile/views/default/profile/editdefaultprofile.php +++ b/mod/profile/views/default/profile/editdefaultprofile.php @@ -24,12 +24,11 @@ $submit_control = elgg_view('input/submit', array('internalname' => elgg_echo('save'), 'value' => elgg_echo('save'))); $formbody = <<< END - <div> <p>$label_text: $label_control $type_text: $type_control $submit_control</p> - </div> END; - + echo "<div class=\"contentWrapper\">"; echo elgg_view('input/form', array('body' => $formbody, 'action' => $vars['url'] . 'actions/profile/editdefault')); + echo "</div>"; ?>
\ No newline at end of file diff --git a/mod/profile/views/default/profile/editicon.php b/mod/profile/views/default/profile/editicon.php index eb368ee98..bb0eb9a13 100644 --- a/mod/profile/views/default/profile/editicon.php +++ b/mod/profile/views/default/profile/editicon.php @@ -15,6 +15,7 @@ ?>
<!-- grab the required js for icon cropping -->
+<div class="contentWrapper">
<script type="text/javascript" src="<?php echo $vars['url']; ?>mod/profile/views/default/js/jquery.imgareaselect-0.4.2.js"></script>
<p><?php echo elgg_echo('profile:profilepictureinstructions'); ?></p>
@@ -132,3 +133,4 @@ </div>
<div class="clearfloat"></div>
+</div>
|