aboutsummaryrefslogtreecommitdiff
path: root/mod/defaultwidgets/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 23:09:33 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-11 23:09:33 +0000
commit767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21 (patch)
treee3229ba658fbc5f38c73b20e9fc43cdb5085451c /mod/defaultwidgets/views
parent891739afadddad56b517b7d565458296eeb58c0b (diff)
downloadelgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.gz
elgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.bz2
Added disapproving @todo's wherever I could find javascript not conforming to 1.8 conventions
git-svn-id: http://code.elgg.org/elgg/trunk@8123 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/defaultwidgets/views')
-rw-r--r--mod/defaultwidgets/views/default/defaultwidgets/editor.php51
1 files changed, 23 insertions, 28 deletions
diff --git a/mod/defaultwidgets/views/default/defaultwidgets/editor.php b/mod/defaultwidgets/views/default/defaultwidgets/editor.php
index 0decde97d..439f36ce4 100644
--- a/mod/defaultwidgets/views/default/defaultwidgets/editor.php
+++ b/mod/defaultwidgets/views/default/defaultwidgets/editor.php
@@ -7,8 +7,8 @@
* @subpackage Core
*
* Edited version of the widget editor to be used to set default widgets
- *
- **/
+ *
+ **/
// set some defaults
$owner = elgg_get_page_owner_entity();
@@ -45,11 +45,6 @@
}
?>
-<script type="text/javascript">
-$(document).ready(function () {
- //$('div#customise_editpanel').slideToggle("fast");
-});
-</script>
<div id="customise_editpanel" style="visibility:visible;">
@@ -99,24 +94,24 @@ $(document).ready(function () {
<div id="customise_page_view">
<table cellspacing="0">
- <tr>
- <td colspan="2" align="left" valign="top">
-
- <?php
+<tr>
+ <td colspan="2" align="left" valign="top">
+
+ <?php
if (elgg_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:position:fixed'); ?></small></p>
- </div>
- <?php
+ ?>
+ <h2 class="profile_box"><?php echo elgg_echo("widgets:profilebox"); ?></h2>
+ <div id="profile_box_widgets">
+ <p><small><?php echo elgg_echo('widgets:position:fixed'); ?></small></p>
+ </div>
+ <?php
}
- ?>
-
- </td>
-
-
- <td rowspan="2" align="left" valign="top">
+ ?>
+
+ </td>
+
+
+ <td rowspan="2" align="left" valign="top">
<h2><?php echo elgg_echo("widgets:rightcolumn"); ?></h2>
<div id="rightcolumn_widgets" <?php if (elgg_get_context() == "profile") echo "class=\"long\""; ?>>
<?php
@@ -154,11 +149,11 @@ $(document).ready(function () {
?>
</div>
- </td><!-- /rightcolumn td -->
-
- </tr>
-
- <tr>
+ </td><!-- /rightcolumn td -->
+
+</tr>
+
+<tr>
<td>
<h2><?php echo elgg_echo("widgets:leftcolumn"); ?></h2>