diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:35:21 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:35:21 +0000 |
commit | 20a4674292512641f400e59bab59180082a7894b (patch) | |
tree | 73f340d7a290df093f3a860ccd05df5fc0b478c5 /mod/profile/views/default | |
parent | 9f831e2f099603815dad8e3e6f8e5cfcbd0d3941 (diff) | |
download | elgg-20a4674292512641f400e59bab59180082a7894b.tar.gz elgg-20a4674292512641f400e59bab59180082a7894b.tar.bz2 |
profile edit link moved
git-svn-id: https://code.elgg.org/elgg/trunk@1369 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 28 |
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 --> |