diff options
author | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-06 16:34:52 +0000 |
---|---|---|
committer | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-06 16:34:52 +0000 |
commit | 29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d (patch) | |
tree | 5b75b34c822a79f70b83c266465dda70b9baeaf2 /pdf-as-web/src/main/webapp/bku-erkennung | |
parent | 04375406fc1634adbf9b37143a2125327da6a11e (diff) | |
download | pdf-as-3-29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d.tar.gz pdf-as-3-29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d.tar.bz2 pdf-as-3-29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d.zip |
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@671 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web/src/main/webapp/bku-erkennung')
23 files changed, 232 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung.html b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung.html new file mode 100644 index 0000000..d3bb009 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+ <head>
+ <title>BKU Test</title>
+ <script language="javascript" type="text/javascript">
+ <!--
+ bkuuri='https://127.0.0.1:3496/https-security-layer-request';
+ protocol='https:';
+ if (location.protocol != 'https:') {
+ bkuuri='http://127.0.0.1:3495/http-security-layer-request';
+ protocol='http:';
+ }
+ var index = location.href.indexOf('/bku-erkennung/bku-erkennung.html');
+ if( index != -1 )
+ helperlocation = location.href.substr( 0, index );
+ else
+ helperlocation = protocol + '//' + 'demo.egiz.gv.at/bku-erkennung/v1.1';
+
+ function setBKUAvailable(flag) {
+ if (flag == true) {
+ parent.setBKUAvailable(true);
+ } else {
+ parent.setBKUAvailable(false);
+ }
+ }
+ -->
+ </script>
+ </head>
+
+ <body style="background-color:transparent">
+ <script language="javascript" type="text/javascript">
+ <!--
+ if (location.protocol == 'https:' || location.protocol == 'http:') { // also keine lokalen Aufrufe
+ document.write('<form name="bkucheckform" method="POST" target="iframename" action="' + bkuuri + '" enctype="application/x-www-form-urlencoded">');
+ document.write('<input type="hidden" name="XMLRequest" value="<?xml version="1.0" encoding="UTF-8"?><NullOperationRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"/>" />');
+ document.write('<input type="hidden" name="RedirectURL" value="' + helperlocation + '/bku-erkennung/bku-erkennung_helper.html"/>');
+ document.write('</form>');
+ setBKUAvailable(false);
+ document.bkucheckform.submit();
+ }
+ -->
+ </script>
+ </body>
+
+</html>
+
diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_empty.html b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_empty.html new file mode 100644 index 0000000..d6d1a1a --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_empty.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+ <head>
+ </head>
+
+ <body>
+ </body>
+
+</html>
+
diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_helper.html b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_helper.html new file mode 100644 index 0000000..7d6aba9 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung/bku-erkennung_helper.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+ <head>
+ <title>BKU Test Helper</title>
+ </head>
+
+ <body>
+ <script language="javascript" type="text/javascript">
+ <!--
+ parent.setBKUAvailable(true);
+ -->
+ </script>
+ </body>
+
+</html>
+
diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung_iframe.html b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung_iframe.html new file mode 100644 index 0000000..94bcdc7 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/bku-erkennung_iframe.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+ <head>
+ <title>BKU Test</title>
+ <style type="text/css">
+ /*
+ img {
+ behavior: url("css/pngbehavior.htc");
+ }
+ */
+ </style>
+ <script language="javascript" type="text/javascript">
+ <!--
+ bkuuri='https://127.0.0.1:3496/https-security-layer-request';
+ protocol='https:';
+ if (location.protocol != 'https:') {
+ bkuuri='http://127.0.0.1:3495/http-security-layer-request';
+ protocol='http:';
+ }
+ var index = location.href.indexOf('/bku-erkennung_iframe.html');
+ if( index != -1 )
+ helperlocation = location.href.substr( 0, index );
+ else
+ helperlocation = protocol + '//' + 'demo.egiz.gv.at/bku-erkennung/v1.1';
+
+ function setBKUAvailable(flag) {
+ if (flag == true) {
+ document.getElementById("statusimage").src = "img/sighw_green.gif";
+ } else {
+ document.getElementById("statusimage").src = "img/sighw_red.gif";
+ }
+ }
+ -->
+ </script>
+ </head>
+
+ <body style="background-color:transparent">
+ <img id="statusimage" src="img/sighw_yellow.gif" style="width: 152px; height: 57px;" alt="status">
+ <iframe name="iframeempty" width="0" height="0" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" src="bku-erkennung/bku-erkennung_empty.html" ></iframe>
+
+ <script language="javascript" type="text/javascript">
+ <!--
+ if (location.protocol == 'https:' || location.protocol == 'http:') { // also keine lokalen Aufrufe
+ document.write('<form name="bkucheckform" target="iframeempty" action="' + bkuuri +'" method="Post" enctype="application/x-www-form-urlencoded">');
+ document.write('<input name="XMLRequest" type="hidden" value="<?xml version="1.0" encoding="UTF-8"?><NullOperationRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"/>" />');
+ document.write('<input type="hidden" name="RedirectURL" value="'+ helperlocation + '/bku-erkennung/bku-erkennung_helper.html"/>');
+ document.write('</form>');
+ setBKUAvailable(false);
+ document.bkucheckform.submit();
+ }
+ -->
+ </script>
+ </body>
+
+</html>
+
diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/css/pngbehavior.htc b/pdf-as-web/src/main/webapp/bku-erkennung/css/pngbehavior.htc new file mode 100644 index 0000000..ba171c6 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/css/pngbehavior.htc @@ -0,0 +1,86 @@ +<public:component lightWeight="true"> +<public:attach event="onpropertychange" onevent="propertyChanged()" /> +<public:attach event="onbeforeprint" onevent="beforePrint()" for="window"/> +<public:attach event="onafterprint" onevent="afterPrint()" for="window"/> +<script> + +/* + * PNG Behavior + * + * This script was created by Erik Arvidsson (http://webfx.eae.net/contact.html#erik) + * for WebFX (http://webfx.eae.net) + * Copyright 2002-2004 + * + * For usage see license at http://webfx.eae.net/license.html + * + * Version: 1.02 + * Created: 2001-??-?? First working version + * Updated: 2002-03-28 Fixed issue when starting with a non png image and + * switching between non png images + * 2003-01-06 Fixed RegExp to correctly work with IE 5.0x + * 2004-05-09 When printing revert to original + * + */ + +var supported = /MSIE ((5\.5)|[6789])/.test(navigator.userAgent) && + navigator.platform == "Win32"; + +var realSrc; +var blankSrc = "img/blank.gif"; +var isPrinting = false; + +if (supported) fixImage(); + +function propertyChanged() { + if (!supported || isPrinting) return; + + var pName = event.propertyName; + if (pName != "src") return; + // if not set to blank + if (!new RegExp(blankSrc).test(src)) + fixImage(); +}; + +function fixImage() { + // get src + var src = element.src; + + // check for real change + if (src == realSrc && /\.png$/i.test(src)) { + element.src = blankSrc; + return; + } + + if ( ! new RegExp(blankSrc).test(src)) { + // backup old src + realSrc = src; + } + + // test for png + if (/\.png$/i.test(realSrc)) { + // set blank image + element.src = blankSrc; + // set filter + element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft." + + "AlphaImageLoader(src='" + src + "',sizingMethod='scale')"; + } + else { + // remove filter + element.runtimeStyle.filter = ""; + } +} + +function beforePrint() { + isPrinting = true; + element.src = realSrc; + element.runtimeStyle.filter = ""; + realSrc = null; +} + +function afterPrint() { + isPrinting = false; + fixImage(); +} + +</script> +</public:component> diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/blank.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/blank.gif Binary files differnew file mode 100644 index 0000000..75b945d --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/blank.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.gif Binary files differnew file mode 100644 index 0000000..8ff0c6b --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.png Binary files differnew file mode 100644 index 0000000..4cd7c4e --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_active.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_active.png Binary files differnew file mode 100644 index 0000000..97a821d --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_active.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_small.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_small.gif Binary files differnew file mode 100644 index 0000000..04804ea --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/siga1_small.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw.gif Binary files differnew file mode 100644 index 0000000..d397253 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_active.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_active.png Binary files differnew file mode 100644 index 0000000..62a669b --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_active.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.gif Binary files differnew file mode 100644 index 0000000..cbef10f --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.png Binary files differnew file mode 100644 index 0000000..9d4349e --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_bold.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_bold.png Binary files differnew file mode 100644 index 0000000..62422ed --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_bold.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_original.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_original.gif Binary files differnew file mode 100644 index 0000000..0f967c1 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_green_original.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.gif Binary files differnew file mode 100644 index 0000000..9eba9e2 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.png Binary files differnew file mode 100644 index 0000000..7ffd0b6 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red_original.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red_original.gif Binary files differnew file mode 100644 index 0000000..8079312 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_red_original.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.gif Binary files differnew file mode 100644 index 0000000..9a95fad --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.png b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.png Binary files differnew file mode 100644 index 0000000..d27acbf --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow.png diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow_original.gif b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow_original.gif Binary files differnew file mode 100644 index 0000000..5f0aad2 --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/img/sighw_yellow_original.gif diff --git a/pdf-as-web/src/main/webapp/bku-erkennung/index.html b/pdf-as-web/src/main/webapp/bku-erkennung/index.html new file mode 100644 index 0000000..436061b --- /dev/null +++ b/pdf-as-web/src/main/webapp/bku-erkennung/index.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+ <head>
+ <title>BKU-Erkennung</title>
+ </head>
+
+ <body>
+ <p>Erkennung laufender BKU-Software</p>
+ <iframe src="bku-erkennung_iframe.html" width="152" height="57" id="sep_iframe" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" allowtransparency="true"></iframe>
+ </body>
+
+</html>
+
|