aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 13:12:29 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 13:12:29 +0000
commit81ea240cfa86266725f3984dc9985e7eea0b3eb9 (patch)
tree83f24bcac990c7387741ee8aa14ae9c0b6c39333 /views/default/canvas
parentc5d535f4e09e5ee603bc070e54b4794b709e26d2 (diff)
downloadelgg-81ea240cfa86266725f3984dc9985e7eea0b3eb9.tar.gz
elgg-81ea240cfa86266725f3984dc9985e7eea0b3eb9.tar.bz2
widget layout help context sensitive.
git-svn-id: https://code.elgg.org/elgg/trunk@1567 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 7201d2e19..a4a91a4c6 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -86,10 +86,16 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<td colspan="2" align="left" valign="top">
- <h2 class="profile_box"><?php echo elgg_echo("widgets:profilebox"); ?></h2>
- <div id="profile_box_widgets">
- <p><small>(Fixed position on page)</small></p>
- </div>
+ <?php
+ if(get_context() == "profile"){
+ ?>
+ <h2 class="profile_box"><?php echo elgg_echo("widgets:profilebox"); ?></h2>
+ <div id="profile_box_widgets">
+ <p><small>(<?php echo elgg_echo("widgets:fixed"); ?>)</small></p>
+ </div>
+ <?php
+ }
+ ?>
</td>