aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 15:25:23 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 15:25:23 +0000
commit630b14c96e0c3d89a2b055f89787486c296fa724 (patch)
tree33e40e5de615a993e60679cb831dda847230528c /views/default/canvas
parent3c840aee3ec9b4f94a5610678ab1550a51b431fe (diff)
downloadelgg-630b14c96e0c3d89a2b055f89787486c296fa724.tar.gz
elgg-630b14c96e0c3d89a2b055f89787486c296fa724.tar.bz2
css updates
git-svn-id: https://code.elgg.org/elgg/trunk@1065 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas')
-rw-r--r--views/default/canvas/layouts/widgets.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index ccd305690..1ef87d2f6 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -148,8 +148,6 @@
</form>
</div><!-- /customise_editpanel -->
-<br />
-
<?php
}
@@ -158,10 +156,18 @@
<!-- 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">
+<?php
+ if($_SESSION['user']->guid == page_owner()){
+?>
+ <!-- customise page button -->
+ <a href="javascript:void(0);" class="toggle_customise_edit_panel">Customise Layout</a>
+ <div style="clear:both;"></div>
+<?php
+ }
+?>
+
<?php if (isset($vars['area2'])) echo $vars['area2']; ?>
<?php