From 767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 11 Feb 2011 23:09:33 +0000 Subject: 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 --- mod/blog/views/default/js/blog/save_draft.php | 2 + .../views/default/widgets/bookmarks/view.php | 8 ++-- .../views/default/defaultwidgets/editor.php | 51 ++++++++++------------ mod/embed/views/default/embed/embed.php | 1 + mod/embed/views/default/embed/item/gallery.php | 2 +- mod/embed/views/default/embed/item/list.php | 2 +- mod/embed/views/default/embed/metatags.php | 5 ++- mod/embed/views/default/embed/upload/content.php | 1 + mod/file/views/default/file/embed_upload.php | 1 + .../views/default/groups/profile/widgets.php | 4 +- .../views/default/widgets/messageboard/content.php | 1 + .../views/default/forms/messages/process.php | 1 + .../notifications/subscriptions/collections.php | 2 +- .../notifications/subscriptions/forminternals.php | 32 +++++++------- .../notifications/subscriptions/jsfuncs.php | 2 +- .../views/default/pages/sidebar/navigation.php | 2 +- mod/profile/views/default/profile/wrapper.php | 2 +- mod/thewire/views/default/thewire/forms/add.php | 11 ++--- mod/tinymce/views/default/tinymce/init.php | 2 +- mod/zaudio/views/default/zaudio/audioplayer.php | 1 + 20 files changed, 70 insertions(+), 63 deletions(-) (limited to 'mod') diff --git a/mod/blog/views/default/js/blog/save_draft.php b/mod/blog/views/default/js/blog/save_draft.php index 177ecc1df..7f3c3bb12 100644 --- a/mod/blog/views/default/js/blog/save_draft.php +++ b/mod/blog/views/default/js/blog/save_draft.php @@ -3,6 +3,8 @@ * Save draft through ajax * * @package Blog + * + * @todo JS 1.8: no. Convert to use elgg.blog.* */ ?> diff --git a/mod/bookmarks/views/default/widgets/bookmarks/view.php b/mod/bookmarks/views/default/widgets/bookmarks/view.php index f9bbf5488..6a5c7476a 100644 --- a/mod/bookmarks/views/default/widgets/bookmarks/view.php +++ b/mod/bookmarks/views/default/widgets/bookmarks/view.php @@ -1,10 +1,10 @@ - + @@ -35,7 +35,7 @@ if($shares){ "profile/icon", array( 'entity' => $owner, 'size' => 'tiny', - ) + ) ); //get the bookmark title 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 @@ } ?> -
@@ -99,24 +94,24 @@ $(document).ready(function () {
- - - - - + + + - - - - + + + + +
- - + + + -

-
-

-
- +

+
+

+
+ - -
+ ?> + +

>
-

diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php index e839450da..9b875fdeb 100644 --- a/mod/embed/views/default/embed/embed.php +++ b/mod/embed/views/default/embed/embed.php @@ -123,6 +123,7 @@ if (!$sections) { echo $content; ?> + diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php index bac8e1393..874ed44b1 100644 --- a/mod/embed/views/default/embed/upload/content.php +++ b/mod/embed/views/default/embed/upload/content.php @@ -29,6 +29,7 @@ if ($upload_sections) { echo $upload_content . ""; ?> + @@ -173,8 +173,8 @@ if (!isset($vars['replacement'])) { ?> - - + + $foo) { @@ -187,8 +187,8 @@ if (!isset($vars['replacement'])) { $i++; } ?> - - + + - - + - + - - - + + + - +{$msg}"; - $display .= ""; - $display .= "
"; - echo $display; - echo elgg_echo("thewire:charleft") . "
"; + $display .= ""; + $display .= ""; + $display .= "
"; + echo $display; + echo elgg_echo("thewire:charleft") . "
"; echo elgg_view('input/securitytoken'); ?> diff --git a/mod/tinymce/views/default/tinymce/init.php b/mod/tinymce/views/default/tinymce/init.php index 6282fa0f6..7064709d6 100644 --- a/mod/tinymce/views/default/tinymce/init.php +++ b/mod/tinymce/views/default/tinymce/init.php @@ -6,7 +6,7 @@ * http://tinymce.moxiecode.com/wiki.php/Configuration */ ?> - + -- cgit v1.2.3
 
   
 
+
$friend, 'size' => 'tiny', 'override' => true)); @@ -233,11 +233,11 @@ END; name ?>