summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r--BKUOnline/src/main/resources/web.properties1
-rw-r--r--BKUOnline/src/main/resources/web_de.properties1
-rw-r--r--BKUOnline/src/main/webapp/applet.jsp15
3 files changed, 12 insertions, 5 deletions
diff --git a/BKUOnline/src/main/resources/web.properties b/BKUOnline/src/main/resources/web.properties
index 88da6556..3beeeaed 100644
--- a/BKUOnline/src/main/resources/web.properties
+++ b/BKUOnline/src/main/resources/web.properties
@@ -21,6 +21,7 @@
title=MOCCA
javaPluginRequired=Java™ plug-in, version 6 update 4 or higher is required. Reload this page after installation.
+noJavaChrome=Chrome doesn't support the Java™ plug-in anymore, please use a different browser for this application.
installJava=Install Java™
incTextSize=increase text size
decTextSize=decrease text size
diff --git a/BKUOnline/src/main/resources/web_de.properties b/BKUOnline/src/main/resources/web_de.properties
index 8bd9dc52..a26c1313 100644
--- a/BKUOnline/src/main/resources/web_de.properties
+++ b/BKUOnline/src/main/resources/web_de.properties
@@ -21,6 +21,7 @@
title=MOCCA
javaPluginRequired=Java™ Plug-In, Version 6 Update 4 oder höher wird benötigt. Nach der Installation diese Seite neu laden.
+noJavaChrome=Chrome unterstützt das Java™ Plug-In nicht mehr, bitte verwenden Sie einen anderen Browser um diese Anwendung auszuführen.
installJava=Java™ installieren
incTextSize=Text vergrößern
decTextSize=Text verkleinern
diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp
index c0e3ef49..60486ae6 100644
--- a/BKUOnline/src/main/webapp/applet.jsp
+++ b/BKUOnline/src/main/webapp/applet.jsp
@@ -185,21 +185,26 @@
<body>
<div id="container">
<div id="buttons">
- <a href="#" id="focus" onclick="resize(1.2); return false;" style="float: left;"><img alt="<fmt:message key="incTextSize"/>" src="img/inc.png" id="incButton" class="button"></a>
- <a href="#" onclick="resize(1/1.2); return false;" style="float: left;"><img alt="<fmt:message key="decTextSize"/>" src="img/dec.png" id="decButton" class="button"></a>
+ <a href="#" id="focus" onclick="resize(1.2); return false;" style="float: left;"><img alt="<fmt:message key="incTextSize"/>" src="img/inc.png" id="incButton" class="button"></a>
+ <a href="#" onclick="resize(1/1.2); return false;" style="float: left;"><img alt="<fmt:message key="decTextSize"/>" src="img/dec.png" id="decButton" class="button"></a>
</div>
- <a href="<c:out value="${helpUrl}"/>" onclick="this.href = document.moccaapplet.getHelpURL(); return true;" onblur="focusToApplet()" target="_new" style="float: right;"><img alt="<fmt:message key="help"/>" src="img/help.png" id="helpButton" class="button"></a>
- <div id="message" style="display: none;">
+ <a href="<c:out value="${helpUrl}"/>" onclick="this.href = document.moccaapplet.getHelpURL(); return true;" onblur="focusToApplet()" target="_new" style="float: right;"><img alt="<fmt:message key="help"/>" src="img/help.png" id="helpButton" class="button"></a>
+ <div id="message" style="display: none;">
<p><fmt:message key="javaPluginRequired"/></p>
<p style="text-align: right;">
<a style="width: 90%; font-size: 100%" href="http://www.java.com" onclick="deployJava.installLatestJRE(); return false;"><fmt:message key="installJava"/></a>
</p>
+ </div><div id="message_chrome" style="display: none;">
+ <p><fmt:message key="noJavaChrome"/></p>
</div><script type="text/javascript">
if (iframe) {
document.getElementById("buttons").style.visibility = "hidden";
}
if (!deployJava.versionCheck('<c:out value="${minJavaVersion}+"/>')) {
- document.getElementById("message").style.display = "block";
+ if (window.chrome)
+ document.getElementById("message_chrome").style.display = "block";
+ else
+ document.getElementById("message").style.display = "block";
} else {
var attributes = {
codebase :'<c:out value="${codebase}"/>',