From 653badc2e1b9753f29bbb1d9fec8098716a4a2f4 Mon Sep 17 00:00:00 2001
From: hiwilson
Date: Tue, 21 Jul 2009 09:44:51 +0800
Subject: set wmode='transparent' other than flowplayer.js (cherry picked from
commit 79a46658196a98a3972983cc422d1ee544b09d4a)
---
modules/gallery/views/movieplayer.html.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'modules/gallery/views')
diff --git a/modules/gallery/views/movieplayer.html.php b/modules/gallery/views/movieplayer.html.php
index e8cabd31..28324a54 100644
--- a/modules/gallery/views/movieplayer.html.php
+++ b/modules/gallery/views/movieplayer.html.php
@@ -1,7 +1,8 @@
= html::anchor($item->file_url(true), "", $attrs) ?>
--
cgit v1.2.3
From b99774ac49999e4701f1c410f0018a417a5f613e Mon Sep 17 00:00:00 2001
From: Shai Ben-Naphtali
Date: Tue, 21 Jul 2009 12:13:13 +0800
Subject: Fixed grammer and set lowercase for the word project (minor change)
Signed-off-by: Bharat Mediratta
---
modules/gallery/views/after_install.html.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'modules/gallery/views')
diff --git a/modules/gallery/views/after_install.html.php b/modules/gallery/views/after_install.html.php
index d6ba8e7c..e4842163 100644
--- a/modules/gallery/views/after_install.html.php
+++ b/modules/gallery/views/after_install.html.php
@@ -21,7 +21,7 @@
- = t("Want to learn more? The Gallery website has news and information about Gallery Project and community.", array("url" => "http://gallery.menalto.com")) ?>
+ = t("Want to learn more? The Gallery website has news and information about the Gallery project and community.", array("url" => "http://gallery.menalto.com")) ?>
--
cgit v1.2.3
From 2de6b77d61f79248eff99f439a96de6d5cb68f6f Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Tue, 21 Jul 2009 11:20:36 -0700
Subject: Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket
#563.
---
modules/gallery/views/admin_block_platform.html.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'modules/gallery/views')
diff --git a/modules/gallery/views/admin_block_platform.html.php b/modules/gallery/views/admin_block_platform.html.php
index 6b79f047..f27b9e7a 100644
--- a/modules/gallery/views/admin_block_platform.html.php
+++ b/modules/gallery/views/admin_block_platform.html.php
@@ -1,7 +1,10 @@
-
- = t("Operating System: %operating_system", array("operating_system" => PHP_OS)) ?>
+ = t("Host name: %host_name", array("host_name" => php_uname("n"))) ?>
+
+ -
+ = t("Operating System: %os %version", array("os" => php_uname("s"), "version" => php_uname("r"))) ?>
-
= t("Apache: %apache_version", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?>
--
cgit v1.2.3
From 0546f0df13471664255a18b45c7464cc7f7f370e Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Tue, 21 Jul 2009 13:39:40 -0700
Subject: Fix the bug that the quick menu fires for the wrong photo. This
stems from using a single gQuickPane
that we move around. A race
condition happens when you mouse over two thumbnails quickly. Whichever
server response loses the race gets displayed, and sometimes it's the one
that you're no longer hovering over.
Fix it by changing gQuickPane to be a class and creating a
per
thumbnail.
Fixes ticket #290.
---
modules/gallery/css/quick.css | 12 ++++++------
modules/gallery/js/quick.js | 20 ++++++++------------
modules/gallery/views/quick_pane.html.php | 2 +-
themes/default/css/fix-ie.css | 4 ++--
4 files changed, 17 insertions(+), 21 deletions(-)
(limited to 'modules/gallery/views')
diff --git a/modules/gallery/css/quick.css b/modules/gallery/css/quick.css
index 0e45eac2..f153d475 100644
--- a/modules/gallery/css/quick.css
+++ b/modules/gallery/css/quick.css
@@ -1,4 +1,4 @@
-#gQuickPane {
+.gQuickPane {
position: absolute;
top: 0;
left: 0;
@@ -17,7 +17,7 @@
padding: 0 !important;
}
-#gQuickPane {
+.gQuickPane {
background: #000;
border-bottom: 1px solid #ccc;
opacity: 0.9;
@@ -26,19 +26,19 @@
left: 0;
}
-#gQuickPane a {
+.gQuickPane a {
cursor: pointer;
float: left;
margin: 4px;
}
-#gQuickPaneOptions {
+.gQuickPaneOptions {
background: #000;
float: left;
width: 100%;
}
-#gQuickPaneOptions li a {
+.gQuickPaneOptions li a {
display: block;
float: none;
width: auto;
@@ -47,6 +47,6 @@
text-align: left;
}
-#gQuickPaneOptions li a:hover {
+.gQuickPaneOptions li a:hover {
background-color: #4d4d4d;
}
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index 3ac97f8e..fda6470f 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -12,15 +12,15 @@ var show_quick = function() {
var cont = $(this);
var quick = $(this).find(".gQuick");
var img = cont.find(".gThumbnail,.gResize");
- $("#gQuickPane").remove();
- cont.append("
");
- $("#gQuickPane").hide();
- cont.hover(function() {}, hide_quick);
+ cont.find(".gQuickPane").remove();
+ cont.append("
");
+ cont.find(".gQuickPane").hide();
+ cont.hover(function() {}, function() { cont.find(".gQuickPane").remove(); });
$.get(
quick.attr("href"),
{},
function(data, textStatus) {
- $("#gQuickPane").html(data).slideDown("fast");
+ cont.find(".gQuickPane").html(data).slideDown("fast");
$(".ui-state-default").hover(
function() {
$(this).addClass("ui-state-hover");
@@ -29,13 +29,13 @@ var show_quick = function() {
$(this).removeClass("ui-state-hover");
}
);
- $("#gQuickPane a:not(.options)").click(function(e) {
+ cont.find(".gQuickPane a:not(.options)").click(function(e) {
e.preventDefault();
quick_do(cont, $(this), img);
});
- $("#gQuickPane a.options").click(function(e) {
+ cont.find(".gQuickPane a.options").click(function(e) {
e.preventDefault();
- $("#gQuickPaneOptions").slideToggle("fast");
+ cont.find(".gQuickPaneOptions").slideToggle("fast");
});
}
);
@@ -76,7 +76,3 @@ var quick_do = function(cont, pane, img) {
}
return false;
};
-
-var hide_quick = function() {
- $("#gQuickPane").remove();
-};
diff --git a/modules/gallery/views/quick_pane.html.php b/modules/gallery/views/quick_pane.html.php
index eabf4a67..e5469696 100644
--- a/modules/gallery/views/quick_pane.html.php
+++ b/modules/gallery/views/quick_pane.html.php
@@ -15,7 +15,7 @@
-