diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-21 09:56:30 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-21 09:56:30 +0000 |
commit | 6a1983fac352b0497c86fca6694cbf84984d0cb2 (patch) | |
tree | 81dc6ac8b9c96212e6074d75bc6d16a48d1dc047 | |
parent | 6930c0e7e081d2cd043fbed8eadfd1f394e782fd (diff) | |
download | elgg-6a1983fac352b0497c86fca6694cbf84984d0cb2.tar.gz elgg-6a1983fac352b0497c86fca6694cbf84984d0cb2.tar.bz2 |
a further temp tweak to the profile layout
git-svn-id: https://code.elgg.org/elgg/trunk@1042 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index f30a6d103..f0d78df3d 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -17,6 +17,11 @@ } else {
$iconsize = "small";
}
+
+ // display the users name
+ echo "<h2><a href=\"" . $vars['entity']->getUrl() . "\">" . $vars['entity']->name . "</a></h2>";
+
+ // get the user's main profile picture
echo elgg_view(
"profile/icon", array(
'entity' => $vars['entity'],
@@ -27,17 +32,13 @@ ?>
- <table style="margin:0 0 0 10px; width:310px;" >
- <tr>
- <td>
-
- <h2><a href="<?php echo $vars['entity']->getUrl(); ?>"><?php echo $vars['entity']->name; ?></a></h2>
+ <div style="margin:0 0 0 210px; width:300px;" >
+
<?php
if ($vars['full'] == true) {
?>
- <p> </p>
<p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo nl2br($vars['entity']->description); ?></p>
<?php
@@ -98,6 +99,4 @@ ?>
- </td>
- </tr>
- </table>
\ No newline at end of file + </div>
\ No newline at end of file |