Project

General

Profile

« Previous | Next » 

Revision 1689

Added by Jing Tao about 21 years ago

Revise some templates.

View differences:

eml-access-2.0.0.xsl
68 68
        <tr><td class="{$accesssubHeaderStyle}" colspan="2">
69 69
        <xsl:text>Access Rules:</xsl:text></td></tr>
70 70
        <xsl:if test="normalize-space(./@order)='allowFirst' and (allow)">
71
        <tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}">&#160;</td>
72
            <td width="{$secondColWidth}" class="{$secondColStyle}">&#160;</td>
73
        </tr>
74 71
            <xsl:call-template name="allow_deny">
75 72
                <xsl:with-param name="permission" select="'allow'"/>
76 73
                <xsl:with-param name="accessfirstColStyle" select="$accessfirstColStyle"/>
77 74
             </xsl:call-template>
78 75
        </xsl:if>
79 76
        <xsl:if test="(deny)">
80
        <tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}">&#160;</td>
81
            <td width="{$secondColWidth}" class="{$secondColStyle}">&#160;</td>
82
        </tr>
83
            <xsl:call-template name="allow_deny">
77
           <xsl:call-template name="allow_deny">
84 78
                <xsl:with-param name="permission" select="'deny'"/>
85 79
                <xsl:with-param name="accessfirstColStyle" select="$accessfirstColStyle"/>
86 80
            </xsl:call-template>
87 81
        </xsl:if>
88
        <tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}">&#160;</td>
89
            <td width="{$secondColWidth}" class="{$secondColStyle}">&#160;</td>
90
        </tr>
91 82
        <xsl:if test="normalize-space(acl/@order)='denyFirst' and (allow)">
92 83
            <xsl:call-template name="allow_deny">
93 84
                <xsl:with-param name="permission" select="'allow'"/>

Also available in: Unified diff