fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7539] Merge 7534:7538 from trunk


From: Sigurd Nes
Subject: [Fmsystem-commits] [7539] Merge 7534:7538 from trunk
Date: Tue, 30 Aug 2011 12:04:36 +0000

Revision: 7539
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7539
Author:   sigurdne
Date:     2011-08-30 12:04:36 +0000 (Tue, 30 Aug 2011)
Log Message:
-----------
Merge 7534:7538 from trunk

Modified Paths:
--------------
    branches/Version-1_0-branch/booking/templates/base/booking_edit.xsl
    branches/Version-1_0-branch/booking/templates/base/booking_new.xsl
    branches/Version-1_0-branch/booking/templates/base/organization_edit.xsl
    branches/Version-1_0-branch/booking/templates/base/resource_form.xsl
    branches/Version-1_0-branch/bookingfrontend/templates/base/booking_edit.xsl
    branches/Version-1_0-branch/bookingfrontend/templates/base/booking_new.xsl
    branches/Version-1_0-branch/manual/templates/base/help.tpl
    branches/Version-1_0-branch/property/inc/class.menu.inc.php
    branches/Version-1_0-branch/property/inc/class.sorequest.inc.php
    branches/Version-1_0-branch/property/inc/class.uirequest.inc.php
    branches/Version-1_0-branch/property/setup/phpgw_no.lang
    branches/Version-1_0-branch/property/templates/base/request.xsl

Property Changed:
----------------
    branches/Version-1_0-branch/


Property changes on: branches/Version-1_0-branch
___________________________________________________________________
Modified: svn:mergeinfo
   - 
/trunk:6439-6441,6443,6445-6447,6449-6464,6466-6468,6470-6474,6476-6477,6479-6480,6483-6488,6490-6491,6493-6494,6496-6501,6503-6504,6506,6508,6510-6511,6513,6515-6516,6518,6520-6524,6526-6528,6533-6534,6536-6541,6543-6565,6567,6569,6571-6576,6578,6580-6586,6588-6596,6598-6600,6602-6604,6606-6607,6609-6611,6613-6625,6629-6639,6641-6643,6645-6646,6648,6650-6654,6656-6659,6661-6663,6665-6666,6668-6669,6672-6673,6675,6677-6678,6680,6682-6686,6688-6717,6719,6721-6722,6724-6728,6730,6732-6734,6736-6739,6741,6743,6745-6746,6748-6756,6758-6762,6764,6766-6788,6790,6792-6798,6800-6814,6816-6819,6821-6822,6824-6826,6828-6837,6839,6841,6843-6849,6851,6853-6869,6871-6874,6876-6877,6879,6881,6883,6885-6886,6888-6893,6895-6897,6899-6901,6903,6905-6907,6909,6911-6929,6931-6936,6938-6947,6949,6951,6953,6955-6956,6958-6959,6961-6968,6970-6971,6973-6974,6976-6978,6980,6982-7017,7019-7025,7027-7035,7037-7039,7041-7045,7047-7055,7057,7059-7065,7067-7069,7071,7073,7075-7076,7078,7080-7081,7083,7085,7087,7089-7097,7099-7102,7104-7105,7107-7111,7113-7120,7122-7124,7126-7129,7131,7133-7141,7143,7145-7146,7148-7150,7152-7153,7155-7158,7160-7164,7166-7167,7169-7170,7172,7174,7176,7178,7180-7181,7183,7185,7187-7188,7190,7192-7196,7198-7199,7201-7203,7205,7207,7209-7210,7212,7214,7216-7217,7219-7222,7224-7226,7228-7229,7231,7233-7234,7236-7238,7240-7241,7243-7244,7246,7248,7250,7252-7256,7258-7259,7261-7264,7266-7273,7275-7279,7281-7332,7334-7338,7340-7348,7350,7352-7353,7355-7361,7363-7366,7368-7370,7372,7374,7376,7378,7380-7386,7388-7400,7402,7404-7433,7435-7439,7441-7446,7448-7458,7460-7469,7471-7483,7485-7487,7489-7490,7492,7494,7496-7497,7499,7501-7502,7504,7506-7507,7509-7511,7513-7517,7519-7521,7523,7525,7527-7529,7531,7533
   + 
/trunk:6439-6441,6443,6445-6447,6449-6464,6466-6468,6470-6474,6476-6477,6479-6480,6483-6488,6490-6491,6493-6494,6496-6501,6503-6504,6506,6508,6510-6511,6513,6515-6516,6518,6520-6524,6526-6528,6533-6534,6536-6541,6543-6565,6567,6569,6571-6576,6578,6580-6586,6588-6596,6598-6600,6602-6604,6606-6607,6609-6611,6613-6625,6629-6639,6641-6643,6645-6646,6648,6650-6654,6656-6659,6661-6663,6665-6666,6668-6669,6672-6673,6675,6677-6678,6680,6682-6686,6688-6717,6719,6721-6722,6724-6728,6730,6732-6734,6736-6739,6741,6743,6745-6746,6748-6756,6758-6762,6764,6766-6788,6790,6792-6798,6800-6814,6816-6819,6821-6822,6824-6826,6828-6837,6839,6841,6843-6849,6851,6853-6869,6871-6874,6876-6877,6879,6881,6883,6885-6886,6888-6893,6895-6897,6899-6901,6903,6905-6907,6909,6911-6929,6931-6936,6938-6947,6949,6951,6953,6955-6956,6958-6959,6961-6968,6970-6971,6973-6974,6976-6978,6980,6982-7017,7019-7025,7027-7035,7037-7039,7041-7045,7047-7055,7057,7059-7065,7067-7069,7071,7073,7075-7076,7078,7080-7081,7083,7085,7087,7089-7097,7099-7102,7104-7105,7107-7111,7113-7120,7122-7124,7126-7129,7131,7133-7141,7143,7145-7146,7148-7150,7152-7153,7155-7158,7160-7164,7166-7167,7169-7170,7172,7174,7176,7178,7180-7181,7183,7185,7187-7188,7190,7192-7196,7198-7199,7201-7203,7205,7207,7209-7210,7212,7214,7216-7217,7219-7222,7224-7226,7228-7229,7231,7233-7234,7236-7238,7240-7241,7243-7244,7246,7248,7250,7252-7256,7258-7259,7261-7264,7266-7273,7275-7279,7281-7332,7334-7338,7340-7348,7350,7352-7353,7355-7361,7363-7366,7368-7370,7372,7374,7376,7378,7380-7386,7388-7400,7402,7404-7433,7435-7439,7441-7446,7448-7458,7460-7469,7471-7483,7485-7487,7489-7490,7492,7494,7496-7497,7499,7501-7502,7504,7506-7507,7509-7511,7513-7517,7519-7521,7523,7525,7527-7529,7531,7533,7535-7538

Modified: branches/Version-1_0-branch/booking/templates/base/booking_edit.xsl
===================================================================
--- branches/Version-1_0-branch/booking/templates/base/booking_edit.xsl 
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/booking/templates/base/booking_edit.xsl 
2011-08-30 12:04:36 UTC (rev 7539)
@@ -70,7 +70,7 @@
             </dd>
         </dl>
         <dl class="form-col">
-            <dt><label for="field_group"><xsl:value-of 
select="php:function('lang', 'Organization')"/></label></dt>
+            <dt style="margin-top: 100px;"><label 
for="field_group"><xsl:value-of select="php:function('lang', 
'Organization')"/></label></dt>
             <dd>
                 <div class="autocomplete">
                     <input id="field_org_id" name="organization_id" 
type="hidden">

Modified: branches/Version-1_0-branch/booking/templates/base/booking_new.xsl
===================================================================
--- branches/Version-1_0-branch/booking/templates/base/booking_new.xsl  
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/booking/templates/base/booking_new.xsl  
2011-08-30 12:04:36 UTC (rev 7539)
@@ -47,7 +47,7 @@
             </dd>
         </dl>
         <dl class="form-col">
-            <dt><label for="field_group"><xsl:value-of 
select="php:function('lang', 'Organization')"/></label></dt>
+            <dt style="margin-top: 53px;"><label 
for="field_group"><xsl:value-of select="php:function('lang', 
'Organization')"/></label></dt>
             <dd>
                 <div class="autocomplete">
                     <input id="field_org_id" name="organization_id" 
type="hidden">

Modified: 
branches/Version-1_0-branch/booking/templates/base/organization_edit.xsl
===================================================================
--- branches/Version-1_0-branch/booking/templates/base/organization_edit.xsl    
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/booking/templates/base/organization_edit.xsl    
2011-08-30 12:04:36 UTC (rev 7539)
@@ -99,7 +99,7 @@
                                <xsl:attribute name="value"><xsl:value-of 
select="organization/email"/></xsl:attribute>
                            </input>
                        </dd>
-                       <dt><label for="field_activity"><xsl:value-of 
select="php:function('lang', 'Activity')" /></label></dt>
+                       <dt style="margin-top: 40px;"><label 
for="field_activity"><xsl:value-of select="php:function('lang', 'Activity')" 
/></label></dt>
                        <dd>
                                <select name="activity_id" id="field_activity">
                                        <option value=""><xsl:value-of 
select="php:function('lang', '-- select an activity --')" /></option>
@@ -114,8 +114,6 @@
                                        </xsl:for-each>
                                </select>
                        </dd>
-
-
                        <dt><label for="field_description"><xsl:value-of 
select="php:function('lang', 'Description')" /></label></dt>
                        <dd class="yui-skin-sam">
                            <textarea id="field-description" name="description" 
type="text"><xsl:value-of select="organization/description"/></textarea>

Modified: branches/Version-1_0-branch/booking/templates/base/resource_form.xsl
===================================================================
--- branches/Version-1_0-branch/booking/templates/base/resource_form.xsl        
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/booking/templates/base/resource_form.xsl        
2011-08-30 12:04:36 UTC (rev 7539)
@@ -53,7 +53,7 @@
                                                <div id="building_container"/>
                                        </div>
                                </dd>
-                               <dt><label for="field_type"><xsl:value-of 
select="php:function('lang', 'Resource Type')" /></label></dt>
+                               <dt style="margin-top: 45px;"><label 
for="field_type"><xsl:value-of select="php:function('lang', 'Resource Type')" 
/></label></dt>
                                <dd>
                                        <select name='type' id='field_type'>
                                                <option value=''><xsl:value-of 
select="php:function('lang', 'Select Type')" />...</option>

Modified: 
branches/Version-1_0-branch/bookingfrontend/templates/base/booking_edit.xsl
===================================================================
--- branches/Version-1_0-branch/bookingfrontend/templates/base/booking_edit.xsl 
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/bookingfrontend/templates/base/booking_edit.xsl 
2011-08-30 12:04:36 UTC (rev 7539)
@@ -55,7 +55,7 @@
             </dd>
         </dl>
         <dl class="form-col">
-            <dt><label for="field_org"><xsl:value-of 
select="php:function('lang', 'Organization')"/></label></dt>
+            <dt style="margin-top: 100px;"><label 
for="field_org"><xsl:value-of select="php:function('lang', 
'Organization')"/></label></dt>
             <dd>
                    <xsl:value-of select="booking/organization_name"/>
             </dd>

Modified: 
branches/Version-1_0-branch/bookingfrontend/templates/base/booking_new.xsl
===================================================================
--- branches/Version-1_0-branch/bookingfrontend/templates/base/booking_new.xsl  
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/bookingfrontend/templates/base/booking_new.xsl  
2011-08-30 12:04:36 UTC (rev 7539)
@@ -37,7 +37,7 @@
             </dd>
         </dl>
         <dl class="form-col">
-            <dt><label for="field_org"><xsl:value-of 
select="php:function('lang', 'Organization')"/></label></dt>
+            <dt style="margin-top: 54px;"><label for="field_org"><xsl:value-of 
select="php:function('lang', 'Organization')"/></label></dt>
             <dd>
                    <xsl:value-of select="booking/organization_name"/>
             </dd>

Modified: branches/Version-1_0-branch/manual/templates/base/help.tpl
===================================================================
--- branches/Version-1_0-branch/manual/templates/base/help.tpl  2011-08-30 
11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/manual/templates/base/help.tpl  2011-08-30 
12:04:36 UTC (rev 7539)
@@ -5,15 +5,16 @@
        //]]>
 </script>
 
-<h2>{title}</h2>
-<table>
+<h2 align = 'left'>{title}</h2>
+<table align = 'left'>
        <tr>
                <td align = 'left'>
                        {help_msg}
                </td>
        </tr>
 </table>
-<p align="center"><a href="javascript:this.window.close()">{lang_close}</a></p>
+</br>
+<p align="left"><a href="javascript:this.window.close()">{lang_close}</a></p>
 
 </body>
 </html>

Modified: branches/Version-1_0-branch/property/inc/class.menu.inc.php
===================================================================
--- branches/Version-1_0-branch/property/inc/class.menu.inc.php 2011-08-30 
11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/property/inc/class.menu.inc.php 2011-08-30 
12:04:36 UTC (rev 7539)
@@ -412,7 +412,7 @@
                                                ),
                                                'request_attribs'       => array
                                                (
-                                                       'text'  => 
lang('request Attributes'),
+                                                       'text'  => 
lang('request attributes'),
                                                        'url'   => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.ui_custom.list_attribute', 'appname' => 'property', 'location' 
=>'.project.request', 'menu_selection' => 'admin::property::request_attribs') )
                                                ),
                                                'order_dim1'    => array

Modified: branches/Version-1_0-branch/property/inc/class.sorequest.inc.php
===================================================================
--- branches/Version-1_0-branch/property/inc/class.sorequest.inc.php    
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/property/inc/class.sorequest.inc.php    
2011-08-30 12:04:36 UTC (rev 7539)
@@ -665,22 +665,26 @@
                        $values = 
$this->bocommon->validate_db_insert(array_values($value_set));
 
                        $this->db->query("INSERT INTO fm_request ({$cols}) 
VALUES ({$values})",__LINE__,__FILE__);
+_debug_array($request);die();
 
                        if(isset($request['condition']) && 
is_array($request['condition']))
                        {
                                foreach( $request['condition'] as 
$condition_type => $value_type )
                                {
                                        $_condition_type = 
isset($value_type['condition_type']) && $value_type['condition_type'] ? 
$value_type['condition_type'] : $condition_type;
-                                       $this->db->query("INSERT INTO 
fm_request_condition 
(request_id,condition_type,reference,degree,probability,consequence,user_id,entry_date)
 "
-                                               . "VALUES ('"
-                                               . (int) $request['id']. "','"
-                                               . (int) $_condition_type . "',"
-                                               . (int) 
$value_type['reference']. ","
-                                               . (int) $value_type['degree']. 
","
-                                               . (int) 
$value_type['probability']. ","
-                                               . (int) 
$value_type['consequence']. ","
-                                               . (int) $this->account . ","
-                                               . time() . 
")",__LINE__,__FILE__);
+                                       if($_condition_type)
+                                       {
+                                               $this->db->query("INSERT INTO 
fm_request_condition 
(request_id,condition_type,reference,degree,probability,consequence,user_id,entry_date)
 "
+                                                       . "VALUES ("
+                                                       . (int) $id. ","
+                                                       . (int) 
$_condition_type . ","
+                                                       . (int) 
$value_type['reference']. ","
+                                                       . (int) 
$value_type['degree']. ","
+                                                       . (int) 
$value_type['probability']. ","
+                                                       . (int) 
$value_type['consequence']. ","
+                                                               . (int) 
$this->account . ","
+                                                       . time() . 
")",__LINE__,__FILE__);
+                                       }
                                }
                        }
 
@@ -856,15 +860,20 @@
                        $this->db->query("UPDATE fm_request SET $value_set 
WHERE id= '{$request['id']}'",__LINE__,__FILE__);
 
                        $this->db->query("DELETE FROM fm_request_condition 
WHERE request_id='{$request['id']}'",__LINE__,__FILE__);
+
                        if(isset($request['condition']) && 
is_array($request['condition']))
                        {
                                foreach( $request['condition'] as 
$condition_type => $value_type )
                                {
                                        $_condition_type = 
isset($value_type['condition_type']) && $value_type['condition_type'] ? 
$value_type['condition_type'] : $condition_type;
+                                       if(isset($value_type['condition_type']) 
&& !$value_type['condition_type'])
+                                       {
+                                               continue;
+                                       }
                                        $this->db->query("INSERT INTO 
fm_request_condition 
(request_id,condition_type,reference,degree,probability,consequence,user_id,entry_date)
 "
-                                               . "VALUES ('"
-                                               . (int)$request['id']. "','"
-                                               . (int)$_condition_type . "',"
+                                               . "VALUES ("
+                                               . (int)$request['id']. ","
+                                               . (int)$_condition_type . ","
                                                . 
(int)$value_type['reference']. ","
                                                . (int)$value_type['degree']. 
","
                                                . 
(int)$value_type['probability']. ","

Modified: branches/Version-1_0-branch/property/inc/class.uirequest.inc.php
===================================================================
--- branches/Version-1_0-branch/property/inc/class.uirequest.inc.php    
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/property/inc/class.uirequest.inc.php    
2011-08-30 12:04:36 UTC (rev 7539)
@@ -357,7 +357,7 @@
                                                                        'url' 
=> "Javascript:window.open('".$GLOBALS['phpgw']->link('/index.php',
                                                                        array
                                                                        (
-                                                                               
'menuaction' => 
'property.uirequest.priority_key'))."','','left=50,top=100,width=350,height=250')",
+                                                                               
'menuaction' => 
'property.uirequest.priority_key'))."','','left=50,top=100,width=350,height=350,scrollbars=1')",
                                                                                
'value' => lang('Priority key'),
                                                                                
'tab_index' => 4
                                                                ),

Modified: branches/Version-1_0-branch/property/setup/phpgw_no.lang
===================================================================
--- branches/Version-1_0-branch/property/setup/phpgw_no.lang    2011-08-30 
11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/property/setup/phpgw_no.lang    2011-08-30 
12:04:36 UTC (rev 7539)
@@ -379,6 +379,7 @@
 correct error  property        no      Rett opp feil
 cost   property        no      kostnad
 cost estimate  property        no      Kostnadsestimat
+total cost estimate    property        no      Totalt kostnadsestimat
 cost - either budget or calculation    property        no      Beløp - enten 
budsjett eller kalkulalasjon
 cost (incl tax):       property        no      Kostnader (inkl mva)
 cost per unit  property        no      Enhetspris
@@ -870,6 +871,7 @@
 input text not entered!        property        no      Input tekst er ikke 
angitt!
 input type     property        no      input type
 input name     property        no      input navn
+select value   property        no      Angi verdi
 insert the date for the acquisition    property        no      angi dato for 
anskaffelsen
 insert the date for the initial value  property        no      angi dato for 
initiell verdi
 insert the value at the start-date as a positive amount        property        
no      angi verdie ved startdatoen som en positiv verdi
@@ -1244,7 +1246,7 @@
 priority key   property        no      Prioriteringsnøkkel
 priority keys has been updated property        no      prioriteringsnøkkel er 
oppdatert
 prizing        property        no      Priser
-probability    property        no      sansynlighet
+probability    property        no      Sansynlighet
 project        property        no      prosjekt
 .project       property        no      Prosjekt
 project.workorder      property        no      Prosjekt::Bestilling
@@ -1296,16 +1298,19 @@
 repeat property        no      serie
 repeat type    property        no      type serie
 repeat day     property        no      gjenta dag
-request        property        no      behov
+request        property        no      Behov
+project.request        property        no      Behov
+request attributes     property        no      Behov::attributter
 request %1 has been edited     property        no      anmodning %1 er oppdater
 request %1 has been saved      property        no      anmodning %1 er lagret
 request budget property        no      Budsjett for tiltak
+request condition type property        no      Behov::konsekvenstype
 request descr  property        no      Beskrivelse av tiltak
 request end date       property        no      anmodning frist
 request entry date     property        no      Registreringsdato for tiltak
 request id     property        no      Anmodnings ID
 request start date     property        no      anmodning startdato
-request status property        no      Status anmodning
+request status property        no      Behov::status
 request title  property        no      Tiltak tittel
 request description    property        no      Tilstand beskrivelse
 requirement    property        no      Behov/pålegg

Modified: branches/Version-1_0-branch/property/templates/base/request.xsl
===================================================================
--- branches/Version-1_0-branch/property/templates/base/request.xsl     
2011-08-30 11:41:23 UTC (rev 7538)
+++ branches/Version-1_0-branch/property/templates/base/request.xsl     
2011-08-30 12:04:36 UTC (rev 7539)
@@ -336,7 +336,7 @@
 
                                                        <tr>
                                                                <td 
valign="top">
-                                                                       
<xsl:value-of select="php:function('lang', 'cost estimate')" />
+                                                                       
<xsl:value-of select="php:function('lang', 'total cost estimate')" />
                                                                </td>
                                                                <td>
                                                                        <input 
type="text" name="values[budget]" value="{value_budget}">
@@ -752,7 +752,7 @@
 
        </xsl:template>
 
-       <xsl:template match="condition_list">
+       <xsl:template match="condition_list" xmlns:php="http://php.net/xsl";>
                <tr>
                        <xsl:choose>
                                <xsl:when test="condition_type_list != ''">
@@ -765,28 +765,29 @@
                        </xsl:choose>
                <!--
                        <td class="small_text" align="center">
-                               <xsl:variable 
name="lang_reference_statustext"><xsl:value-of 
select="//lang_reference_statustext"/></xsl:variable>
-                               <select 
name="values[condition][{condition_type}][reference]" class="forms" 
title="{$lang_reference_statustext}">
+                               <select 
name="values[condition][{condition_type}][reference]" class="forms">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'select value')" />
+                                       </xsl:attribute>
                                        <xsl:apply-templates 
select="reference/options"/>
                                </select>
                        </td>
                -->
                        <td class="small_text" align="center">
-                               <xsl:variable 
name="lang_degree_statustext"><xsl:value-of 
select="//lang_degree_statustext"/></xsl:variable>
-                               <select 
name="values[condition][{condition_type}][degree]" class="forms" 
title="{$lang_degree_statustext}">
+                               <select 
name="values[condition][{condition_type}][degree]" class="forms">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'select value')" />
+                                       </xsl:attribute>
                                        <xsl:apply-templates 
select="degree/options"/>
                                </select>
                        </td>
-                       <td class="small_text" align="center">
-                               <xsl:variable 
name="lang_probability_statustext"><xsl:value-of 
select="//lang_probability_statustext"/></xsl:variable>
-                               <select 
name="values[condition][{condition_type}][probability]" class="forms" 
title="{$lang_probability_statustext}">
-                                       <xsl:apply-templates 
select="probability/options"/>
-                               </select>
-                       </td>
                        <xsl:choose>
                                <xsl:when test="condition_type_list != ''">
                                        <td class="small_text" align="left">
                                                <select 
name="values[condition][{condition_type}][condition_type]" class="forms">
+                                                       <xsl:attribute 
name="title">
+                                                               <xsl:value-of 
select="php:function('lang', 'select value')" />
+                                                       </xsl:attribute>
                                                        <xsl:apply-templates 
select="condition_type_list/options"/>
                                                </select>
                                        </td>
@@ -794,11 +795,21 @@
                        </xsl:choose>
 
                        <td class="small_text" align="center">
-                               <xsl:variable 
name="lang_consequence_statustext"><xsl:value-of 
select="//lang_consequence_statustext"/></xsl:variable>
-                               <select 
name="values[condition][{condition_type}][consequence]" class="forms" 
title="{$lang_consequence_statustext}">
+                               <select 
name="values[condition][{condition_type}][consequence]" class="forms">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'select value')" />
+                                       </xsl:attribute>
                                        <xsl:apply-templates 
select="consequence/options"/>
                                </select>
                        </td>
+                       <td class="small_text" align="center">
+                               <select 
name="values[condition][{condition_type}][probability]" class="forms">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'select value')" />
+                                       </xsl:attribute>
+                                       <xsl:apply-templates 
select="probability/options"/>
+                               </select>
+                       </td>
                <!--
                        <td class="small_text" align="center">
                                <xsl:value-of select="failure"/>
@@ -920,6 +931,9 @@
                                </xsl:when>
                                <xsl:otherwise>
                                        <th width="20%" align="left">
+                                               <xsl:attribute name="title">
+                                                       
<xsl:text>Konsekvenstype - tema for tilstand</xsl:text>
+                                               </xsl:attribute>
                                                <xsl:value-of 
select="php:function('lang', 'consequence type')" />
                                        </th>
                                </xsl:otherwise>
@@ -930,34 +944,57 @@
                        </th>
                        -->
                        <th width="20%" align="center">
+                               <xsl:attribute name="title">
+                                               <xsl:text>Tilstandsgrad iht NS 
3424</xsl:text>
+                               </xsl:attribute>
                                <xsl:value-of select="php:function('lang', 
'condition degree')" />
                        </th>
-                       <th width="20%" align="center">
-                               <xsl:value-of select="php:function('lang', 
'Probability')" />
-                       </th>
                        <xsl:choose>
                                <xsl:when test="//condition_type_list != ''">
                                        <th width="20%" align="left">
+                                               <xsl:attribute name="title">
+                                                       
<xsl:text>Konsekvenstype - tema for tilstand</xsl:text>
+                                               </xsl:attribute>
                                                <xsl:value-of 
select="php:function('lang', 'consequence type')" />
                                        </th>
                                </xsl:when>
                        </xsl:choose>
 
                        <th width="20%" align="center">
+                               <xsl:attribute name="title">
+                                               <xsl:text>Konsekvensgrad iht NS 
3424</xsl:text>
+                               </xsl:attribute>
                                <xsl:value-of select="php:function('lang', 
'Consequence')" />
                        </th>
+                       <th width="20%" align="center">
+                               <xsl:attribute name="title">
+                                               <xsl:text>Sannsynlighet iht NS 
3424</xsl:text>
+                               </xsl:attribute>
+                               <xsl:value-of select="php:function('lang', 
'Probability')" />
+                       </th>
+
                <!--
                        <th width="5%" align="center">
                                <xsl:value-of select="php:function('lang', 
'failure')" />
                        </th>
                -->
                        <th width="5%" align="center">
+                                       <xsl:attribute name="title">
+                                               <xsl:text>Vekt = konfigurerbar 
verdi for hjelpeberegning av viktighet</xsl:text>
+                                       </xsl:attribute>
                                <xsl:value-of select="php:function('lang', 
'weight')" />
                        </th>
                        <th width="5%" align="center">
+                                       <xsl:attribute name="title">
+                                               <xsl:text>Risiko = 
Konsekvensgrad x Sannsynlighetsgrad</xsl:text>
+                                       </xsl:attribute>
                                <xsl:value-of select="php:function('lang', 
'risk')" />
                        </th>
                        <th width="5%" align="center">
+                                       <xsl:attribute name="title">
+                                               <xsl:text>Verdi for hjelp til 
sortering av viktighet</xsl:text>
+                                       </xsl:attribute>
+
                                <xsl:value-of select="php:function('lang', 
'score')" />
                        </th>
                </tr>




reply via email to

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