mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
added xsl tpl
This commit is contained in:
parent
5533870f76
commit
28140d0ccb
@ -2,7 +2,7 @@
|
||||
|
||||
<xsl:template match="delete">
|
||||
<xsl:call-template name="app_header"/>
|
||||
<table border="0" cellpadding="2" cellspacing="4" align="center">
|
||||
<table cellpadding="2" cellspacing="2" align="center">
|
||||
<tr>
|
||||
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
|
||||
</tr>
|
||||
@ -11,7 +11,7 @@
|
||||
<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}"/>
|
||||
<input type="submit" class="forms" name="confirm" value="{$lang_yes}"/>
|
||||
</form>
|
||||
</td>
|
||||
<td align="right">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<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>
|
||||
<td class="appheader"><xsl:value-of select="appname"/></td>
|
||||
</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$ -->
|
||||
|
||||
<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>
|
||||
<option value=""><xsl:value-of select="lang_select_category"/></option>
|
||||
<xsl:apply-templates select="cat_list"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="cat_list">
|
||||
|
Loading…
Reference in New Issue
Block a user