mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
added xsl tpls
This commit is contained in:
parent
86f9c5ce6a
commit
4191f270f7
23
phpgwapi/templates/default/app_delete.xsl
Normal file
23
phpgwapi/templates/default/app_delete.xsl
Normal 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>
|
17
phpgwapi/templates/default/app_header.xsl
Normal file
17
phpgwapi/templates/default/app_header.xsl
Normal 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>
|
Loading…
Reference in New Issue
Block a user