aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/userdetails.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php
index e17104d22..de9169922 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -57,6 +57,20 @@
<div id="profile_info_column_right" >
+ <?php
+
+ if ($vars['entity']->canEdit()) {
+
+ ?>
+ <p class="profile_info_edit_buttons">
+ <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("edit"); ?></a>
+ </p>
+ <?php
+
+ }
+
+ ?>
+
<?php
// display the users name
@@ -109,20 +123,6 @@
<div id="profile_info_wide">
<p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo nl2br($vars['entity']->description); ?></p>
-<?php
-
- if ($vars['entity']->canEdit()) {
-
-?>
- <p class="profile_info_edit_buttons">
- <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("edit"); ?></a>
-
-<?php
-
- }
-
-?>
-</p>
</div><!-- /#profile_info_wide -->
</div><!-- /#profile_info -->