[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.2,1.3
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.2,1.3 investment.xsl,1.5,1.6 invoice.xsl,1.15,1.16 lookup.xsl,1.10,1.11 standard_entity.xsl,1.5,1.6 tts.xsl,1.3,1.4 |
Date: |
Sat, 15 Feb 2003 14:51:43 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv5594/templates/default
Modified Files:
equipment.xsl investment.xsl invoice.xsl lookup.xsl
standard_entity.xsl tts.xsl
Log Message:
no message
Index: equipment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/equipment.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** equipment.xsl 12 Feb 2003 19:33:37 -0000 1.2
--- equipment.xsl 15 Feb 2003 19:51:40 -0000 1.3
***************
*** 184,187 ****
--- 184,194 ----
<xsl:template match="edit">
+
+ <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>
+
<div align="left">
<xsl:call-template name="app_header"/>
***************
*** 202,248 ****
</xsl:for-each>
<xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
! <form method="post" action="{$form_action}">
! <tr>
! <td valign="top">
! <xsl:value-of
select="lang_property_id"/>
! </td>
! <td>
! <xsl:choose>
! <xsl:when
test="value_property_id != '' and error=''">
! <xsl:value-of
select="value_property_id"/>
! </xsl:when>
! <xsl:otherwise>
! <input type="text"
name="values[property_id]" value="{value_property_id}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_property_id_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
! </xsl:otherwise>
! </xsl:choose>
! </td>
! </tr>
<tr>
<td valign="top">
! <xsl:value-of
select="lang_building_id"/>
</td>
<td>
<xsl:choose>
! <xsl:when
test="value_building_id != ''">
! <xsl:value-of
select="value_building_id"/>
! </xsl:when>
! <xsl:otherwise>
! <input type="text"
name="values[building_id]" value="{value_building_id}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_building_id_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</xsl:otherwise>
! </xsl:choose>
</td>
</tr>
<tr>
<td>
--- 209,262 ----
</xsl:for-each>
<xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
! <form method="post" name="form" action="{$form_action}">
! <xsl:choose>
! <xsl:when test="value_equipment_id= ''">
! <tr>
! <td>
! <xsl:value-of
select="lang_generate_id"/>
! </td>
! <td>
! <input type="checkbox"
name="values[generate_id]" value="True" onMouseout="window.status='';return
true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_generate_id_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
! </td>
! </tr>
! </xsl:when>
! </xsl:choose>
<tr>
<td valign="top">
! <xsl:value-of
select="lang_equipment_id"/>
</td>
<td>
<xsl:choose>
! <xsl:when
test="value_equipment_id=''">
! <input type="text"
name="values[equipment_idd]" value="{value_equipment_id}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_equipment_id_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
+
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of
select="value_equipment_id"/>
</xsl:otherwise>
! </xsl:choose>
</td>
</tr>
+ <xsl:choose>
+ <xsl:when test="location_type='form'">
+ <xsl:call-template
name="location_form"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template
name="location_view"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:call-template name="vendor_form"/>
<tr>
<td>
***************
*** 254,335 ****
</tr>
<tr>
! <td>
! <xsl:value-of
select="lang_part_of_town"/>
</td>
<td>
! <xsl:call-template
name="select_part_of_town"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_name"/>
</td>
<td>
! <input type="text" name="values[name]"
value="{value_name}" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_name_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
!
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of
select="lang_generaladdress"/>
</td>
<td>
! <input type="text"
name="values[generaladdress]" value="{value_generaladdress}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_generaladdress_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
!
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of
select="lang_generellinfo"/>
</td>
<td>
! <textarea cols="60" rows="10"
name="values[generellinfo]" wrap="virtual" onMouseout="window.status='';return
true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_name_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
! <xsl:value-of
select="value_generellinfo"/>
</textarea>
- </td>
- </tr>
- <tr>
- <td>
- <xsl:value-of select="lang_access"/>
- </td>
- <td>
- <xsl:choose>
- <xsl:when
test="value_access = 'private'">
- <input
type="checkbox" name="values[access]" value="True" checked="checked"
onMouseout="window.status='';return true;">
-
<xsl:attribute name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
-
<xsl:value-of select="lang_access_on_statustext"/>
-
<xsl:text>'; return true;</xsl:text>
-
</xsl:attribute>
- </input>
- </xsl:when>
- <xsl:otherwise>
- <input
type="checkbox" name="values[access]" value="True"
onMouseout="window.status='';return true;">
-
<xsl:attribute name="onMouseover">
-
<xsl:text>window.status='</xsl:text>
-
<xsl:value-of select="lang_access_off_statustext"/>
-
<xsl:text>'; return true;</xsl:text>
-
</xsl:attribute>
- </input>
- </xsl:otherwise>
- </xsl:choose>
</td>
</tr>
--- 268,345 ----
</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>
<td valign="top">
! <xsl:value-of select="lang_lifetime"/>
</td>
<td>
! <input type="text"
name="values[lifetime]" value="{value_lifetime}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_lifetime_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
! <xsl:text> </xsl:text> [ <xsl:value-of
select="lang_year"/> ]
! </td>
! </tr>
! <tr>
! <td>
! <xsl:value-of select="lang_status"/>
! </td>
! <td>
! <xsl:call-template
name="status_select"/>
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_cost"/>
</td>
<td>
! <input type="text" name="values[cost]"
value="{value_cost}" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_cost_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
! <xsl:text> </xsl:text> [ <xsl:value-of
select="currency"/> ]
</td>
</tr>
<tr>
<td valign="top">
! <xsl:value-of select="lang_descr"/>
</td>
<td>
! <textarea cols="60" rows="6"
name="values[descr]" wrap="virtual" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
! <xsl:value-of
select="lang_descr_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
! <xsl:value-of
select="value_descr"/>
</textarea>
</td>
</tr>
Index: investment.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/investment.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** investment.xsl 3 Feb 2003 21:50:22 -0000 1.5
--- investment.xsl 15 Feb 2003 19:51:40 -0000 1.6
***************
*** 532,536 ****
<xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
<form method="post" action="{$form_action}" name="form">
! <xsl:call-template name="location"/>
<tr>
--- 532,536 ----
<xsl:variable name="form_action"><xsl:value-of
select="form_action"/></xsl:variable>
<form method="post" action="{$form_action}" name="form">
! <xsl:call-template name="location_form"/>
<tr>
Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** invoice.xsl 27 Jan 2003 10:40:31 -0000 1.15
--- invoice.xsl 15 Feb 2003 19:51:40 -0000 1.16
***************
*** 604,608 ****
<td align="left">
! <input type="text" name="abid"
onClick="abook()" value="{vendor_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 604,608 ----
<td align="left">
! <input type="text" name="vendor_id"
onClick="abook()" value="{vendor_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
***************
*** 899,903 ****
<td align="left">
! <input type="text" name="abid"
onClick="abook()" value="{vendor_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 899,903 ----
<td align="left">
! <input type="text" name="vendor_id"
onClick="abook()" value="{vendor_id}" size="4"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
***************
*** 1584,1588 ****
</td>
<td>
! <input type="text" name="abid"
value="{value_abid}" size="4" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
--- 1584,1588 ----
</td>
<td>
! <input type="text" name="vendor_id"
value="{value_abid}" size="4" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/lookup.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** lookup.xsl 11 Feb 2003 20:41:19 -0000 1.10
--- lookup.xsl 15 Feb 2003 19:51:40 -0000 1.11
***************
*** 31,35 ****
function ExchangeVendor(thisform)
{
! opener.document.form.abid.value =
thisform.elements[0].value;
opener.document.form.vendor_name.value =
thisform.elements[1].value;
window.close()
--- 31,35 ----
function ExchangeVendor(thisform)
{
! opener.document.form.vendor_id.value =
thisform.elements[0].value;
opener.document.form.vendor_name.value =
thisform.elements[1].value;
window.close()
Index: standard_entity.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/standard_entity.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** standard_entity.xsl 12 Feb 2003 19:33:37 -0000 1.5
--- standard_entity.xsl 15 Feb 2003 19:51:40 -0000 1.6
***************
*** 59,62 ****
--- 59,65 ----
</td>
<td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_prefix"/>
+ </td>
+ <td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_attribute"/>
</td>
***************
*** 98,101 ****
--- 101,107 ----
<xsl:value-of select="first"/>
</td>
+ <td align="left">
+ <xsl:value-of select="prefix"/>
+ </td>
<td align="center">
<xsl:variable
name="link_attribute"><xsl:value-of select="link_attribute"/></xsl:variable>
***************
*** 211,214 ****
--- 217,234 ----
</textarea>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+ <xsl:value-of select="lang_prefix"/>
+ </td>
+ <td>
+ <input type="text"
name="values[prefix]" value="{value_prefix}"
onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_prefix_standardtext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
</td>
</tr>
Index: tts.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/tts.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** tts.xsl 6 Feb 2003 12:03:18 -0000 1.3
--- tts.xsl 15 Feb 2003 19:51:40 -0000 1.4
***************
*** 185,189 ****
</xsl:for-each>
! <xsl:call-template name="location"/>
<tr>
<td valign="top">
--- 185,189 ----
</xsl:for-each>
! <xsl:call-template name="location_form"/>
<tr>
<td valign="top">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default equipment.xsl,1.2,1.3 investment.xsl,1.5,1.6 invoice.xsl,1.15,1.16 lookup.xsl,1.10,1.11 standard_entity.xsl,1.5,1.6 tts.xsl,1.3,1.4,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.14,1.15 class.boequipment.inc.php,1.2,1.3 class.boinvoice.inc.php,1.9,1.10 class.soequipment.inc.php,1.2,1.3 class.soinvoice.inc.php,1.11,1.12 class.sostandard_2.inc.php,1.4,1.5class.sostandard_entity.inc.php,1.6,1.7 class.uiequipment.inc.php,1.2,1.3class.uiinvestment.inc.php,1.7,1.8 class.uiinvoice.inc.php,1.11,1.12class.uistandard_entity.inc.php,1.5,1.6 class.uitts.inc.php,1.9,1.10 hook_admin.inc.php,1.15,1.16
- Next by Date:
[Phpgroupware-cvs] CVS: addressbook/inc hook_home.inc.php,1.13.2.3,1.13.2.4
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.14,1.15 class.boequipment.inc.php,1.2,1.3 class.boinvoice.inc.php,1.9,1.10 class.soequipment.inc.php,1.2,1.3 class.soinvoice.inc.php,1.11,1.12 class.sostandard_2.inc.php,1.4,1.5class.sostandard_entity.inc.php,1.6,1.7 class.uiequipment.inc.php,1.2,1.3class.uiinvestment.inc.php,1.7,1.8 class.uiinvoice.inc.php,1.11,1.12class.uistandard_entity.inc.php,1.5,1.6 class.uitts.inc.php,1.9,1.10 hook_admin.inc.php,1.15,1.16
- Next by thread:
[Phpgroupware-cvs] CVS: addressbook/inc hook_home.inc.php,1.13.2.3,1.13.2.4
- Index(es):