[open-ils-commits] r16753 - in trunk/Open-ILS/web/opac: locale/en-US skin/default/xml skin/default/xml/home (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 18 11:13:44 EDT 2010
Author: miker
Date: 2010-06-18 11:13:41 -0400 (Fri, 18 Jun 2010)
New Revision: 16753
Modified:
trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
trunk/Open-ILS/web/opac/skin/default/xml/body.xml
trunk/Open-ILS/web/opac/skin/default/xml/header.xml
trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
Log:
add prompt to install Google Chrome Frames when in IE
Modified: trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/opac.dtd 2010-06-18 14:59:12 UTC (rev 16752)
+++ trunk/Open-ILS/web/opac/locale/en-US/opac.dtd 2010-06-18 15:13:41 UTC (rev 16753)
@@ -110,6 +110,9 @@
<!ENTITY common.textsize.regular "Regular">
<!ENTITY common.textsize.separator "/"> <!-- Regular / Large -->
<!ENTITY common.textsize.large "Large">
+<!ENTITY common.googlechromeframe.why "Installing the Google Chrome Frame plugin for Internet Explorer will improve your Evergreen experience with more speed and advanced features!">
+<!ENTITY common.googlechromeframe.install "Install Now!">
+<!ENTITY common.googlechromeframe.dontask "Don't ask me again">
<!ENTITY home.js.disabled "JavaScript must be enabled in order for you to use the regular Evergreen Catalog.
However, it seems JavaScript is either disabled or not supported by your browser.
Modified: trunk/Open-ILS/web/opac/skin/default/xml/body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/body.xml 2010-06-18 14:59:12 UTC (rev 16752)
+++ trunk/Open-ILS/web/opac/skin/default/xml/body.xml 2010-06-18 15:13:41 UTC (rev 16753)
@@ -27,4 +27,23 @@
</tbody>
</table>
<!--#include virtual='footer.xml'-->
+ <center>
+ <div id='gcfPrompt' class='hide_me'>
+ <script>dojo.require('dojo.cookie')</script>;
+ <div><span>&common.googlechromeframe.why;</span></div>
+ <button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});'>&common.googlechromeframe.install;</button>
+ <button onclick='dojo.cookie("noGCF", "true", {path:"/"}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
+ </div>
+ </center>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
+ <script><![CDATA[
+ CFInstall.check({
+ preventPrompt: true,
+ onmissing: function() {
+ if (dojo.cookie("noGCF") != "true")
+ unHideMe($('gcfPrompt'));
+ }
+ });]]>
+ </script>
+
</body>
Modified: trunk/Open-ILS/web/opac/skin/default/xml/header.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/header.xml 2010-06-18 14:59:12 UTC (rev 16752)
+++ trunk/Open-ILS/web/opac/skin/default/xml/header.xml 2010-06-18 15:13:41 UTC (rev 16753)
@@ -1,4 +1,5 @@
<head>
+ <meta http-equiv="X-UA-Compatible" content="chrome=1"></meta>
<!-- Set the page title -->
<!--#include virtual="common/css_common.xml"-->
Modified: trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml 2010-06-18 14:59:12 UTC (rev 16752)
+++ trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml 2010-06-18 15:13:41 UTC (rev 16753)
@@ -33,6 +33,24 @@
}
</script>
<!--#include virtual='../footer.xml'-->
+ <center>
+ <div id='gcfPrompt' class='hide_me'>
+ <script>dojo.require('dojo.cookie')</script>;
+ <div><span>&common.googlechromeframe.why;</span></div>
+ <button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});'>&common.googlechromeframe.install;</button>
+ <button onclick='dojo.cookie("noGCF", "true", {path:"/"}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
+ </div>
+ </center>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
+ <script><![CDATA[
+ CFInstall.check({
+ preventPrompt: true,
+ onmissing: function() {
+ if (dojo.cookie("noGCF") != "true")
+ unHideMe($('gcfPrompt'));
+ }
+ });]]>
+ </script>
</body>
More information about the open-ils-commits
mailing list