diff options
author | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-12-14 18:05:55 +0000 |
---|---|---|
committer | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-12-14 18:05:55 +0000 |
commit | fcc0e3a8c14cf1952ce95b0a677ba98813a24dfe (patch) | |
tree | 7d17d02524bb03fd4f7d60e4370256da0607599c /id.server/data/deploy/conf/moa-id/transforms | |
parent | 6f8810014db80aa8fd36907ae926c77b8c7c400b (diff) | |
download | moa-id-spss-fcc0e3a8c14cf1952ce95b0a677ba98813a24dfe.tar.gz moa-id-spss-fcc0e3a8c14cf1952ce95b0a677ba98813a24dfe.tar.bz2 moa-id-spss-fcc0e3a8c14cf1952ce95b0a677ba98813a24dfe.zip |
Templates so angepasst, dass sowohl BKU unterstützt werden, die nur mehr SLXHTML anzeigen können, als auch ältere BKU, die HTML-Dialekte anzeigen (vergleiche Bugzilla Eintrag #323).
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@748 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/data/deploy/conf/moa-id/transforms')
-rw-r--r-- | id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.html.xml | 49 | ||||
-rw-r--r-- | id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.xhtml.xml (renamed from id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockText.xml) | 2 | ||||
-rw-r--r-- | id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.html.xml | 107 | ||||
-rw-r--r-- | id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.xhtml.xml (renamed from id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml) | 6 |
4 files changed, 160 insertions, 4 deletions
diff --git a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.html.xml b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.html.xml new file mode 100644 index 000000000..07d926d14 --- /dev/null +++ b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.html.xml @@ -0,0 +1,49 @@ +<sl10:TransformsInfo> + <dsig:Transforms> + <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> + <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#"> + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> + <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml"> + <html> + <head> + <title>Signatur der Anmeldedaten</title> + </head> + <body> + <h1>Signatur der Anmeldedaten</h1> + <p/> + <h4>Mit meiner elektronischen Signatur beantrage ich, <b><xsl:value-of select="//@Issuer"/></b>, + geboren am + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"/>. + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"/>. + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)"/>, + den Zugang zur gesicherten Anwendung.</h4> + <p/> + <h4>Datum und Uhrzeit: + <xsl:value-of select="substring(//@IssueInstant,9,2)"/>. + <xsl:value-of select="substring(//@IssueInstant,6,2)"/>. + <xsl:value-of select="substring(//@IssueInstant,1,4)"/>, + <xsl:value-of select="substring(//@IssueInstant,12,2)"/>: + <xsl:value-of select="substring(//@IssueInstant,15,2)"/>: + <xsl:value-of select="substring(//@IssueInstant,18,2)"/> + </h4> + <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> + <h4>wbPK(*): <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"/> + </h4> + <p/> + <hr/> + <h6>(*) wbPK: Das <i>wirtschaftsbereichsspezifische + Personenkennzeichen</i> wird aus den jeweiligen Stammzahlen des Bürgers und des Wirtschaftsunternehmens + berechnet und ermöglicht eine eindeutige Zuordnung des Bürgers zum Wirtschaftsunternehmen.</h6> + </xsl:if> + </body> + </html> + </xsl:template> + </xsl:stylesheet> + </dsig:Transform> + <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> + </dsig:Transforms> + <sl10:FinalDataMetaInfo> + <sl10:MimeType>text/html</sl10:MimeType> + </sl10:FinalDataMetaInfo> +</sl10:TransformsInfo> diff --git a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockText.xml b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.xhtml.xml index 85d449b2e..5089140b4 100644 --- a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockText.xml +++ b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockProseStyle.xhtml.xml @@ -39,6 +39,6 @@ geboren am <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> </dsig:Transforms> <sl10:FinalDataMetaInfo> - <sl10:MimeType>text/html</sl10:MimeType> + <sl10:MimeType>application/xhtml+xml</sl10:MimeType> </sl10:FinalDataMetaInfo> </sl10:TransformsInfo> diff --git a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.html.xml b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.html.xml new file mode 100644 index 000000000..05f91750c --- /dev/null +++ b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.html.xml @@ -0,0 +1,107 @@ +<sl10:TransformsInfo> + <dsig:Transforms> + <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> + <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> + <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#"> + <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> + <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml"> + <html> + <head> + <title>Signatur der Anmeldedaten</title> + </head> + <body> + <p>Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:</p> + <table> + <tr> + <td> + <b>Name:</b> + </td> + <td> + <xsl:value-of select="//@Issuer"/> + </td> + </tr> + <tr> + <td> + <b>Geburtsdatum:</b> + </td> + <td> + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"/>. + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"/>. + <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)"/> + </td> + </tr> + <tr> + <td> + <b>Applikation:</b> + </td> + <td> + <xsl:value-of select="//saml:Attribute[@AttributeName='OA']/saml:AttributeValue"/> + </td> + </tr> + <xsl:if test="//saml:Attribute[@AttributeName='Geschaeftsbereich']"> + <tr> + <td> + <b>Geschäftsbereich:</b> + </td> + <td> + <xsl:value-of select="//saml:Attribute[@AttributeName='Geschaeftsbereich']/saml:AttributeValue"/> + </td> + </tr> + </xsl:if> + <tr> + <td> + <b>Anmeldeserver:</b> + </td> + <td> + <xsl:value-of select="//saml:NameIdentifier"/> + </td> + </tr> + <tr> + <td> + <b>Datum:</b> + </td> + <td> + <xsl:value-of select="substring(//@IssueInstant,9,2)"/>. + <xsl:value-of select="substring(//@IssueInstant,6,2)"/>. + <xsl:value-of select="substring(//@IssueInstant,1,4)"/> + </td> + </tr> + <tr> + <td> + <b>Uhrzeit:</b> + </td> + <td> + <xsl:value-of select="substring(//@IssueInstant,12,2)"/>: + <xsl:value-of select="substring(//@IssueInstant,15,2)"/>: + <xsl:value-of select="substring(//@IssueInstant,18,2)"/> + </td> + </tr> + <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> + <tr> + <td> + <b>wbPK (*):</b> + </td> + <td> + <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"/> + </td> + </tr> + </xsl:if> + </table> + <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> + <p/> + <hr/> + <h6>(*): Das <i>wirtschaftsbereichsspezifische Personenkennzeichen (wbPK)</i> wird aus den jeweiligen + Stammzahlen des Bürgers und des Wirtschaftsunternehmens berechnet und ermöglicht eine eindeutige + Zuordnung des Bürgers zum Wirtschaftsunternehmen.</h6> + </xsl:if> + </body> + </html> + </xsl:template> + </xsl:stylesheet> + </dsig:Transform> + <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> + </dsig:Transforms> + <sl10:FinalDataMetaInfo> + <sl10:MimeType>text/html</sl10:MimeType> + </sl10:FinalDataMetaInfo> +</sl10:TransformsInfo> diff --git a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.xhtml.xml index 715c1df92..915a6bf2f 100644 --- a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml +++ b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlockTableStyle.xhtml.xml @@ -43,8 +43,8 @@ </td> </tr> <xsl:if test="//saml:Attribute[@AttributeName='Geschaeftsbereich']"> - <tr class="boldstyle"> - <td> + <tr> + <td class="boldstyle"> Geschäftsbereich: </td> <td> @@ -100,6 +100,6 @@ <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> </dsig:Transforms> <sl10:FinalDataMetaInfo> - <sl10:MimeType>text/html</sl10:MimeType> + <sl10:MimeType>application/xhtml+xml</sl10:MimeType> </sl10:FinalDataMetaInfo> </sl10:TransformsInfo> |