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 ; ?> -