|
From: <gun...@us...> - 2011-07-05 08:38:39
|
Revision: 15648
http://dcm4che.svn.sourceforge.net/dcm4che/?rev=15648&view=rev
Author: gunterze
Date: 2011-07-05 08:38:32 +0000 (Tue, 05 Jul 2011)
Log Message:
-----------
pretty format
Modified Paths:
--------------
dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_edit.xsl
dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_list.xsl
dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_new.xsl
Modified: dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_edit.xsl
===================================================================
--- dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_edit.xsl 2011-07-05 08:25:06 UTC (rev 15647)
+++ dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_edit.xsl 2011-07-05 08:38:32 UTC (rev 15648)
@@ -1,190 +1,249 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:internal="urn:my-internal-data">
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:internal="urn:my-internal-data">
-<xsl:output method="html" indent="yes" encoding="UTF-8"/>
- <xsl:variable name="page_title">AE Edit</xsl:variable>
- <xsl:include href = "page.xsl" />
+ <xsl:output method="html" indent="yes" encoding="UTF-8" />
+ <xsl:variable name="page_title">AE Edit</xsl:variable>
+ <xsl:include href="page.xsl" />
- <xsl:template match="model">
- <xsl:apply-templates select="AE"/>
- </xsl:template>
-
- <xsl:template match="AE">
- <html><body bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">
- <center><form name="ae_edit" action="aeeditsubmit.m" method="post" accept-charset="UTF-8">
- <input type="hidden" name="pk" value="{pk}"/>
- <table border="0" cellspacing="0" cellpadding="0" width="35%"><tr><td>
- <center><table border="0">
- <tr>
- <td width="50">AE Title</td>
- <td title="AE Title" >
- <input size="50" name="title" type="text" value="{title}"/>
- </td>
- </tr>
- <tr>
- <td width="50">Hostname</td>
- <td title="Hostname" >
- <input size="50" name="hostName" type="text" value="{hostName}"/>
- <input name="checkHost" type="checkbox" value="true">
- <xsl:if test="/model/checkHost = 'true'">
- <xsl:attribute name="checked"/>
- </xsl:if>
- </input> check
- <input name="checkHost" type="hidden" value="false" /> <!-- submit false for unselect state -->
- </td>
- </tr>
- <tr>
- <td width="50">Port</td>
- <td title="Port">
- <input size="50" name="port" type="text" value="{port}"/>
- </td>
- </tr>
- <tr>
- <td>Cipher Suites</td>
-
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">1</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[1]" />
- </xsl:call-template>
- </td>
- </tr><tr>
- <td></td>
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">2</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[2]" />
- </xsl:call-template>
- </td>
- </tr><tr>
- <td></td>
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">3</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[3]" />
- </xsl:call-template>
- </td>
- </tr>
- <tr>
- <td width="50">Issuer of Patient ID</td>
- <td title="Issuer of Patient ID">
- <input size="50" name="issuerOfPatientID" type="text" value="{issuerOfPatientID}"/>
- </td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number ID</td>
- <td title="Issuer of Accession Number Local Namespace ID">
- <input size="50" name="issuerOfAccessionNumberID" type="text" value="{issuerOfAccessionNumber/item[1]}"/>
+ <xsl:template match="model">
+ <xsl:apply-templates select="AE" />
+ </xsl:template>
+
+ <xsl:template match="AE">
+ <html>
+ <body bgcolor="#FFFFFF" cellpadding="0" cellspacing="0"
+ border="0">
+ <center>
+ <form name="ae_edit" action="aeeditsubmit.m" method="post"
+ accept-charset="UTF-8">
+ <input type="hidden" name="pk" value="{pk}" />
+ <table border="0" cellspacing="0" cellpadding="0"
+ width="35%">
+ <tr>
+ <td>
+ <center>
+ <table border="0">
+ <tr>
+ <td width="50">AE Title</td>
+ <td title="AE Title">
+ <input size="50" name="title" type="text"
+ value="{title}" />
</td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number UID</td>
- <td title="Issuer of Accession Number Universal Entity ID">
- <input size="50" name="issuerOfAccessionNumberUID" type="text" value="{issuerOfAccessionNumber/item[2]}"/>
+ </tr>
+ <tr>
+ <td width="50">Hostname</td>
+ <td title="Hostname">
+ <input size="50" name="hostName" type="text"
+ value="{hostName}" />
+ <input name="checkHost" type="checkbox"
+ value="true">
+ <xsl:if test="/model/checkHost = 'true'">
+ <xsl:attribute name="checked" />
+ </xsl:if>
+ </input>
+ check
+ <input name="checkHost" type="hidden"
+ value="false" /> <!-- submit false for unselect state -->
</td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number UID Type</td>
- <td title="Issuer of Accession Number Universal Entity ID Type">
- <input size="50" name="issuerOfAccessionNumberUIDType" type="text" value="{issuerOfAccessionNumber/item[3]}"/>
+ </tr>
+ <tr>
+ <td width="50">Port</td>
+ <td title="Port">
+ <input size="50" name="port" type="text"
+ value="{port}" />
</td>
- </tr>
- <tr>
- <td width="50">User ID</td>
- <td title="User ID">
- <input size="50" name="userID" type="text" value="{userID}"/>
- </td>
- </tr>
- <tr>
- <td width="50">Password</td>
- <td title="Password">
- <input size="50" name="password" type="password" value="{password}"/>
- </td>
- </tr>
- <tr>
- <td width="50">FS Group ID</td>
- <td title="File System Group ID">
- <input size="50" name="fileSystemGroupID" type="text" value="{fileSystemGroupID}"/>
- </td>
- </tr>
- <tr>
- <td width="50">Description</td>
+ </tr>
+ <tr>
+ <td>Cipher Suites</td>
+
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 1
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[1]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 2
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[2]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 3
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[3]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Patient ID</td>
+ <td title="Issuer of Patient ID">
+ <input size="50" name="issuerOfPatientID"
+ type="text" value="{issuerOfPatientID}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number ID</td>
+ <td
+ title="Issuer of Accession Number Local Namespace ID">
+ <input size="50" name="issuerOfAccessionNumberID"
+ type="text" value="{issuerOfAccessionNumber/item[1]}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number UID</td>
+ <td
+ title="Issuer of Accession Number Universal Entity ID">
+ <input size="50" name="issuerOfAccessionNumberUID"
+ type="text" value="{issuerOfAccessionNumber/item[2]}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number UID Type
+ </td>
+ <td
+ title="Issuer of Accession Number Universal Entity ID Type">
+ <input size="50"
+ name="issuerOfAccessionNumberUIDType" type="text"
+ value="{issuerOfAccessionNumber/item[3]}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">User ID</td>
+ <td title="User ID">
+ <input size="50" name="userID" type="text"
+ value="{userID}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Password</td>
+ <td title="Password">
+ <input size="50" name="password" type="password"
+ value="{password}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">FS Group ID</td>
+ <td title="File System Group ID">
+ <input size="50" name="fileSystemGroupID"
+ type="text" value="{fileSystemGroupID}" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Description</td>
<td title="Description">
- <input size="50" name="description" type="text" value="{description}"/>
+ <input size="50" name="description"
+ type="text" value="{description}" />
</td>
- </tr>
- <tr>
- <td width="50">Station Name</td>
+ </tr>
+ <tr>
+ <td width="50">Station Name</td>
<td title="Station Name">
- <input size="50" name="stationName" type="text" value="{stationName}"/>
+ <input size="50" name="stationName"
+ type="text" value="{stationName}" />
</td>
- </tr>
- <tr>
- <td width="50">Institution Name or Code</td>
- <td title="Institution Name or Code (CODE^SCHEME[VERSION]^MEANING)">
- <input size="50" name="institution" type="text" value="{institution}"/>
+ </tr>
+ <tr>
+ <td width="50">Institution Name or Code</td>
+ <td
+ title="Institution Name or Code (CODE^SCHEME[VERSION]^MEANING)">
+ <input size="50" name="institution"
+ type="text" value="{institution}" />
</td>
- </tr>
- <tr>
- <td width="50">Department Name</td>
+ </tr>
+ <tr>
+ <td width="50">Department Name</td>
<td title="Institutional Department Name">
- <input size="50" name="department" type="text" value="{department}"/>
+ <input size="50" name="department" type="text"
+ value="{department}" />
</td>
- </tr>
- <tr>
- <td width="50">WADO URL</td>
+ </tr>
+ <tr>
+ <td width="50">WADO URL</td>
<td title="WadoUrl">
- <input size="50" name="wadoUrl" type="text" value="{wadoUrl}"/>
+ <input size="50" name="wadoUrl" type="text"
+ value="{wadoUrl}" />
</td>
- </tr>
- <tr>
- <td width="50">Installed</td>
- <td title="Installed" >
- <input name="installed" type="checkbox" value="true">
- <xsl:if test="/model/installed = 'true'">
- <xsl:attribute name="checked"/>
- </xsl:if>
- </input>
- <input name="installed" type="hidden" value="false" /> <!-- submit false for unselect state -->
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <center>
- <input type="submit" name="nix" value="Echo" onclick="return doEcho(this.form)"/>
- <input type="submit" name="update" value="Apply Changes"/>
- <input type="submit" name="cancel" value="Cancel" />
- </center>
- </td>
- </tr>
- </table></center>
- </td></tr></table>
- </form></center>
- </body></html>
- </xsl:template>
+ </tr>
+ <tr>
+ <td width="50">Installed</td>
+ <td title="Installed">
+ <input name="installed" type="checkbox"
+ value="true">
+ <xsl:if test="/model/installed = 'true'">
+ <xsl:attribute name="checked" />
+ </xsl:if>
+ </input>
+ <input name="installed" type="hidden"
+ value="false" /> <!-- submit false for unselect state -->
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <center>
+ <input type="submit" name="nix" value="Echo"
+ onclick="return doEcho(this.form)" />
+ <input type="submit" name="update"
+ value="Apply Changes" />
+ <input type="submit" name="cancel"
+ value="Cancel" />
+ </center>
+ </td>
+ </tr>
+ </table>
+ </center>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </center>
+ </body>
+ </html>
+ </xsl:template>
- <xsl:template name="cipherSelect" >
- <xsl:param name="cipherNumber" />
- <xsl:param name="cipher" />
-
- <select name="cipher{$cipherNumber}" >
- <option value="" selected="">-</option>
- <option value="SSL_RSA_WITH_NULL_SHA">
- <xsl:if test="$cipher='SSL_RSA_WITH_NULL_SHA'"><xsl:attribute name="selected"/></xsl:if>
- SSL_RSA_WITH_NULL_SHA
- </option>
- <option value="TLS_RSA_WITH_AES_128_CBC_SHA">
- <xsl:if test="$cipher='TLS_RSA_WITH_AES_128_CBC_SHA'"><xsl:attribute name="selected"/></xsl:if>
- TLS_RSA_WITH_AES_128_CBC_SHA
- </option>
- <option value="SSL_RSA_WITH_3DES_EDE_CBC_SHA">
- <xsl:if test="$cipher='SSL_RSA_WITH_3DES_EDE_CBC_SHA'"><xsl:attribute name="selected"/></xsl:if>
- SSL_RSA_WITH_3DES_EDE_CBC_SHA
- </option>
- </select>
- </xsl:template>
-
+ <xsl:template name="cipherSelect">
+ <xsl:param name="cipherNumber" />
+ <xsl:param name="cipher" />
+
+ <select name="cipher{$cipherNumber}">
+ <option value="" selected="">-</option>
+ <option value="SSL_RSA_WITH_NULL_SHA">
+ <xsl:if test="$cipher='SSL_RSA_WITH_NULL_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ SSL_RSA_WITH_NULL_SHA
+ </option>
+ <option value="TLS_RSA_WITH_AES_128_CBC_SHA">
+ <xsl:if test="$cipher='TLS_RSA_WITH_AES_128_CBC_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ TLS_RSA_WITH_AES_128_CBC_SHA
+ </option>
+ <option value="SSL_RSA_WITH_3DES_EDE_CBC_SHA">
+ <xsl:if test="$cipher='SSL_RSA_WITH_3DES_EDE_CBC_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ SSL_RSA_WITH_3DES_EDE_CBC_SHA
+ </option>
+ </select>
+ </xsl:template>
+
</xsl:stylesheet>
Modified: dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_list.xsl
===================================================================
--- dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_list.xsl 2011-07-05 08:25:06 UTC (rev 15647)
+++ dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_list.xsl 2011-07-05 08:38:32 UTC (rev 15648)
@@ -1,94 +1,125 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:internal="urn:my-internal-data">
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:internal="urn:my-internal-data">
-<xsl:param name="ae_mgr.edit" select="'false'" />
+ <xsl:param name="ae_mgr.edit" select="'false'" />
-<xsl:output method="html" indent="yes" encoding="UTF-8"/>
-<xsl:variable name="page_title">AE List</xsl:variable>
-<xsl:include href="page.xsl"/>
-<xsl:template match="model">
+ <xsl:output method="html" indent="yes" encoding="UTF-8" />
+ <xsl:variable name="page_title">AE List</xsl:variable>
+ <xsl:include href="page.xsl" />
+ <xsl:template match="model">
- <table width="100%" border="1" bordercolor="#ffffff" cellspacing="1" cellpadding="2">
- <tr> <center>
- <td>
- <tr>
- <td width="10%"><h2>AE Title</h2></td>
- <td width="10%"><h2>Hostname</h2></td>
- <td width="5%"><h2>Port</h2></td>
- <td width="10%"><h2>Cipher</h2></td>
- <td width="10%"><h2>Issuer Of Patient ID</h2></td>
- <td width="10%"><h2>Issuer Of Accession Number</h2></td>
- <td width="10%"><h2>User ID</h2></td>
- <td width="10%"><h2>FS Group ID</h2></td>
- <td width="15%"><h2>Description</h2></td>
- <xsl:if test="$ae_mgr.edit='true'">
- <td colspan="3" width="10%" align="center"><a href="aenew.m"><img src="images/add_aet.gif" alt="add new AET" border="0"/></a></td>
- </xsl:if>
- </tr>
- <xsl:apply-templates select="AEs/item">
- <xsl:sort data-type="text" order="ascending" select="title"/>
- </xsl:apply-templates>
- </td> </center>
- </tr>
- </table>
+ <table width="100%" border="1" bordercolor="#ffffff"
+ cellspacing="1" cellpadding="2">
+ <tr>
+ <center>
+ <td>
+ <tr>
+ <td width="10%">
+ <h2>AE Title</h2>
+ </td>
+ <td width="10%">
+ <h2>Hostname</h2>
+ </td>
+ <td width="5%">
+ <h2>Port</h2>
+ </td>
+ <td width="10%">
+ <h2>Cipher</h2>
+ </td>
+ <td width="10%">
+ <h2>Issuer Of Patient ID</h2>
+ </td>
+ <td width="10%">
+ <h2>Issuer Of Accession Number</h2>
+ </td>
+ <td width="10%">
+ <h2>User ID</h2>
+ </td>
+ <td width="10%">
+ <h2>FS Group ID</h2>
+ </td>
+ <td width="15%">
+ <h2>Description</h2>
+ </td>
+ <xsl:if test="$ae_mgr.edit='true'">
+ <td colspan="3" width="10%" align="center">
+ <a href="aenew.m">
+ <img src="images/add_aet.gif" alt="add new AET"
+ border="0" />
+ </a>
+ </td>
+ </xsl:if>
+ </tr>
+ <xsl:apply-templates select="AEs/item">
+ <xsl:sort data-type="text" order="ascending"
+ select="title" />
+ </xsl:apply-templates>
+ </td>
+ </center>
+ </tr>
+ </table>
-</xsl:template>
+ </xsl:template>
- <xsl:template match="item[@type='org.dcm4chex.archive.ejb.interfaces.AEDTO']">
- <tr>
- <td title="AE Title" valign="top" >
- <xsl:value-of select="title"/> 
- </td>
- <td title="Hostname" valign="top" >
- <xsl:value-of select="hostName"/> 
- </td>
- <td title="Port" valign="top" >
- <xsl:value-of select="port"/> 
- </td>
- <td title="Cipher" valign="top" >
- <xsl:for-each select="cipherSuites/item">
- <xsl:value-of select="."/><br/>
- </xsl:for-each> 
- </td>
- <td title="Issuer of Patient ID" valign="top" >
- <xsl:value-of select="issuerOfPatientID"/> 
- </td>
- <td title="Issuer of Accession Number" valign="top" >
- <xsl:value-of select="issuerOfAccessionNumberAsString"/> 
- </td>
- <td title="User ID" valign="top" >
- <xsl:value-of select="userID"/> 
- </td>
- <td title="File System Group ID" valign="top" >
- <xsl:value-of select="fileSystemGroupID"/> 
- </td>
- <td title="Description" valign="top" >
- <xsl:value-of select="description"/> 
- </td>
- <xsl:if test="$ae_mgr.edit='true'">
- <td align="center" valign="top" >
- <a href="aeedit.m?aet={title}">
- <img src="images/edit.gif" alt="edit" border="0"/>
- </a> 
- </td>
- <td align="left" valign="top" >
- <a href="aedelete.m?title={title}" onclick="return confirm('Are you sure you want to delete?')">
- <img src="images/delete.gif" alt="delete" border="0"/>
- </a> 
- </td>
- </xsl:if>
- <td align="left" valign="top" >
- <a href="aeecho.m?aet={title}" >
- <xsl:attribute name="onclick" >return doEchoAET('<xsl:value-of select="title"/>')</xsl:attribute>
- <img src="images/echo.gif" alt="Check AET({title}) with echo." border="0"/>
- </a> 
- </td>
- </tr>
- </xsl:template>
-
+ <xsl:template
+ match="item[@type='org.dcm4chex.archive.ejb.interfaces.AEDTO']">
+ <tr>
+ <td title="AE Title" valign="top">
+ <xsl:value-of select="title" />
+ </td>
+ <td title="Hostname" valign="top">
+ <xsl:value-of select="hostName" />
+ </td>
+ <td title="Port" valign="top">
+ <xsl:value-of select="port" />
+ </td>
+ <td title="Cipher" valign="top">
+ <xsl:for-each select="cipherSuites/item">
+ <xsl:value-of select="." />
+ <br />
+ </xsl:for-each>
+ </td>
+ <td title="Issuer of Patient ID" valign="top">
+ <xsl:value-of select="issuerOfPatientID" />
+ </td>
+ <td title="Issuer of Accession Number" valign="top">
+ <xsl:value-of select="issuerOfAccessionNumberAsString" />
+ </td>
+ <td title="User ID" valign="top">
+ <xsl:value-of select="userID" />
+ </td>
+ <td title="File System Group ID" valign="top">
+ <xsl:value-of select="fileSystemGroupID" />
+ </td>
+ <td title="Description" valign="top">
+ <xsl:value-of select="description" />
+ </td>
+ <xsl:if test="$ae_mgr.edit='true'">
+ <td align="center" valign="top">
+ <a href="aeedit.m?aet={title}">
+ <img src="images/edit.gif" alt="edit" border="0" />
+ </a>
+ </td>
+ <td align="left" valign="top">
+ <a href="aedelete.m?title={title}" onclick="return confirm('Are you sure you want to delete?')">
+ <img src="images/delete.gif" alt="delete" border="0" />
+ </a>
+ </td>
+ </xsl:if>
+ <td align="left" valign="top">
+ <a href="aeecho.m?aet={title}">
+ <xsl:attribute name="onclick">return doEchoAET('<xsl:value-of
+ select="title" />')</xsl:attribute>
+ <img src="images/echo.gif" alt="Check AET({title}) with echo."
+ border="0" />
+ </a>
+ </td>
+ </tr>
+ </xsl:template>
+
</xsl:stylesheet>
Modified: dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_new.xsl
===================================================================
--- dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_new.xsl 2011-07-05 08:25:06 UTC (rev 15647)
+++ dcm4chee/dcm4chee-arc/trunk/dcm4jboss-web/src/web/ae_new.xsl 2011-07-05 08:38:32 UTC (rev 15648)
@@ -1,192 +1,249 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:internal="urn:my-internal-data">
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:internal="urn:my-internal-data">
-<xsl:output method="html" indent="yes" encoding="UTF-8"/>
- <xsl:variable name="page_title">New AE</xsl:variable>
- <xsl:include href = "page.xsl" />
+ <xsl:output method="html" indent="yes" encoding="UTF-8" />
+ <xsl:variable name="page_title">
+ New AE
+ </xsl:variable>
+ <xsl:include href="page.xsl" />
- <xsl:template match="model">
- <xsl:apply-templates select="AE"/>
- </xsl:template>
-
- <xsl:template match="AE">
- <html><body bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">
- <center><form name="ae_edit" action="aenewsubmit.m" method="post" accept-charset="UTF-8" >
- <table border="0" cellspacing="0" cellpadding="0" width="35%"><tr><td>
- <center><table border="0">
- <tr>
- <td width="50">AE Title</td>
- <td title="AE Title" >
- <input size="25" name="title" type="text" value=""/>
- </td>
- </tr>
- <tr>
- <td width="50">Hostname</td>
- <td title="Hostname" >
- <input size="25" name="hostName" type="text" value=""/>
- <input name="checkHost" type="checkbox" value="true">
- <xsl:if test="/model/checkHost = 'true'">
- <xsl:attribute name="checked"/>
- </xsl:if>
- </input> check
- <input name="checkHost" type="hidden" value="false" /> <!-- submit false for unselect state -->
- </td>
- </tr>
- <tr>
- <td width="50">Port</td>
- <td title="Port">
- <input size="25" name="port" type="text" value=""/>
- </td>
- </tr>
- <tr>
- <td>Cipher Suites</td>
-
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">1</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[1]" />
- </xsl:call-template>
- </td>
- </tr><tr>
- <td></td>
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">2</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[2]" />
- </xsl:call-template>
- </td>
- </tr><tr>
- <td></td>
- <td title="Cipher select">
- <xsl:call-template name="cipherSelect">
- <xsl:with-param name="cipherNumber">3</xsl:with-param>
- <xsl:with-param name="cipher" select="cipherSuites/item[3]" />
- </xsl:call-template>
- </td>
- </tr>
- <tr>
- <td width="50">Issuer of Patient ID</td>
- <td title="Issuer of Patient ID">
- <input size="25" name="issuerOfPatientID" type="text" value=""/>
- </td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number ID</td>
- <td title="Issuer of Accession Number Local Namespace ID">
- <input size="25" name="issuerOfAccessionNumberID" type="text" value=""/>
+ <xsl:template match="model">
+ <xsl:apply-templates select="AE" />
+ </xsl:template>
+
+ <xsl:template match="AE">
+ <html>
+ <body bgcolor="#FFFFFF" cellpadding="0" cellspacing="0"
+ border="0">
+ <center>
+ <form name="ae_edit" action="aenewsubmit.m" method="post"
+ accept-charset="UTF-8">
+ <table border="0" cellspacing="0" cellpadding="0"
+ width="35%">
+ <tr>
+ <td>
+ <center>
+ <table border="0">
+ <tr>
+ <td width="50">AE Title</td>
+ <td title="AE Title">
+ <input size="25" name="title" type="text"
+ value="" />
</td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number UID</td>
- <td title="Issuer of Accession Number Universal Entity ID">
- <input size="25" name="issuerOfAccessionNumberUID" type="text" value=""/>
+ </tr>
+ <tr>
+ <td width="50">Hostname</td>
+ <td title="Hostname">
+ <input size="25" name="hostName" type="text"
+ value="" />
+ <input name="checkHost" type="checkbox"
+ value="true">
+ <xsl:if test="/model/checkHost = 'true'">
+ <xsl:attribute name="checked" />
+ </xsl:if>
+ </input>
+ check
+ <input name="checkHost" type="hidden"
+ value="false" /> <!-- submit false for unselect state -->
</td>
- </tr>
- <tr>
- <td width="50">Issuer of Accession Number UID Type</td>
- <td title="Issuer of Accession Number Universal Entity ID Type">
- <input size="25" name="issuerOfAccessionNumberUIDType" type="text" value=""/>
+ </tr>
+ <tr>
+ <td width="50">Port</td>
+ <td title="Port">
+ <input size="25" name="port" type="text"
+ value="" />
</td>
- </tr>
- <tr>
- <td width="50">User ID</td>
- <td title="User ID">
- <input size="25" name="userID" type="text" value=""/>
- </td>
- </tr>
- <tr>
- <td width="50">Password</td>
- <td title="Password">
- <input size="25" name="password" type="password" value=""/>
- </td>
- </tr>
- <tr>
- <td width="50">FS Group ID</td>
- <td title="File System Group ID">
- <input size="25" name="fileSystemGroupID" type="text" value=""/>
- </td>
- </tr>
- <tr>
- <td width="50">Description</td>
+ </tr>
+ <tr>
+ <td>Cipher Suites</td>
+
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 1
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[1]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 2
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[2]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td title="Cipher select">
+ <xsl:call-template name="cipherSelect">
+ <xsl:with-param name="cipherNumber">
+ 3
+ </xsl:with-param>
+ <xsl:with-param name="cipher"
+ select="cipherSuites/item[3]" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Patient ID</td>
+ <td title="Issuer of Patient ID">
+ <input size="25" name="issuerOfPatientID"
+ type="text" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number ID</td>
+ <td
+ title="Issuer of Accession Number Local Namespace ID">
+ <input size="25" name="issuerOfAccessionNumberID"
+ type="text" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number UID</td>
+ <td
+ title="Issuer of Accession Number Universal Entity ID">
+ <input size="25" name="issuerOfAccessionNumberUID"
+ type="text" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Issuer of Accession Number UID Type
+ </td>
+ <td
+ title="Issuer of Accession Number Universal Entity ID Type">
+ <input size="25"
+ name="issuerOfAccessionNumberUIDType" type="text"
+ value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">User ID</td>
+ <td title="User ID">
+ <input size="25" name="userID" type="text"
+ value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Password</td>
+ <td title="Password">
+ <input size="25" name="password" type="password"
+ value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">FS Group ID</td>
+ <td title="File System Group ID">
+ <input size="25" name="fileSystemGroupID"
+ type="text" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td width="50">Description</td>
<td title="Description">
- <input size="25" name="description" type="text" value=""/>
+ <input size="25" name="description"
+ type="text" value="" />
</td>
- </tr>
- <tr>
- <td width="50">Station Name</td>
+ </tr>
+ <tr>
+ <td width="50">Station Name</td>
<td title="Station Name">
- <input size="25" name="stationName" type="text" value=""/>
+ <input size="25" name="stationName"
+ type="text" value="" />
</td>
- </tr>
- <tr>
- <td width="50">Institution Name</td>
+ </tr>
+ <tr>
+ <td width="50">Institution Name</td>
<td title="Institution Name">
- <input size="25" name="institution" type="text" value=""/>
+ <input size="25" name="institution"
+ type="text" value="" />
</td>
- </tr>
- <tr>
- <td width="50">Department Name</td>
+ </tr>
+ <tr>
+ <td width="50">Department Name</td>
<td title="Institutional Department Name">
- <input size="25" name="department" type="text" value=""/>
+ <input size="25" name="department" type="text"
+ value="" />
</td>
- </tr>
- <tr>
- <td width="50">WADO URL</td>
+ </tr>
+ <tr>
+ <td width="50">WADO URL</td>
<td title="WadoUrl">
- <input size="25" name="wadoUrl" type="text" value=""/>
+ <input size="25" name="wadoUrl" type="text"
+ value="" />
</td>
- </tr>
- <tr>
- <td width="50">Installed</td>
- <td title="Installed" >
- <input name="installed" type="checkbox" value="true">
- <xsl:if test="/model/installed = 'true'">
- <xsl:attribute name="checked"/>
- </xsl:if>
- </input>
- <input name="installed" type="hidden" value="false" /> <!-- submit false for unselect state -->
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <center>
- <input type="submit" name="nix" value="Echo" onclick="return doEcho(this.form)"/>
- <input type="submit" name="new" value="Create"/>
- <input type="submit" name="cancel" value="Cancel" />
- </center>
- </td>
- </tr>
- </table>
-</center>
- </td></tr></table>
- </form>
-</center>
- </body></html>
- </xsl:template>
-
- <xsl:template name="cipherSelect" >
- <xsl:param name="cipherNumber" />
- <xsl:param name="cipher" />
-
- <select name="cipher{$cipherNumber}" >
- <option value="" selected="">-</option>
- <option value="SSL_RSA_WITH_NULL_SHA">
- <xsl:if test="$cipher='SSL_RSA_WITH_NULL_SHA'"><xsl:attribute name="selected"/></xsl:if>
- SSL_RSA_WITH_NULL_SHA
- </option>
- <option value="TLS_RSA_WITH_AES_128_CBC_SHA">
- <xsl:if test="$cipher='TLS_RSA_WITH_AES_128_CBC_SHA'"><xsl:attribute name="selected"/></xsl:if>
- TLS_RSA_WITH_AES_128_CBC_SHA
- </option>
- <option value="SSL_RSA_WITH_3DES_EDE_CBC_SHA">
- <xsl:if test="$cipher='SSL_RSA_WITH_3DES_EDE_CBC_SHA'"><xsl:attribute name="selected"/></xsl:if>
- SSL_RSA_WITH_3DES_EDE_CBC_SHA
- </option>
- </select>
- </xsl:template>
-
+ </tr>
+ <tr>
+ <td width="50">Installed</td>
+ <td title="Installed">
+ <input name="installed" type="checkbox"
+ value="true">
+ <xsl:if test="/model/installed = 'true'">
+ <xsl:attribute name="checked" />
+ </xsl:if>
+ </input>
+ <input name="installed" type="hidden"
+ value="false" /> <!-- submit false for unselect state -->
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <center>
+ <input type="submit" name="nix" value="Echo"
+ onclick="return doEcho(this.form)" />
+ <input type="submit" name="new" value="Create" />
+ <input type="submit" name="cancel"
+ value="Cancel" />
+ </center>
+ </td>
+ </tr>
+ </table>
+ </center>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </center>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template name="cipherSelect">
+ <xsl:param name="cipherNumber" />
+ <xsl:param name="cipher" />
+
+ <select name="cipher{$cipherNumber}">
+ <option value="" selected="">-</option>
+ <option value="SSL_RSA_WITH_NULL_SHA">
+ <xsl:if test="$cipher='SSL_RSA_WITH_NULL_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ SSL_RSA_WITH_NULL_SHA
+ </option>
+ <option value="TLS_RSA_WITH_AES_128_CBC_SHA">
+ <xsl:if test="$cipher='TLS_RSA_WITH_AES_128_CBC_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ TLS_RSA_WITH_AES_128_CBC_SHA
+ </option>
+ <option value="SSL_RSA_WITH_3DES_EDE_CBC_SHA">
+ <xsl:if test="$cipher='SSL_RSA_WITH_3DES_EDE_CBC_SHA'">
+ <xsl:attribute name="selected" />
+ </xsl:if>
+ SSL_RSA_WITH_3DES_EDE_CBC_SHA
+ </option>
+ </select>
+ </xsl:template>
+
</xsl:stylesheet>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|