diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 18:56:59 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 18:56:59 +0000 |
commit | 7172a9c77c3885e889208693f0f1044b6d502eaa (patch) | |
tree | 833163f46b8fc5fd6ac0c8480719422e76aea5ef /mod/profile/views | |
parent | 1142fcef5a9cbff84dbaa55330aaaf71f618e439 (diff) | |
download | elgg-7172a9c77c3885e889208693f0f1044b6d502eaa.tar.gz elgg-7172a9c77c3885e889208693f0f1044b6d502eaa.tar.bz2 |
rearranged the main profile area
git-svn-id: https://code.elgg.org/elgg/trunk@1081 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 717c39ed8..ef25c0fee 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -13,9 +13,9 @@ */
if ($vars['full'] == true) {
- $iconsize = "medium";
+ $iconsize = "large";
} else {
- $iconsize = "small";
+ $iconsize = "medium";
}
//wrap the icon and links in a div
@@ -79,20 +79,25 @@ }
- if ($vars['entity']->canEdit()) {
-
?>
- <p>
- <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("edit"); ?></a>
- </p>
- <?php
+ </div>
+ <p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo nl2br($vars['entity']->description); ?></p>
+
+<?php
+
+ if ($vars['entity']->canEdit()) {
+?>
+ <p>
+ <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("edit"); ?></a>
+ </p>
+<?php
+
+ }
// TODO: Add admin console options here
- if (isadminloggedin())
- {
- if ($_SESSION['id']!=$vars['entity']->guid)
- {
+ if (isadminloggedin()){
+ if ($_SESSION['id']!=$vars['entity']->guid){
?>
<p>
<a href="<?php echo $vars['url']; ?>actions/admin/user/ban?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("ban"); ?></a>
@@ -103,9 +108,4 @@ <?php
}
}
- }
-
- ?>
-
- </div>
- <p><b><?php echo elgg_echo("profile:aboutme"); ?></b><br /><?php echo nl2br($vars['entity']->description); ?></p>
\ No newline at end of file +?>
\ No newline at end of file |