diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-21 09:33:34 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-21 09:33:34 +0000 |
commit | 6930c0e7e081d2cd043fbed8eadfd1f394e782fd (patch) | |
tree | 142ae485806d85446863f032e1d6fd0e9bd5744c /mod/profile | |
parent | 5a6a5104b625e45da803b282e6508054337b0a99 (diff) | |
download | elgg-6930c0e7e081d2cd043fbed8eadfd1f394e782fd.tar.gz elgg-6930c0e7e081d2cd043fbed8eadfd1f394e782fd.tar.bz2 |
a couple of small, temp, profile layout tweaks.
git-svn-id: https://code.elgg.org/elgg/trunk@1041 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-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 1481f32c5..f30a6d103 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -20,14 +20,14 @@ echo elgg_view(
"profile/icon", array(
'entity' => $vars['entity'],
- 'align' => "right",
+ 'align' => "left",
'size' => $iconsize,
)
);
?>
- <table style="margin:0 0 0 20px; width:356px;" >
+ <table style="margin:0 0 0 10px; width:310px;" >
<tr>
<td>
@@ -78,22 +78,22 @@ </p>
<?php
- - // TODO: Add admin console options here - 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> - </p> - <p> - <a href="<?php echo $vars['url']; ?>actions/admin/user/delete?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("delete"); ?></a> - </p> -<?php - } - } +
+ // TODO: Add admin console options here
+ 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>
+ </p>
+ <p>
+ <a href="<?php echo $vars['url']; ?>actions/admin/user/delete?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("delete"); ?></a>
+ </p>
+<?php
+ }
+ }
}
?>
|