phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default attributes_form.xsl,


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default attributes_form.xsl,1.2,1.3 equipment.xsl,1.9,1.10
Date: Sat, 10 May 2003 12:34:24 -0400

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

Modified Files:
        attributes_form.xsl equipment.xsl 
Log Message:
no message

Index: attributes_form.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/attributes_form.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** attributes_form.xsl 18 Feb 2003 19:29:00 -0000      1.2
--- attributes_form.xsl 10 May 2003 16:34:22 -0000      1.3
***************
*** 2,5 ****
--- 2,7 ----
  
        <xsl:template name="attributes_form">
+               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
+               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
                <table width="100%"  cellpadding="2" cellspacing="2" 
align="center">
                <xsl:apply-templates select="attributes_header"/>
***************
*** 10,23 ****
        <xsl:template match="attributes_header">
                        <tr class="th">
!                               <td class="th_text" width="5%" align="left">
                                        <xsl:value-of select="lang_name"/>
                                </td>
!                               <td class="th_text" width="30%" align="left">
                                        <xsl:value-of select="lang_descr"/>
!                               </td>
!                               <td class="th_text" width="2%" align="left">
                                        <xsl:value-of select="lang_datatype"/>
                                </td>
!                               <td class="th_text" width="2%" align="right">
                                        <xsl:value-of select="lang_value"/>
                                </td>
--- 12,25 ----
        <xsl:template match="attributes_header">
                        <tr class="th">
!                               <td class="th_text" width="15%" align="left">
                                        <xsl:value-of select="lang_name"/>
                                </td>
!                       <!--    <td class="th_text" width="30%" align="left">
                                        <xsl:value-of select="lang_descr"/>
!                               </td> -->
!                               <td class="th_text" width="30%" align="left">
                                        <xsl:value-of select="lang_datatype"/>
                                </td>
!                               <td class="th_text" width="15%" align="right">
                                        <xsl:value-of select="lang_value"/>
                                </td>
***************
*** 45,53 ****
                                        <xsl:value-of select="name"/>
                                </td>
!                               <td align="left">
                                        <xsl:value-of select="descr"/>
!                               </td>
                                <td align="left">
                                        <xsl:value-of select="datatype_text"/>
                                </td>
                                <td align="right">
--- 47,60 ----
                                        <xsl:value-of select="name"/>
                                </td>
!                       <!--    <td align="left">
                                        <xsl:value-of select="descr"/>
!                               </td> -->
                                <td align="left">
                                        <xsl:value-of select="datatype_text"/>
+                                       <xsl:choose>
+                                               <xsl:when test="datatype='D'">
+                                                       
<xsl:text>[</xsl:text><xsl:value-of 
select="//lang_dateformat"/><xsl:text>]</xsl:text>                  
+                                               </xsl:when>
+                                       </xsl:choose>
                                </td>
                                <td align="right">
***************
*** 58,68 ****
                                                        <input type="hidden" 
name="values_attribute[{counter}][entity_id]" value="{entity_id}"></input>
                                                        <input type="hidden" 
name="values_attribute[{counter}][datatype]" value="{datatype}"></input>
!                                                       <input type="text" 
name="values_attribute[{counter}][value]" value="{value}" size="12" 
onMouseout="window.status='';return true;" >
!                                                               <xsl:attribute 
name="onMouseover">
!                                                                       
<xsl:text>window.status='</xsl:text>
!                                                                               
<xsl:value-of select="lang_attribute_statustext"/>
!                                                                       
<xsl:text>'; return true;</xsl:text>
!                                                               </xsl:attribute>
!                                                       </input>
                                                </xsl:when>
                                        </xsl:choose>
--- 65,88 ----
                                                        <input type="hidden" 
name="values_attribute[{counter}][entity_id]" value="{entity_id}"></input>
                                                        <input type="hidden" 
name="values_attribute[{counter}][datatype]" value="{datatype}"></input>
!                                                       <xsl:choose>
!                                                               <xsl:when 
test="datatype='D'">
!                                                                       <input 
type="text" name="values_attribute[{counter}][value]" value="{value}" 
onFocus="{//dateformat_validate}" onKeyUp="{//dateformat_input}" 
onBlur="{//dateformat_input}" size="12" maxlength="10"  
onMouseout="window.status='';return true;" >
!                                                                               
<xsl:attribute name="onMouseover">
!                                                                               
        <xsl:text>window.status='</xsl:text>
!                                                                               
                <xsl:value-of select="descr"/>
!                                                                               
        <xsl:text>'; return true;</xsl:text>
!                                                                               
</xsl:attribute>
!                                                                       </input>
!                                                               </xsl:when>
!                                                               <xsl:otherwise>
!                                                                       <input 
type="text" name="values_attribute[{counter}][value]" value="{value}" size="12" 
onMouseout="window.status='';return true;" >
!                                                                               
<xsl:attribute name="onMouseover">
!                                                                               
        <xsl:text>window.status='</xsl:text>
!                                                                               
                <xsl:value-of select="descr"/>
!                                                                               
        <xsl:text>'; return true;</xsl:text>
!                                                                               
</xsl:attribute>
!                                                                       </input>
!                                                               </xsl:otherwise>
!                                                       </xsl:choose>
                                                </xsl:when>
                                        </xsl:choose>

Index: equipment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/equipment.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** equipment.xsl       23 Apr 2003 07:21:33 -0000      1.9
--- equipment.xsl       10 May 2003 16:34:22 -0000      1.10
***************
*** 371,375 ****
                                <xsl:when test="value_equipment_id!=''">
                                        <tr>
!                                               <td>
                                                        <xsl:value-of 
select="lang_attributes"/>
                                                </td>
--- 371,375 ----
                                <xsl:when test="value_equipment_id!=''">
                                        <tr>
!                                               <td valign="top">
                                                        <xsl:value-of 
select="lang_attributes"/>
                                                </td>





reply via email to

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