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 | |
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
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 36 | ||||
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 4 |
2 files changed, 20 insertions, 20 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
+ }
+ }
}
?>
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php index 3c033aee5..ccd305690 100644 --- a/views/default/canvas/layouts/widgets.php +++ b/views/default/canvas/layouts/widgets.php @@ -148,8 +148,6 @@ </form> </div><!-- /customise_editpanel --> -<!-- temporary customise button here --> -<a href="javascript:void(0);" class="toggle_customise_edit_panel"><?php echo elgg_echo("layout:customise"); ?></a> <br /> <?php @@ -160,6 +158,8 @@ <!-- right sidebar --> <div id="layout_sidebar_right"> +<!-- temporary customise button here --> +<a href="javascript:void(0);" class="toggle_customise_edit_panel">Customise Layout</a><br /><br /> <div id="wrapper_sidebar_right"> |