mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
added xsl tpl
This commit is contained in:
parent
71610c3297
commit
5533870f76
@ -3,7 +3,7 @@
|
||||
<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>
|
||||
<td class="appheader"><xsl:value-of select="appname"/></td>
|
||||
</tr>
|
||||
<xsl:apply-templates select="function_msg"/>
|
||||
</table>
|
||||
@ -12,6 +12,6 @@
|
||||
|
||||
<xsl:template match="function_msg">
|
||||
<tr>
|
||||
<td><b><xsl:value-of select="."/></b></td>
|
||||
<td class="functionmsg"><xsl:value-of select="."/></td>
|
||||
</tr>
|
||||
</xsl:template>
|
||||
|
@ -1,8 +1,18 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="cat_select">
|
||||
<option value=""><xsl:value-of select="lang_select_category"/></option>
|
||||
<xsl:apply-templates select="cat_list"/>
|
||||
<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">
|
||||
|
@ -1,7 +1,17 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="filter_select">
|
||||
<xsl:apply-templates select="filter_list"/>
|
||||
<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="filter" class="forms" onChange="this.form.submit()">
|
||||
<xsl:apply-templates select="filter_list"/>
|
||||
</select>
|
||||
<noscript>
|
||||
<xsl:text> </xsl:text>
|
||||
<input type="submit" class="forms" name="submit" value="{$lang_submit}"/>
|
||||
</noscript>
|
||||
</form>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="filter_list">
|
||||
|
12
phpgwapi/templates/default/search_field.xsl
Normal file
12
phpgwapi/templates/default/search_field.xsl
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="search_field">
|
||||
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
||||
<xsl:variable name="query"><xsl:value-of select="query"/></xsl:variable>
|
||||
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
||||
<form method="post" action="{$select_action}">
|
||||
<input type="text" class="forms" name="query" value="{$query}"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<input type="submit" class="forms" name="submit" value="{$lang_submit}"/>
|
||||
</form>
|
||||
</xsl:template>
|
Loading…
Reference in New Issue
Block a user