aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/widgets.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 15:49:26 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 15:49:26 +0000
commit32df0fad09f36ea7f7d3ea519bd4fbe35108a7d9 (patch)
treefa5657272069eb6e0cb74a399e17e6f7133b161e /views/default/canvas/layouts/widgets.php
parenta62b3e42bb1afa792b44b2e7e1e3c2a22a27a399 (diff)
downloadelgg-32df0fad09f36ea7f7d3ea519bd4fbe35108a7d9.tar.gz
elgg-32df0fad09f36ea7f7d3ea519bd4fbe35108a7d9.tar.bz2
final changes to widgets - all ready to wire up now
git-svn-id: https://code.elgg.org/elgg/trunk@1574 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas/layouts/widgets.php')
-rw-r--r--views/default/canvas/layouts/widgets.php21
1 files changed, 6 insertions, 15 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index c0f30e006..b73a5401d 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -85,16 +85,15 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<tr>
<td colspan="2" align="left" valign="top">
-
<?php
- if(get_context() == "profile"){
+ 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>
+ <p><small>(Fixed position on page)</small></p>
</div>
<?php
- }
+ }
?>
</td>
@@ -103,7 +102,6 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<td rowspan="2" align="left" valign="top">
<h2><?php echo elgg_echo("widgets:rightcolumn"); ?></h2>
<div id="rightcolumn_widgets" <?php if(get_context() == "profile")echo "class=\"long\""; ?>>
-
<?php
$sidebarwidgetstring = "";
if (is_array($area2widgets) && sizeof($area2widgets) > 0) {
@@ -240,6 +238,8 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<form action="<?php echo $vars['url']; ?>action/widgets/reorder" method="post">
<textarea type="textarea" value="Main widgets" style="display:none" name="debugField1" id="debugField1" /><?php echo $mainwidgetstring; ?></textarea>
<textarea type="textarea" value="Right widgets" style="display:none" name="debugField2" id="debugField2" /><?php echo $sidebarwidgetstring; ?></textarea>
+<textarea type="textarea" value="Left widgets" style="display:none" name="debugField3" id="debugField3" /><?php echo $leftbarwidgetstring; ?></textarea>
+
<input type="hidden" name="context" value="<?php echo get_context(); ?>" />
<input type="hidden" name="owner" value="<?php echo page_owner(); ?>" />
<input type="submit" value="Save changes" class="submit_button" onclick="$('a.toggle_customise_edit_panel').click();" />
@@ -258,7 +258,7 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
<table cellspacing="0" id="widget_table">
<tr>
<td colspan="2" align="left" valign="top">
- <!-- profile box -->
+ <!-- profile box or 'dashboard info' notice -->
<?php echo $vars['area1']; ?>
</td>
<td rowspan="2" align="left" valign="top">
@@ -318,12 +318,3 @@ Choose the features you want to add to your page by dragging them from the <b>Wi
</table>
-
-
-
-
-
-
-
-
-<!-- <div class="clearfloat"></div> -->