[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.5,1.6
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.5,1.6 |
Date: |
Mon, 06 Jan 2003 11:51:16 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv1016/templates/default
Modified Files:
invoice.xsl
Log Message:
no message
Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** invoice.xsl 6 Jan 2003 08:29:57 -0000 1.5
--- invoice.xsl 6 Jan 2003 16:51:13 -0000 1.6
***************
*** 15,18 ****
--- 15,21 ----
<xsl:apply-templates select="debug"/>
</xsl:when>
+ <xsl:when test="edit_period">
+ <xsl:apply-templates select="edit_period"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="list_invoice"/>
***************
*** 21,24 ****
--- 24,71 ----
</xsl:template>
+ <xsl:template match="edit_period">
+ <xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
+ <form method="post" action="{$form_action}">
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <tr>
+ <td colspan="2" align="center">
+ <xsl:value-of select="message"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+ <xsl:variable name="select_name"><xsl:value-of
select="select_name"/></xsl:variable>
+ <select name="{$select_name}" class="forms" >
+ <xsl:apply-templates
select="period_list"/>
+ </select>
+ </td>
+ </tr>
+ <tr height="50">
+ <td>
+ <xsl:variable
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+ <input type="submit" name="submit"
value="{$lang_save}" >
+ </input>
+ </td>
+ </tr>
+
+
+ </table>
+ </form>
+ </xsl:template>
+
+ <xsl:template match="period_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 disable-output-escaping="yes"
select="name"/></option>
+ </xsl:when>
+ <xsl:otherwise>
+ <option value="{$id}"><xsl:value-of
disable-output-escaping="yes" select="name"/></option>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
<xsl:template match="list_invoice">
<div id="overDiv" style="position:absolute;
visibility:hide;z-index:1;"></div>
***************
*** 213,217 ****
<xsl:variable
name="lang_period_help"><xsl:value-of select="lang_period_help"/></xsl:variable>
<xsl:variable
name="lang_period"><xsl:value-of select="lang_period"/></xsl:variable>
! <a href="javascript:var
w=window.open('{$link_period}','','width=150,height=200,scrollbars,resizeable=YES')"
onMouseOver="overlib('{$lang_period_help}', CAPTION, '{$lang_period}')"
onMouseOut="nd()">
--- 260,264 ----
<xsl:variable
name="lang_period_help"><xsl:value-of select="lang_period_help"/></xsl:variable>
<xsl:variable
name="lang_period"><xsl:value-of select="lang_period"/></xsl:variable>
! <a href="javascript:var
w=window.open('{$link_period}','','width=150,height=300,scrollbars,resizeable=YES')"
onMouseOver="overlib('{$lang_period_help}', CAPTION, '{$lang_period}')"
onMouseOut="nd()">
***************
*** 750,753 ****
--- 797,801 ----
<xsl:call-template name="app_header"/>
+ <xsl:call-template name="menu"/>
<table cellpadding="2" cellspacing="2" width="100%"
align="center">
<tr>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.5,1.6,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.4,1.5
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc/import Import_fra_BKK,1.5,1.6 Import_fra_Kemner,1.6,1.7 Import_fra_Service,1.7,1.8
- Previous by thread:
[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.4,1.5
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc/import Import_fra_BKK,1.5,1.6 Import_fra_Kemner,1.6,1.7 Import_fra_Service,1.7,1.8
- Index(es):