[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default pricebook.xsl,1.4,1.5
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default pricebook.xsl,1.4,1.5 |
Date: |
Wed, 05 Mar 2003 09:31:54 -0500 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv10077/templates/default
Modified Files:
pricebook.xsl
Log Message:
no message
Index: pricebook.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/pricebook.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pricebook.xsl 4 Mar 2003 19:32:04 -0000 1.4
--- pricebook.xsl 5 Mar 2003 14:31:52 -0000 1.5
***************
*** 6,9 ****
--- 6,12 ----
<xsl:apply-templates select="edit_activity"/>
</xsl:when>
+ <xsl:when test="edit_agreement">
+ <xsl:apply-templates select="edit_agreement"/>
+ </xsl:when>
<xsl:when test="view">
<xsl:apply-templates select="view"/>
***************
*** 12,15 ****
--- 15,21 ----
<xsl:apply-templates select="list_activities"/>
</xsl:when>
+ <xsl:when test="agreement">
+ <xsl:apply-templates select="agreement"/>
+ </xsl:when>
<xsl:when test="prizing">
<xsl:apply-templates select="prizing"/>
***************
*** 220,223 ****
--- 226,343 ----
</xsl:template>
+ <xsl:template match="agreement">
+ <xsl:variable name="check_source"><xsl:value-of
select="check_source"/></xsl:variable>
+ <SCRIPT LANGUAGE="JavaScript" SRC="{$check_source}"></SCRIPT>
+ <xsl:call-template name="app_header"/>
+ <xsl:call-template name="menu"/>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:for-each select="error" >
+ <tr>
+ <td class="th_text" colspan="2" align="center">
+ <xsl:value-of select="msg"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ <xsl:for-each select="message" >
+ <tr>
+ <td class="th_text" colspan="2" align="center">
+ <xsl:value-of select="msg"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ <tr>
+ <td align="left">
+ <xsl:call-template
name="status_filter"/>
+ </td>
+ <td align="right">
+ <xsl:call-template name="search_field"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" width="100%">
+ <xsl:call-template name="nextmatchs"/>
+ </td>
+ </tr>
+ </table>
+ <xsl:variable name="update_action"><xsl:value-of
select="update_action"/></xsl:variable>
+ <form method="post" name="form" action="{$update_action}">
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:apply-templates
select="table_header_agreement"/>
+ <xsl:choose>
+ <xsl:when
test="values_agreement[agreement_id]!=''">
+ <xsl:apply-templates
select="values_agreement"/>
+ </xsl:when>
+ </xsl:choose>
+ </table>
+ </form>
+ <table width="100%" cellpadding="2" cellspacing="2"
align="center">
+ <xsl:apply-templates select="table_add"/>
+ </table>
+ </xsl:template>
+
+ <xsl:template match="table_header_agreement">
+ <xsl:variable name="sort_num"><xsl:value-of
select="sort_num"/></xsl:variable>
+ <tr class="th">
+ <td class="th_text" width="5%" align="right">
+ <xsl:value-of select="lang_id"/>
+ </td>
+ <td class="th_text" width="10%" align="right">
+ <a href="{$sort_num}"><xsl:value-of
select="lang_num"/></a>
+ </td>
+ <td class="th_text" width="40%" align="right">
+ <xsl:value-of select="lang_descr"/>
+ </td>
+ <td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_status"/>
+ </td>
+ <td class="th_text" width="5%" align="center">
+ <xsl:value-of select="lang_edit"/>
+ </td>
+ <td class="th_text" width="5%" align="right">
+ <xsl:value-of select="lang_delete"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="values_agreement">
+ <xsl:variable name="lang_edit_statustext"><xsl:value-of
select="lang_edit_statustext"/></xsl:variable>
+ <xsl:variable name="lang_delete_statustext"><xsl:value-of
select="lang_delete_statustext"/></xsl:variable>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="@class">
+ <xsl:value-of
select="@class"/>
+ </xsl:when>
+ <xsl:when test="position() mod
2 = 0">
+
<xsl:text>row_off</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+
<xsl:text>row_on</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="agreement_id"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="num"/>
+ </td>
+ <td align="left">
+ <xsl:value-of select="descr"/>
+ </td>
+ <td align="right">
+ <xsl:value-of select="status"/>
+ </td>
+ <td align="center">
+ <xsl:variable
name="link_edit"><xsl:value-of select="link_edit"/></xsl:variable>
+ <a href="{$link_edit}"
onMouseover="window.status='{$lang_edit_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_edit"/></a>
+ </td>
+ <td align="center">
+ <xsl:variable
name="link_delete"><xsl:value-of select="link_delete"/></xsl:variable>
+ <a href="{$link_delete}"
onMouseover="window.status='{$lang_delete_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of
select="text_delete"/></a>
+ </td>
+ </tr>
+ </xsl:template>
+
<xsl:template match="prizing">
<div align="left">
***************
*** 917,920 ****
--- 1037,1151 ----
</input>
<input type="hidden"
name="ns3420_descr"></input>
+ </td>
+ </tr>
+ <tr height="50">
+ <td>
+ <xsl:variable
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+ <input type="submit"
name="values[save]" value="{$lang_save}" onMouseout="window.status='';return
true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_save_statustext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </td>
+ </tr>
+ </form>
+ <tr>
+ <td>
+ <xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
+ <xsl:variable
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
+ <form method="post"
action="{$done_action}">
+ <input type="submit"
name="done" value="{$lang_done}" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_done_statustext"/>
+ <xsl:text>';
return true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ </xsl:template>
+
+ <!-- add / edit agreement -->
+
+ <xsl:template match="edit_agreement">
+ <script language="JavaScript">
+ self.name="first_Window";
+ function ns3420_lookup()
+ {
+ Window1=window.open('<xsl:value-of
select="ns3420_link"/>',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+ }
+ </script>
+ <div align="left">
+ <xsl:call-template name="app_header"/>
+ <table cellpadding="2" cellspacing="2" width="80%"
align="center">
+ <xsl:for-each select="message" >
+ <tr>
+ <td class="th_text" colspan="2" align="center">
+ <xsl:value-of select="msg"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ <xsl:for-each select="error" >
+ <tr>
+ <td class="th_text" 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}">
+ <xsl:choose>
+ <xsl:when test="value_agreement_id !=''">
+ <tr>
+ <td valign="top">
+ <xsl:value-of
select="lang_agreement_id"/>
+ </td>
+ <td class="th_text" >
+ <xsl:value-of
select="value_agreement_id"/>
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <tr>
+ <td valign="top">
+ <xsl:value-of select="lang_num"/>
+ </td>
+ <td>
+ <input type="text" name="values[num]"
value="{value_num}" onMouseout="window.status='';return true;">
+ <xsl:attribute
name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+ <xsl:value-of
select="lang_num_statustext"/>
+ <xsl:text>'; return
true;</xsl:text>
+ </xsl:attribute>
+ </input>
+ </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_descr"/>
+ </td>
+ <td>
+ <textarea cols="60" rows="4"
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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default pricebook.xsl,1.4,1.5,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.22,1.23 class.bopricebook.inc.php,1.4,1.5 class.soequipment.inc.php,1.8,1.9 class.sopricebook.inc.php,1.4,1.5class.sostandard_2.inc.php,1.6,1.7 class.uipricebook.inc.php,1.4,1.5 class.uistandard_3.inc.php,1.3,1.4 hook_admin.inc.php,1.19,1.20
- Next by Date:
[Phpgroupware-cvs] CVS: property/setup default_records.inc.php,1.8,1.9 tables_current.inc.php,1.40,1.41
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bocommon.inc.php,1.22,1.23 class.bopricebook.inc.php,1.4,1.5 class.soequipment.inc.php,1.8,1.9 class.sopricebook.inc.php,1.4,1.5class.sostandard_2.inc.php,1.6,1.7 class.uipricebook.inc.php,1.4,1.5 class.uistandard_3.inc.php,1.3,1.4 hook_admin.inc.php,1.19,1.20
- Next by thread:
[Phpgroupware-cvs] CVS: property/setup default_records.inc.php,1.8,1.9 tables_current.inc.php,1.40,1.41
- Index(es):