관리-도구
편집 파일: ExpiringAccounts.xsl
<?xml version="1.0" encoding="UTF-8"?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <html> <xsl:variable name="export"><xsl:value-of select="results/export"/></xsl:variable> <xsl:if test="$export = 'false'"> <head> <title>Expiring Accounts</title> </head> <body bgcolor="#CCCCCC"> <center><b>Expiring Accounts</b></center> <br/> Parameters : <xsl:value-of select="results/params"/><br/> <table cellpadding="5"> <tr> <td></td> <td><b>Username</b></td> <td><b>Expiration</b></td> </tr> <xsl:for-each select="results/users/users_subitem"> <tr> <td></td> <td nowrap="nowrap" valign="top"><xsl:value-of select="username"/></td> <td nowrap="nowrap" valign="top"><xsl:value-of select="account_expire"/></td> </tr> </xsl:for-each> </table> </body> </xsl:if> <xsl:if test="$export = 'true'"> "Expiring Accounts"<br/> "<xsl:value-of select="results/params"/>"<br/> ,"Username" ,"Expiration" <br/> <xsl:for-each select="results/users/users_subitem"> ,"<xsl:value-of select="username"/>" ,"<xsl:value-of select="account_expire"/>" <br/> </xsl:for-each> </xsl:if> </html> </xsl:template> </xsl:transform>