Removed preload
This commit is contained in:
parent
f8575c67eb
commit
83a2b4c1f8
@ -2,7 +2,7 @@
|
||||
* Fix display in IE 6, 7
|
||||
*/
|
||||
|
||||
.g-clearfix {
|
||||
.ui-helper-clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
$children_offset = ($theme->pagination->current_page -1) * $page_size ; ?>
|
||||
|
||||
|
||||
<ul id="g-album-grid" class="g-clearfix">
|
||||
<ul id="g-album-grid" class="ui-helper-clearfix">
|
||||
<? if (count($children)): ?>
|
||||
<? for($i=0;$i<$children_offset;$i++): ?>
|
||||
<? $child = $children_all[$i] ?>
|
||||
|
@ -58,7 +58,6 @@
|
||||
</script>
|
||||
<?= $theme->script("gallery.ajax.js") ?>
|
||||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("gallery.form.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
<?= $theme->script("jquery.localscroll.js") ?>
|
||||
<?= $theme->script("jquery.easing.js") ?>
|
||||
@ -80,7 +79,7 @@
|
||||
<?= $theme->page_top() ?>
|
||||
<div id="doc4" class="yui-t5 g-view">
|
||||
<?= $theme->site_status() ?>
|
||||
<div id="g-header" class="g-clearfix">
|
||||
<div id="g-header" class="ui-helper-clearfix">
|
||||
<div id="g-banner">
|
||||
<?= $theme->header_top() ?>
|
||||
<? if ($header_text = module::get_var("gallery", "header_text")): ?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<? // See http://docs.kohanaphp.com/libraries/pagination ?>
|
||||
<ul class="g-pager g-clearfix">
|
||||
<ul class="g-pager ui-helper-clearfix">
|
||||
<? /* @todo This message isn't easily localizable */
|
||||
$from_to_msg = t2("%current_page / %total_pages",
|
||||
"%current_page / %total_pages",
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<?= $theme->sidebar_top() ?>
|
||||
<div class="g-toolbar">
|
||||
<div id="g-view-menu" class="g-buttonset g-clearfix">
|
||||
<div id="g-view-menu" class="g-buttonset ui-helper-clearfix">
|
||||
<? if ($page_type == "album"):?>
|
||||
<?= $theme->album_menu() ?>
|
||||
<? elseif ($page_type == "photo") : ?>
|
||||
|
Reference in New Issue
Block a user