aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
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