phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.6,1.7


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.6,1.7 menu.xsl,1.1,1.2
Date: Thu, 09 Jan 2003 14:41:43 -0500

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv11133/templates/default

Modified Files:
        invoice.xsl menu.xsl 
Log Message:
no message

Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** invoice.xsl 6 Jan 2003 16:51:13 -0000       1.6
--- invoice.xsl 9 Jan 2003 19:41:41 -0000       1.7
***************
*** 12,15 ****
--- 12,18 ----
                                <xsl:apply-templates select="import"/>
                        </xsl:when>
+                       <xsl:when test="export">
+                               <xsl:apply-templates select="export"/>
+                       </xsl:when>
                        <xsl:when test="debug">
                                <xsl:apply-templates select="debug"/>
***************
*** 1200,1201 ****
--- 1203,1348 ----
        </xsl:template>
  
+ <!-- rollback_file_list -->   
+ 
+       <xsl:template match="rollback_file_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>
+ 
+ 
+ 
+ 
+ <!-- export -->
+ 
+       <xsl:template match="export">
+ 
+               <script language="JavaScript">
+                       var calDateFormat="<xsl:value-of select="dateformat"/>";
+               </script>
+               <xsl:variable name="calendar_source"><xsl:value-of 
select="calendar_source"/></xsl:variable>
+               <SCRIPT LANGUAGE="JavaScript" SRC="{$calendar_source}"></SCRIPT>
+ 
+               <xsl:call-template name="app_header"/>
+               <xsl:call-template name="menu"/> 
+               <table cellpadding="2" cellspacing="2" width="100%" 
align="center">
+                       <tr>
+                               <td colspan="2" align="center">
+                                       <xsl:value-of select="message"/>
+                               </td>
+                       </tr>
+                       <xsl:for-each select="error" >
+                       <tr>
+                               <td colspan="2" align="center">
+                                       <xsl:value-of select="msg"/>
+                               </td>
+                       </tr>
+                       </xsl:for-each>
+                       <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
+                       <form method="post" name="form" action="{$form_action}">
+ 
+ 
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of 
select="lang_select_conv"/>
+                               </td>
+                               <td valign="top">
+                                       <xsl:variable 
name="lang_conv_statustext"><xsl:value-of 
select="lang_conv_statustext"/></xsl:variable>
+                                       <xsl:variable 
name="select_conv"><xsl:value-of select="select_conv"/></xsl:variable>
+                                       <select name="{$select_conv}" 
class="forms" onMouseover="window.status='{$lang_conv_statustext}'; return 
true;" onMouseout="window.status='';return true;">
+                                               <option value=""><xsl:value-of 
select="lang_select_conv"/></option>
+                                               <xsl:apply-templates 
select="conv_list"/>
+                                       </select>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_export_to_file"/>
+                               </td>
+                               <td>
+                                       <input type="checkbox" 
name="values[download]" value="on" checked="checked" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_debug_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+ 
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of 
select="lang_select_file"/>
+                               </td>
+                               <td valign="top">
+                                       <xsl:variable 
name="lang_file_statustext"><xsl:value-of 
select="lang_file_statustext"/></xsl:variable>
+                                       <xsl:variable 
name="select_file"><xsl:value-of select="select_file"/></xsl:variable>
+                                       <select name="{$select_file}" 
class="forms" onMouseover="window.status='{$lang_file_statustext}'; return 
true;" onMouseout="window.status='';return true;">
+                                               <option value=""><xsl:value-of 
select="lang_no_file"/></option>
+                                               <xsl:apply-templates 
select="rollback_file_list"/>
+                                       </select>
+                               </td>
+                       </tr>
+ 
+ 
+                       <tr>
+ 
+                               <td valign="top">
+                                       <xsl:value-of select="lang_date"/>
+                               </td>
+                               <td>
+                                       <input type="text" name="date" 
value="{value_date}" size="12" readonly="readonly" 
onMouseout="window.status='';return true;" >
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_date_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+ 
+                                       <xsl:variable 
name="calendar_gif"><xsl:value-of select="calendar_gif"/></xsl:variable>
+                                       <xsl:variable 
name="link_calendar_date"><xsl:value-of 
select="link_calendar_date"/></xsl:variable>
+ 
+                                       <a href="javascript:doNothing()" 
onClick="{$link_calendar_date}">
+                                       <img src="{$calendar_gif}" border="2" 
width="12" height="12"/></a>
+                                       <xsl:value-of 
select="lang_popup_calendar"/>
+ 
+                               
+                               </td>
+                       </tr>
+ 
+                       <tr height="50">
+                               <td>
+                                       <xsl:variable 
name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
+                                       <input type="submit" 
name="values[submit]" value="{$lang_submit}" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_import_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+                       </form>
+                       <tr>
+                               <td>
+                                       <xsl:variable 
name="cancel_action"><xsl:value-of select="cancel_action"/></xsl:variable>
+                                       <xsl:variable 
name="lang_cancel"><xsl:value-of select="lang_cancel"/></xsl:variable>
+                                       <form method="post" 
action="{$cancel_action}">
+                                               <input type="submit" 
name="done" value="{$lang_cancel}" onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_cancel_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </form>
+                               </td>
+                       </tr>
+               </table>
+       </xsl:template>

Index: menu.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/menu.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** menu.xsl    11 Dec 2002 19:31:21 -0000      1.1
--- menu.xsl    9 Jan 2003 19:41:41 -0000       1.2
***************
*** 159,161 ****
--- 159,162 ----
                        </tr>
                </table>
+               <hr noshade="noshade" width="100%" align="center" size="1"/>
        </xsl:template>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]