From 83a2b4c1f856857b2e69900000d6d3a2e860f846 Mon Sep 17 00:00:00 2001 From: 3nids Date: Mon, 19 Oct 2009 10:43:55 +0200 Subject: [PATCH] Removed preload --- themes/3nids_theme/3nids/css/fix-ie.css | 2 +- themes/3nids_theme/3nids/js/ui.init.js | 18 ++++-------------- themes/3nids_theme/3nids/views/album.html.php | 2 +- themes/3nids_theme/3nids/views/page.html.php | 3 +-- themes/3nids_theme/3nids/views/pager.html.php | 2 +- .../3nids_theme/3nids/views/sidebar.html.php | 2 +- 6 files changed, 9 insertions(+), 20 deletions(-) diff --git a/themes/3nids_theme/3nids/css/fix-ie.css b/themes/3nids_theme/3nids/css/fix-ie.css index be6e22be..aa27547a 100755 --- a/themes/3nids_theme/3nids/css/fix-ie.css +++ b/themes/3nids_theme/3nids/css/fix-ie.css @@ -2,7 +2,7 @@ * Fix display in IE 6, 7 */ -.g-clearfix { +.ui-helper-clearfix { zoom: 1; } diff --git a/themes/3nids_theme/3nids/js/ui.init.js b/themes/3nids_theme/3nids/js/ui.init.js index ca892485..14dc5f2a 100755 --- a/themes/3nids_theme/3nids/js/ui.init.js +++ b/themes/3nids_theme/3nids/js/ui.init.js @@ -17,6 +17,10 @@ $(document).ready(function() { }); $("#g-site-menu").css("display", "block"); + // Initialize short forms + $(".g-short-form").gallery_short_form(); + + // Initialize status message effects $("#g-action-status li").gallery_show_message(); @@ -30,20 +34,6 @@ $(document).ready(function() { $("#g-view-menu a").addClass("ui-icon"); } - // Initialize short forms - var short_forms = new Array( - "#g-quick-search-form", - "#g-add-tag-form", - "#g-search-form" - ); - - for (var i in short_forms) { - short_form_init(short_forms[i]); - $(short_forms[i]).addClass("g-short-form"); - } - $(".g-short-form input[type=text]").addClass("ui-corner-left"); - $(".g-short-form input[type=submit]").addClass("ui-state-default ui-corner-right"); - // Apply jQuery UI button css to submit inputs $("input[type=submit]:not(.g-short-form input)").addClass("ui-state-default ui-corner-all"); diff --git a/themes/3nids_theme/3nids/views/album.html.php b/themes/3nids_theme/3nids/views/album.html.php index b4d2e603..98310b49 100755 --- a/themes/3nids_theme/3nids/views/album.html.php +++ b/themes/3nids_theme/3nids/views/album.html.php @@ -11,7 +11,7 @@ $children_offset = ($theme->pagination->current_page -1) * $page_size ; ?> -