[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/templates/default drawing.xsl,NONE,1.1
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/templates/default drawing.xsl,NONE,1.1 request.xsl,1.2,1.3 |
Date: |
Sun, 20 Apr 2003 18:24:33 -0400 |
Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv11709/templates/default
Modified Files:
request.xsl
Added Files:
drawing.xsl
Log Message:
no message
***** Error reading new file: [Errno 2] No such file or directory: 'drawing.xsl'
Index: request.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/request.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** request.xsl 14 Apr 2003 07:24:22 -0000 1.2
--- request.xsl 20 Apr 2003 22:24:30 -0000 1.3
***************
*** 354,364 ****
<xsl:when test="value_request_id!=''">
<td valign="top">
! <xsl:variable
name="add_workorder_action"><xsl:value-of
select="add_workorder_action"/>&request_id=<xsl:value-of
select="value_request_id"/></xsl:variable>
! <xsl:variable
name="lang_add_workorder"><xsl:value-of
select="lang_add_workorder"/></xsl:variable>
! <form method="post"
action="{$add_workorder_action}">
! <input type="submit"
class="forms" name="add_workorder" value="{$lang_add_workorder}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_add_workorder_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
--- 354,369 ----
<xsl:when test="value_request_id!=''">
<td valign="top">
! <xsl:variable
name="generate_project_action"><xsl:value-of
select="generate_project_action"/></xsl:variable>
! <xsl:variable
name="lang_generate_project"><xsl:value-of
select="lang_generate_project"/></xsl:variable>
! <form method="post"
action="{$generate_project_action}">
! <input type="hidden"
name="location_code" value="{location_code}"></input>
! <input type="hidden"
name="bypass" value="true"></input>
! <input type="hidden"
name="descr" value="{value_descr}"></input>
! <input type="hidden"
name="tenant_id" value="{tenant_id}"></input>
! <input type="hidden"
name="equipment_id" value="{equipment_id}"></input>
! <input type="submit"
class="forms" name="generate_project" value="{$lang_generate_project}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
!
<xsl:value-of select="lang_generate_project_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
***************
*** 556,559 ****
--- 561,572 ----
<tr>
+ <td align="left">
+ <xsl:value-of select="lang_score"/>
+ </td>
+ <td>
+ <xsl:value-of select="value_score"/>
+ </td>
+ </tr>
+ <tr>
<xsl:choose>
<xsl:when test="notify='yes'">
***************
*** 1106,1115 ****
<xsl:template match="view">
- <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"/>
--- 1119,1122 ----
***************
*** 1125,1132 ****
<tr>
<td valign="top">
! <xsl:value-of select="lang_name"/>
</td>
<td>
! <xsl:value-of select="value_name"/>
</td>
</tr>
--- 1132,1139 ----
<tr>
<td valign="top">
! <xsl:value-of select="lang_title"/>
</td>
<td>
! <xsl:value-of select="value_title"/>
</td>
</tr>
***************
*** 1136,1140 ****
</td>
<td>
! <xsl:value-of select="value_descr"/>
</td>
</tr>
--- 1143,1147 ----
</td>
<td>
! <xsl:value-of select="value_descr"/>
</td>
</tr>
***************
*** 1153,1157 ****
</xsl:for-each>
</tr>
! <xsl:call-template name="location_view"/>
<tr>
<td valign="top">
--- 1160,1164 ----
</xsl:for-each>
</tr>
! <xsl:call-template name="location_view"/>
<tr>
<td valign="top">
***************
*** 1163,1178 ****
</tr>
<tr>
- <td>
- <xsl:value-of
select="lang_charge_tenant"/>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="charge_tenant='1'">
- X
- </xsl:when>
- </xsl:choose>
- </td>
- </tr>
- <tr>
<td valign="top">
<xsl:value-of select="lang_budget"/>
--- 1170,1173 ----
***************
*** 1201,1213 ****
<xsl:value-of select="lang_status"/>
</td>
! <xsl:for-each select="status_list" >
! <xsl:choose>
! <xsl:when
test="selected">
! <td>
!
<xsl:value-of select="name"/>
! </td>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
</tr>
<tr>
--- 1196,1208 ----
<xsl:value-of select="lang_status"/>
</td>
! <xsl:for-each select="status_list" >
! <xsl:choose>
! <xsl:when test="selected">
! <td>
! <xsl:value-of
select="name"/>
! </td>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
</tr>
<tr>
***************
*** 1215,1219 ****
<xsl:value-of select="lang_start_date"/>
</td>
! <td>
<xsl:value-of
select="value_start_date"/>
</td>
--- 1210,1214 ----
<xsl:value-of select="lang_start_date"/>
</td>
! <td>
<xsl:value-of
select="value_start_date"/>
</td>
***************
*** 1231,1282 ****
<xsl:value-of select="lang_branch"/>
</td>
! <td>
! <xsl:for-each
select="branch_list[selected='selected']" >
! <xsl:value-of select="name"/>
! <xsl:if test="position() !=
last()">, </xsl:if>
! </xsl:for-each>
! </td>
! </tr>
! <tr>
! <td>
! <xsl:value-of select="lang_key_fetch"/>
! </td>
! <td>
! <xsl:for-each select="key_fetch_list" >
! <xsl:choose>
! <xsl:when
test="selected">
<xsl:value-of
select="name"/>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
! </td>
</tr>
<tr>
! <td>
! <xsl:value-of
select="lang_key_deliver"/>
! </td>
! <td>
! <xsl:for-each select="key_deliver_list"
>
! <xsl:choose>
! <xsl:when
test="selected">
! <xsl:value-of
select="name"/>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
</td>
</tr>
<tr>
! <td>
! <xsl:value-of
select="lang_key_responsible"/>
</td>
-
<td>
! <xsl:for-each
select="key_responsible_list" >
! <xsl:choose>
! <xsl:when
test="selected">
! <xsl:value-of
select="name"/>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
</td>
</tr>
--- 1226,1257 ----
<xsl:value-of select="lang_branch"/>
</td>
! <xsl:for-each select="branch_list" >
! <xsl:choose>
! <xsl:when test="selected">
! <td>
<xsl:value-of
select="name"/>
! </td>
! </xsl:when>
! </xsl:choose>
! </xsl:for-each>
</tr>
<tr>
! <td class="th_text" valign="top">
! <xsl:value-of select="lang_importance"/>
</td>
+ <td>
+ <table width="100%" cellpadding="2"
cellspacing="2" align="center">
+ <xsl:apply-templates
select="table_header_importance"/>
+ <xsl:apply-templates
select="importance_weight_view"/>
+ </table>
+ </td>
</tr>
+
<tr>
! <td align="left">
! <xsl:value-of select="lang_score"/>
</td>
<td>
! <xsl:value-of select="value_score"/>
</td>
</tr>
***************
*** 1314,1318 ****
<xsl:when test="record_history=''">
<tr>
! <td class="th_text"
align="left">
<xsl:value-of
select="lang_no_history"/>
</td>
--- 1289,1293 ----
<xsl:when test="record_history=''">
<tr>
! <td class="th_text"
align="center">
<xsl:value-of
select="lang_no_history"/>
</td>
***************
*** 1324,1328 ****
<xsl:value-of
select="lang_history"/>
</td>
! </tr>
<xsl:apply-templates
select="table_header_history"/>
<xsl:apply-templates
select="record_history"/>
--- 1299,1303 ----
<xsl:value-of
select="lang_history"/>
</td>
! </tr>
<xsl:apply-templates
select="table_header_history"/>
<xsl:apply-templates
select="record_history"/>
***************
*** 1333,1334 ****
--- 1308,1429 ----
<hr noshade="noshade" width="100%" align="center" size="1"/>
</xsl:template>
+
+
+ <xsl:template match="importance_weight_view">
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_on</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="lang_safety"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="degree_safety"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="probability_safety"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="consequence_safety"/>
+ </td>
+ </tr>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_off</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="lang_aesthetics"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="degree_aesthetics"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="probability_aesthetics"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="consequence_aesthetics"/>
+ </td>
+ </tr>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_on</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="lang_indoor_climate"/>
+ </td>
+ <td align="center">
+ <xsl:value-of select="degree_indoor_climate"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="probability_indoor_climate"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="consequence_indoor_climate"/>
+ </td>
+ </tr>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_off</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of
select="lang_consequential_damage"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="degree_consequential_damage"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="probability_consequential_damage"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="consequence_consequential_damage"/>
+ </td>
+ </tr>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_on</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of select="lang_user_gratification"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="degree_user_gratification"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="probability_user_gratification"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="consequence_user_gratification"/>
+ </td>
+ </tr>
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:text>row_off</xsl:text>
+ </xsl:attribute>
+ <td align="left">
+ <xsl:value-of
select="lang_residential_environment"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="degree_residential_environment"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="probability_residential_environment"/>
+ </td>
+ <td align="center">
+ <xsl:value-of
select="consequence_residential_environment"/>
+ </td>
+ </tr>
+ <tr>
+ <td align="left">
+ <xsl:value-of
select="lang_authorities_demands"/>
+ </td>
+ <td align="center">
+ <xsl:choose>
+ <xsl:when
test="authorities_demands='1'">
+ <b>x</b>
+ </xsl:when>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/templates/default drawing.xsl,NONE,1.1 request.xsl,1.2,1.3,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/inc class.bodrawing.inc.php,NONE,1.1 class.sodrawing.inc.php,NONE,1.1 class.uidrawing.inc.php,NONE,1.1 class.bocommon.inc.php,1.34,1.35 class.historylog.inc.php,1.2,1.3 class.sorequest.inc.php,1.2,1.3 class.sostandard_2.inc.php,1.9,1.10 class.uiproject.inc.php,1.10,1.11 class.uirequest.inc.php,1.2,1.3 hook_admin.inc.php,1.23,1.24
- Next by Date:
[Phpgroupware-cvs] CVS: notes/inc class.bo.inc.php,1.12,1.13 class.ui.inc.php,1.46,1.47
- Previous by thread:
[Phpgroupware-cvs] CVS: property/inc class.bodrawing.inc.php,NONE,1.1 class.sodrawing.inc.php,NONE,1.1 class.uidrawing.inc.php,NONE,1.1 class.bocommon.inc.php,1.34,1.35 class.historylog.inc.php,1.2,1.3 class.sorequest.inc.php,1.2,1.3 class.sostandard_2.inc.php,1.9,1.10 class.uiproject.inc.php,1.10,1.11 class.uirequest.inc.php,1.2,1.3 hook_admin.inc.php,1.23,1.24
- Next by thread:
[Phpgroupware-cvs] CVS: notes/inc class.bo.inc.php,1.12,1.13 class.ui.inc.php,1.46,1.47
- Index(es):