Revision 1726
Added by Jing Tao almost 21 years ago
eml-access-2.0.0.xsl | ||
---|---|---|
100 | 100 |
<tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}" valign="top"> |
101 | 101 |
ALLOW:</td><td width="{$secondColWidth}"> |
102 | 102 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%"> |
103 |
<tr><td width="{$secondColIndent}" valign="top" class="{$accessfirstColStyle}">
|
|
103 |
<tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}">
|
|
104 | 104 |
<xsl:for-each select="./permission"> |
105 | 105 |
<xsl:text>[</xsl:text><xsl:value-of select="."/><xsl:text>] </xsl:text> |
106 | 106 |
</xsl:for-each></td> |
107 |
<td class="{$accessfirstColStyle}"> |
|
107 |
<td class="{$accessfirstColStyle}" width="{$secondColWidth}">
|
|
108 | 108 |
<xsl:for-each select="principal"> |
109 | 109 |
<xsl:value-of select="."/><br/> |
110 | 110 |
</xsl:for-each> |
111 | 111 |
</td></tr> |
112 |
<tr><td width="{$secondColIndent}"> </td><td> </td></tr> |
|
113 | 112 |
</table></td></tr> |
114 | 113 |
</xsl:for-each> |
115 | 114 |
</xsl:when> |
... | ... | |
118 | 117 |
<tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}" valign="top"> |
119 | 118 |
DENY:</td><td width="{$secondColWidth}"> |
120 | 119 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%"> |
121 |
<tr><td width="{$secondColIndent}" valign="top" class="{$accessfirstColStyle}">
|
|
120 |
<tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}">
|
|
122 | 121 |
<xsl:for-each select="permission"> |
123 | 122 |
<xsl:text>[</xsl:text><xsl:value-of select="."/><xsl:text>] </xsl:text> |
124 | 123 |
</xsl:for-each></td> |
125 |
<td class="{$accessfirstColStyle}"> |
|
124 |
<td class="{$accessfirstColStyle}" width="{$secondColWidth}">
|
|
126 | 125 |
<xsl:for-each select="principal"> |
127 | 126 |
<xsl:value-of select="."/><br/> |
128 | 127 |
</xsl:for-each> |
129 | 128 |
</td></tr> |
130 |
<tr><td width="{$secondColIndent}"> </td><td> </td></tr> |
|
131 |
</table></td></tr> |
|
129 |
</table></td></tr> |
|
132 | 130 |
</xsl:for-each> |
133 | 131 |
</xsl:otherwise> |
134 | 132 |
</xsl:choose> |
Also available in: Unified diff
Revised style sheet base on matthew's suggestion.