diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 21:21:20 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 21:21:20 +0000 |
commit | 7e6e58f8b1da4c1a94c7c933d98ead1879658d58 (patch) | |
tree | cb84b9479c46a63544123ae0725ec98b188bda83 /mod/profile/views/default | |
parent | 16f51169d2db7126687b5078864cd822058ff1c3 (diff) | |
download | elgg-7e6e58f8b1da4c1a94c7c933d98ead1879658d58.tar.gz elgg-7e6e58f8b1da4c1a94c7c933d98ead1879658d58.tar.bz2 |
canvas layout updates, ie6&7 layout fixes, new 3-column widget view
git-svn-id: https://code.elgg.org/elgg/trunk@1551 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 0a6427afa..39de3c634 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -23,7 +23,7 @@ ?> -<table> +<table cellspacing="0"> <tr> <td> @@ -55,26 +55,11 @@ </td> <td> - <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 - - } - - ?> - + <div id="profile_info_column_middle" > <?php // display the users name - echo "<h2><a href=\"" . $vars['entity']->getUrl() . "\">" . $vars['entity']->name . "</a></h2> <br />"; + echo "<h2><a href=\"" . $vars['entity']->getUrl() . "\">" . $vars['entity']->name . "</a></h2>"; if ($vars['full'] == true) { @@ -114,15 +99,33 @@ } ?> - </div><!-- /#profile_info_column_right --> + </div><!-- /#profile_info_column_middle --> + </td> +<td> + <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("profile:editdetails"); ?></a> + </p> + <?php + + } + + ?> + + + <p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo autop($vars['entity']->description); ?></p> + </div><!-- /#profile_info_column_right --> +</td> </tr> </table> - <div id="profile_info_wide"> - <p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo autop($vars['entity']->description); ?></p> -</div><!-- /#profile_info_wide --> </div><!-- /#profile_info --> |