From 42c52d51ea0e9047134441b31c8a9c7eac7922ef Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 10 Mar 2013 17:52:38 -0400 Subject: fixing line endings --- js/lib/ui.river.js | 26 ++--- .../theme_preview/components/image_block.php | 12 +-- .../default/theme_preview/components/list.php | 38 +++---- .../default/theme_preview/components/messages.php | 10 +- .../default/theme_preview/components/table.php | 22 ++-- .../views/default/theme_preview/icons/avatars.php | 72 ++++++------- .../views/default/theme_preview/icons/sprites.php | 120 ++++++++++----------- .../default/theme_preview/modules/modules.php | 44 ++++---- .../theme_preview/navigation/breadcrumbs.php | 20 ++-- .../default/theme_preview/navigation/default.php | 22 ++-- .../default/theme_preview/navigation/extras.php | 34 +++--- .../default/theme_preview/navigation/filter.php | 26 ++--- .../theme_preview/navigation/horizontal.php | 24 ++--- .../theme_preview/navigation/owner_block.php | 26 ++--- .../default/theme_preview/navigation/page.php | 38 +++---- .../theme_preview/navigation/pagination.php | 14 +-- .../default/theme_preview/navigation/site.php | 36 +++---- .../default/theme_preview/navigation/tabs.php | 18 ++-- .../default/theme_preview/typography/headings.php | 10 +- .../default/theme_preview/typography/misc.php | 32 +++--- .../default/theme_preview/typography/paragraph.php | 36 +++---- 21 files changed, 340 insertions(+), 340 deletions(-) diff --git a/js/lib/ui.river.js b/js/lib/ui.river.js index a56a664a4..c103fabb3 100644 --- a/js/lib/ui.river.js +++ b/js/lib/ui.river.js @@ -1,14 +1,14 @@ -elgg.provide('elgg.ui.river'); - -elgg.ui.river.init = function() { - $('#elgg-river-selector').change(function() { - var url = window.location.href; - if (window.location.search.length) { - url = url.substring(0, url.indexOf('?')); - } - url += '?' + $(this).val(); - elgg.forward(url); - }); -}; - +elgg.provide('elgg.ui.river'); + +elgg.ui.river.init = function() { + $('#elgg-river-selector').change(function() { + var url = window.location.href; + if (window.location.search.length) { + url = url.substring(0, url.indexOf('?')); + } + url += '?' + $(this).val(); + elgg.forward(url); + }); +}; + elgg.register_hook_handler('init', 'system', elgg.ui.river.init); \ No newline at end of file diff --git a/mod/developers/views/default/theme_preview/components/image_block.php b/mod/developers/views/default/theme_preview/components/image_block.php index 0bb16428b..ecd35ac65 100644 --- a/mod/developers/views/default/theme_preview/components/image_block.php +++ b/mod/developers/views/default/theme_preview/components/image_block.php @@ -1,6 +1,6 @@ -title = "Object 1"; -$obj1->description = $ipsum; - -$obj2 = new ElggObject(); -$obj2->title = "Object 2"; -$obj2->description = $ipsum; - -$obj3 = new ElggObject(); -$obj3->title = "Object 3"; -$obj3->description = $ipsum; - -$obj4 = new ElggObject(); -$obj4->title = "Object 4"; -$obj4->description = $ipsum; - -echo elgg_view('page/components/list', array('items' => array($obj1, $obj2, $obj3, $obj4))); +title = "Object 1"; +$obj1->description = $ipsum; + +$obj2 = new ElggObject(); +$obj2->title = "Object 2"; +$obj2->description = $ipsum; + +$obj3 = new ElggObject(); +$obj3->title = "Object 3"; +$obj3->description = $ipsum; + +$obj4 = new ElggObject(); +$obj4->title = "Object 4"; +$obj4->description = $ipsum; + +echo elgg_view('page/components/list', array('items' => array($obj1, $obj2, $obj3, $obj4))); diff --git a/mod/developers/views/default/theme_preview/components/messages.php b/mod/developers/views/default/theme_preview/components/messages.php index ac4d2bfd7..a53255291 100644 --- a/mod/developers/views/default/theme_preview/components/messages.php +++ b/mod/developers/views/default/theme_preview/components/messages.php @@ -1,5 +1,5 @@ - + diff --git a/mod/developers/views/default/theme_preview/components/table.php b/mod/developers/views/default/theme_preview/components/table.php index 8b8b13e76..7d619dcea 100644 --- a/mod/developers/views/default/theme_preview/components/table.php +++ b/mod/developers/views/default/theme_preview/components/table.php @@ -1,12 +1,12 @@ - -"; - for ($i = 1; $i < 5; $i++) { - echo ''; - for ($j = 1; $j < 3; $j++) { - echo ""; - } - echo ''; - } -?> +
column 1column 2
value $j
+"; + for ($i = 1; $i < 5; $i++) { + echo ''; + for ($j = 1; $j < 3; $j++) { + echo ""; + } + echo ''; + } +?>
column 1column 2
value $j
\ No newline at end of file diff --git a/mod/developers/views/default/theme_preview/icons/avatars.php b/mod/developers/views/default/theme_preview/icons/avatars.php index f50a6b70d..3aa1eda26 100644 --- a/mod/developers/views/default/theme_preview/icons/avatars.php +++ b/mod/developers/views/default/theme_preview/icons/avatars.php @@ -1,36 +1,36 @@ - - - - - $size"; - } - ?> - - - - '; - echo elgg_view_entity_icon($user, $size, array('use_hover' => false)); - echo ''; - } - ?> - - - - '; - echo elgg_view_entity_icon($group, $size, array('use_hover' => false)); - echo ''; - } - ?> - -
User
Group
+ + + + + $size"; + } + ?> + + + + '; + echo elgg_view_entity_icon($user, $size, array('use_hover' => false)); + echo ''; + } + ?> + + + + '; + echo elgg_view_entity_icon($group, $size, array('use_hover' => false)); + echo ''; + } + ?> + +
User
Group
diff --git a/mod/developers/views/default/theme_preview/icons/sprites.php b/mod/developers/views/default/theme_preview/icons/sprites.php index 134dd9aca..3edb0bd7c 100644 --- a/mod/developers/views/default/theme_preview/icons/sprites.php +++ b/mod/developers/views/default/theme_preview/icons/sprites.php @@ -1,61 +1,61 @@ - - -