aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/views/default/profile/userdetails.php36
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
+ }
+ }
}
?>