added xsl tpls

This commit is contained in:
ceb 2002-09-26 01:49:15 +00:00
parent 86f9c5ce6a
commit 4191f270f7
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<!-- $Id$ -->
<xsl:template match="delete">
<xsl:call-template name="app_header"/>
<table border="0" cellpadding="2" cellspacing="4" align="center">
<tr>
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
</tr>
<tr>
<td>
<xsl:variable name="delete_action"><xsl:value-of select="delete_action"/></xsl:variable>
<xsl:variable name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
<form method="POST" action="{$delete_action}">
<input type="submit" name="confirm" value="{$lang_yes}"/>
</form>
</td>
<td align="right">
<xsl:variable name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
<a href="{$done_action}"><xsl:value-of select="lang_no"/></a>
</td>
</tr>
</table>
</xsl:template>

View File

@ -0,0 +1,17 @@
<!-- $Id$ -->
<xsl:template name="app_header">
<table border="0" cellpadding="2" cellspacing="4" width="98%" align="center">
<tr>
<td><b><xsl:value-of select="appname"/></b></td>
</tr>
<xsl:apply-templates select="function_msg"/>
</table>
<hr noshade="noshade" width="98%" align="center" size="1"/>
</xsl:template>
<xsl:template match="function_msg">
<tr>
<td><b><xsl:value-of select="."/></b></td>
</tr>
</xsl:template>