mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 10:02:21 +02:00
added xsl tpl
This commit is contained in:
parent
5533870f76
commit
28140d0ccb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<xsl:template match="delete">
|
<xsl:template match="delete">
|
||||||
<xsl:call-template name="app_header"/>
|
<xsl:call-template name="app_header"/>
|
||||||
<table border="0" cellpadding="2" cellspacing="4" align="center">
|
<table cellpadding="2" cellspacing="2" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
|
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
<xsl:variable name="delete_action"><xsl:value-of select="delete_action"/></xsl:variable>
|
<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>
|
<xsl:variable name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
|
||||||
<form method="POST" action="{$delete_action}">
|
<form method="POST" action="{$delete_action}">
|
||||||
<input type="submit" name="confirm" value="{$lang_yes}"/>
|
<input type="submit" class="forms" name="confirm" value="{$lang_yes}"/>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="app_header">
|
<xsl:template name="app_header">
|
||||||
<table border="0" cellpadding="2" cellspacing="4" width="98%" align="center">
|
<table cellpadding="2" cellspacing="2" width="98%" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="appheader"><xsl:value-of select="appname"/></td>
|
<td class="appheader"><xsl:value-of select="appname"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
28
phpgwapi/templates/default/cat_filter.xsl
Normal file
28
phpgwapi/templates/default/cat_filter.xsl
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<!-- $Id$ -->
|
||||||
|
|
||||||
|
<xsl:template name="cat_select">
|
||||||
|
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
||||||
|
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
||||||
|
<form method="post" action="{$select_action}">
|
||||||
|
<select name="cat_id" class="forms" onChange="this.form.submit();">
|
||||||
|
<option value=""><xsl:value-of select="lang_select_category"/></option>
|
||||||
|
<xsl:apply-templates select="cat_list"/>
|
||||||
|
</select>
|
||||||
|
<noscript>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
<input type="submit" class="forms" name="submit" value="{$lang_submit}"/>
|
||||||
|
</noscript>
|
||||||
|
</form>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="cat_list">
|
||||||
|
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="selected">
|
||||||
|
<option value="{$id}" selected="selected"><xsl:value-of select="name"/></option>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<option value="{$id}"><xsl:value-of select="name"/></option>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
@ -1,18 +1,8 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="cat_select">
|
<xsl:template name="cat_select">
|
||||||
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
<option value=""><xsl:value-of select="lang_select_category"/></option>
|
||||||
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
<xsl:apply-templates select="cat_list"/>
|
||||||
<form method="post" action="{$select_action}">
|
|
||||||
<select name="cat_id" class="forms" onChange="this.form.submit();">
|
|
||||||
<option value=""><xsl:value-of select="lang_select_category"/></option>
|
|
||||||
<xsl:apply-templates select="cat_list"/>
|
|
||||||
</select>
|
|
||||||
<noscript>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<input type="submit" class="forms" name="submit" value="{$lang_submit}"/>
|
|
||||||
</noscript>
|
|
||||||
</form>
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="cat_list">
|
<xsl:template match="cat_list">
|
||||||
|
Loading…
Reference in New Issue
Block a user