phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property inc/class.uiactor.inc.php inc/class.ui...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property inc/class.uiactor.inc.php inc/class.ui...
Date: Fri, 22 Dec 2006 15:02:13 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   06/12/22 15:02:12

Modified files:
        inc            : class.uiactor.inc.php class.uiagreement.inc.php 
                         class.uientity.inc.php class.uilocation.inc.php 
                         class.uir_agreement.inc.php 
                         class.uis_agreement.inc.php class.uitts.inc.php 
        templates/base : actor.xsl agreement.xsl entity.xsl location.xsl 
                         r_agreement.xsl s_agreement.xsl tenant.xsl 
                         tts.xsl 

Log message:
        more js

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uiactor.inc.php?cvsroot=phpgroupware&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uiagreement.inc.php?cvsroot=phpgroupware&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uientity.inc.php?cvsroot=phpgroupware&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uilocation.inc.php?cvsroot=phpgroupware&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uir_agreement.inc.php?cvsroot=phpgroupware&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uis_agreement.inc.php?cvsroot=phpgroupware&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uitts.inc.php?cvsroot=phpgroupware&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/actor.xsl?cvsroot=phpgroupware&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/agreement.xsl?cvsroot=phpgroupware&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/entity.xsl?cvsroot=phpgroupware&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/location.xsl?cvsroot=phpgroupware&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/r_agreement.xsl?cvsroot=phpgroupware&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/s_agreement.xsl?cvsroot=phpgroupware&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/tenant.xsl?cvsroot=phpgroupware&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/property/templates/base/tts.xsl?cvsroot=phpgroupware&r1=1.16&r2=1.17

Patches:
Index: inc/class.uiactor.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uiactor.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- inc/class.uiactor.inc.php   15 Dec 2006 20:16:44 -0000      1.26
+++ inc/class.uiactor.inc.php   22 Dec 2006 15:02:12 -0000      1.27
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage admin
-       * @version $Id: class.uiactor.inc.php,v 1.26 2006/12/15 20:16:44 
sigurdne Exp $
+       * @version $Id: class.uiactor.inc.php,v 1.27 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -487,6 +487,12 @@
 
                        $member_of_data = 
$this->cats->formatted_xslt_list(array('selected' => $this->member_id,'globals' 
=> True, 'link_data' =>array()));
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
 //_debug_array($member_of_data);
                        $data = array
                        (
@@ -516,7 +522,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                                       
        => $onKeyUp,
                                'onBlur'                                        
        => $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                               
=> lang('Attributes'),
                                'attributes_header'                             
=> $attributes_header,
                                'attributes_values'                             
=> $actor['attributes'],

Index: inc/class.uiagreement.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uiagreement.inc.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- inc/class.uiagreement.inc.php       22 Dec 2006 14:43:54 -0000      1.29
+++ inc/class.uiagreement.inc.php       22 Dec 2006 15:02:12 -0000      1.30
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage agreement
-       * @version $Id: class.uiagreement.inc.php,v 1.29 2006/12/22 14:43:54 
sigurdne Exp $
+       * @version $Id: class.uiagreement.inc.php,v 1.30 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -963,6 +963,7 @@
                        }
                        
$GLOBALS['phpgw']->js->validate_file('overlib','overlib',$this->currentapp);
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -1018,7 +1019,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                       => 
lang('Attributes'),
                                'attributes_header'                     => 
$attributes_header,
                                'attributes_values'                     => 
$agreement['attributes'],
@@ -1278,6 +1278,7 @@
                                $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
                        }
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -1301,7 +1302,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                       => 
lang('Attributes'),
                                'attributes_header'                     => 
$attributes_header,
                                'attributes_values'                     => 
$values['attributes'],

Index: inc/class.uientity.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uientity.inc.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- inc/class.uientity.inc.php  15 Dec 2006 20:16:44 -0000      1.36
+++ inc/class.uientity.inc.php  22 Dec 2006 15:02:12 -0000      1.37
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage entity
-       * @version $Id: class.uientity.inc.php,v 1.36 2006/12/15 20:16:44 
sigurdne Exp $
+       * @version $Id: class.uientity.inc.php,v 1.37 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -970,6 +970,7 @@
                                $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
                        }
                        
$GLOBALS['phpgw']->js->validate_file('overlib','overlib',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -1008,7 +1009,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                                       
        => $onKeyUp,
                                'onBlur'                                        
        => $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                               
=> lang('Attributes'),
                                'attributes_header'                             
=> $attributes_header,
                                'attributes_values'                             
=> $values['attributes'],

Index: inc/class.uilocation.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uilocation.inc.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- inc/class.uilocation.inc.php        15 Dec 2006 20:16:44 -0000      1.45
+++ inc/class.uilocation.inc.php        22 Dec 2006 15:02:12 -0000      1.46
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage location
-       * @version $Id: class.uilocation.inc.php,v 1.45 2006/12/15 20:16:44 
sigurdne Exp $
+       * @version $Id: class.uilocation.inc.php,v 1.46 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -1013,6 +1013,12 @@
                                }
                        }
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'lang_change_type'                              
=> lang('Change type'),
@@ -1050,7 +1056,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                                       
        => $onKeyUp,
                                'onBlur'                                        
        => $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'street_link'                                   
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
$this->currentapp.'.uilookup.street')),
                                'lang_street'                                   
=> lang('Street'),
                                'lang_select_street_help'               => 
lang('Select the street name'),

Index: inc/class.uir_agreement.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uir_agreement.inc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- inc/class.uir_agreement.inc.php     22 Dec 2006 14:43:54 -0000      1.22
+++ inc/class.uir_agreement.inc.php     22 Dec 2006 15:02:12 -0000      1.23
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage agreement
-       * @version $Id: class.uir_agreement.inc.php,v 1.22 2006/12/22 14:43:54 
sigurdne Exp $
+       * @version $Id: class.uir_agreement.inc.php,v 1.23 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -909,6 +909,7 @@
                        }
                        
$GLOBALS['phpgw']->js->validate_file('overlib','overlib',$this->currentapp);
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -956,7 +957,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                       => 
lang('Attributes'),
                                'attributes_header'                     => 
$attributes_header,
                                'attributes_values'                     => 
$r_agreement['attributes'],
@@ -1277,6 +1277,7 @@
                                $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
                        }
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -1297,7 +1298,6 @@
                                'dateformat_validate'                           
=> $dateformat_validate,
                                'onKeyUp'                                       
=> $onKeyUp,
                                'onBlur'                                        
=> $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                               
=> lang('Attributes'),
                                'attributes_header'                             
=> $attributes_header,
                                'attributes_values'                             
=> $values['attributes'],
@@ -2157,6 +2157,12 @@
                                                'b_account_name'        => 
$values['b_account_name'],
                                                'type'                  
=>$lookup_type));
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'msgbox_data'                                   
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
@@ -2176,7 +2182,6 @@
                                'dateformat_validate'                           
=> $dateformat_validate,
                                'onKeyUp'                                       
=> $onKeyUp,
                                'onBlur'                                        
=> $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lookup_functions'                              
=> $values['lookup_functions'],
                                'dateformat'                                    
=> $dateformat,
 

Index: inc/class.uis_agreement.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uis_agreement.inc.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- inc/class.uis_agreement.inc.php     22 Dec 2006 14:43:54 -0000      1.34
+++ inc/class.uis_agreement.inc.php     22 Dec 2006 15:02:12 -0000      1.35
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage agreement
-       * @version $Id: class.uis_agreement.inc.php,v 1.34 2006/12/22 14:43:54 
sigurdne Exp $
+       * @version $Id: class.uis_agreement.inc.php,v 1.35 2006/12/22 15:02:12 
sigurdne Exp $
        */
 
        /**
@@ -797,6 +797,7 @@
                        }
                        
$GLOBALS['phpgw']->js->validate_file('overlib','overlib',$this->currentapp);
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -844,7 +845,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                       => 
lang('Attributes'),
                                'attributes_header'                     => 
$attributes_header,
                                'attributes_values'                     => 
$s_agreement['attributes'],
@@ -1128,6 +1128,7 @@
                                $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
                        }
                        
$GLOBALS['phpgw']->js->validate_file('core','check',$this->currentapp);
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
 
                        $data = array
                        (
@@ -1148,7 +1149,6 @@
                                'dateformat_validate'                           
=> $dateformat_validate,
                                'onKeyUp'                                       
=> $onKeyUp,
                                'onBlur'                                        
=> $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lang_attributes'                               
=> lang('Attributes'),
                                'attributes_header'                             
=> $attributes_header,
                                'attributes_values'                             
=> $values['attributes'],

Index: inc/class.uitts.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uitts.inc.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- inc/class.uitts.inc.php     15 Dec 2006 20:16:44 -0000      1.50
+++ inc/class.uitts.inc.php     22 Dec 2006 15:02:12 -0000      1.51
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage helpdesk
-       * @version $Id: class.uitts.inc.php,v 1.50 2006/12/15 20:16:44 sigurdne 
Exp $
+       * @version $Id: class.uitts.inc.php,v 1.51 2006/12/22 15:02:12 sigurdne 
Exp $
        */
 
        /**
@@ -1101,13 +1101,18 @@
 
                        $msgbox_data = 
(isset($receipt)?$this->bocommon->msgbox_data($receipt):'');
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'lang_dateformat'                       => 
strtolower($dateformat),
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'msgbox_data'                           => 
$GLOBALS['phpgw']->common->msgbox($msgbox_data),
                                'location_data'                         => 
$location_data,
                                'lang_assign_to'                        => 
lang('Assign to'),
@@ -1327,13 +1332,18 @@
 
                        $msgbox_data = 
(isset($receipt)?$this->bocommon->msgbox_data($receipt):'');
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'lang_dateformat'                               
        => strtolower($dateformat),
                                'dateformat_validate'                           
=> $dateformat_validate,
                                'onKeyUp'                                       
                => $onKeyUp,
                                'onBlur'                                        
                => $onBlur,
-                               'dateformat_source'                             
        => './'.$this->currentapp.'/inc/dateformat.js',
                                'msgbox_data'                                   
        => $GLOBALS['phpgw']->common->msgbox($msgbox_data),
                                'location_data'                                 
        => $location_data,
                                'lang_assign_to'                                
        => lang('Assign to'),
@@ -1595,6 +1605,12 @@
                                }
                        }
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'value_origin'                          => 
(isset($ticket['origin'])?$ticket['origin']:''),
@@ -1602,7 +1618,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                               => 
$onKeyUp,
                                'onBlur'                                => 
$onBlur,
-                               'dateformat_source'                     => 
'./'.$this->currentapp.'/inc/dateformat.js',
                                'lang_finnish_date'                     => 
lang('finnish date'),
                                'value_finnish_date'                    => 
$ticket['finnish_date'],
 
@@ -1851,6 +1866,12 @@
                                }
                        }
 
+                       if(!isset($GLOBALS['phpgw']->js) || 
!is_object($GLOBALS['phpgw']->js))
+                       {
+                               $GLOBALS['phpgw']->js = 
CreateObject('phpgwapi.javascript');
+                       }
+                       
$GLOBALS['phpgw']->js->validate_file('dateformat','dateformat',$this->currentapp);
+
                        $data = array
                        (
                                'value_origin'                                  
=> (isset($ticket['origin'])?$ticket['origin']:''),
@@ -1858,7 +1879,6 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                                       
        => $onKeyUp,
                                'onBlur'                                        
        => $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
                                'lang_finnish_date'                             
=> lang('finnish date'),
                                'value_finnish_date'                    => 
$ticket['finnish_date'],
 

Index: templates/base/actor.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/actor.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- templates/base/actor.xsl    15 Dec 2006 20:16:44 -0000      1.5
+++ templates/base/actor.xsl    22 Dec 2006 15:02:12 -0000      1.6
@@ -148,9 +148,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/agreement.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/agreement.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- templates/base/agreement.xsl        22 Dec 2006 14:43:54 -0000      1.7
+++ templates/base/agreement.xsl        22 Dec 2006 15:02:12 -0000      1.8
@@ -465,9 +465,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>
@@ -824,9 +821,6 @@
 <!-- add item / edit item -->
 
        <xsl:template match="edit_item">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/entity.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/entity.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- templates/base/entity.xsl   15 Dec 2006 20:16:44 -0000      1.12
+++ templates/base/entity.xsl   22 Dec 2006 15:02:12 -0000      1.13
@@ -1,4 +1,4 @@
-<!-- $Id: entity.xsl,v 1.12 2006/12/15 20:16:44 sigurdne Exp $ -->
+<!-- $Id: entity.xsl,v 1.13 2006/12/22 15:02:12 sigurdne Exp $ -->
 
        <xsl:template name="app_data">
                <xsl:choose>
@@ -198,9 +198,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/location.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/location.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- templates/base/location.xsl 3 Dec 2006 18:35:00 -0000       1.12
+++ templates/base/location.xsl 22 Dec 2006 15:02:12 -0000      1.13
@@ -1,4 +1,4 @@
-<!-- $Id: location.xsl,v 1.12 2006/12/03 18:35:00 sigurdne Exp $ -->
+<!-- $Id: location.xsl,v 1.13 2006/12/22 15:02:12 sigurdne Exp $ -->
 
        <xsl:template name="app_data">
                <xsl:choose>
@@ -241,9 +241,6 @@
                        }               
                </script>
 
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT type="text/javascript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script type="text/javascript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/r_agreement.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/r_agreement.xsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- templates/base/r_agreement.xsl      22 Dec 2006 14:43:54 -0000      1.16
+++ templates/base/r_agreement.xsl      22 Dec 2006 15:02:12 -0000      1.17
@@ -350,9 +350,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>
@@ -840,12 +837,9 @@
 <!-- add item / edit item -->
 
        <xsl:template match="edit_item">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
                <xsl:variable name="main_form_name"><xsl:value-of 
select="main_form_name"/></xsl:variable>
                <xsl:variable name="update_form_name"><xsl:value-of 
select="update_form_name"/></xsl:variable>
 
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>
@@ -1894,9 +1888,6 @@
 <!-- add common / edit common -->
 
        <xsl:template match="edit_common">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/s_agreement.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/s_agreement.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- templates/base/s_agreement.xsl      22 Dec 2006 14:43:54 -0000      1.6
+++ templates/base/s_agreement.xsl      22 Dec 2006 15:02:12 -0000      1.7
@@ -217,9 +217,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>
@@ -552,9 +549,6 @@
 <!-- add item / edit item -->
 
        <xsl:template match="edit_item">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/tenant.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/tenant.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- templates/base/tenant.xsl   12 Oct 2006 10:51:12 -0000      1.3
+++ templates/base/tenant.xsl   22 Dec 2006 15:02:12 -0000      1.4
@@ -143,9 +143,6 @@
 <!-- add / edit -->
 
        <xsl:template match="edit">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <script language="JavaScript">
                        self.name="first_Window";
                        <xsl:value-of select="lookup_functions"/>

Index: templates/base/tts.xsl
===================================================================
RCS file: /sources/phpgroupware/property/templates/base/tts.xsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- templates/base/tts.xsl      15 Dec 2006 20:16:44 -0000      1.16
+++ templates/base/tts.xsl      22 Dec 2006 15:02:12 -0000      1.17
@@ -1,4 +1,4 @@
-<!-- $Id: tts.xsl,v 1.16 2006/12/15 20:16:44 sigurdne Exp $ -->
+<!-- $Id: tts.xsl,v 1.17 2006/12/22 15:02:12 sigurdne Exp $ -->
 
        <xsl:template name="app_data">
                <xsl:choose>
@@ -382,9 +382,6 @@
 <!-- add -->
 
        <xsl:template match="add">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <div align="left">              
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:choose>
@@ -553,9 +550,6 @@
 <!-- add2 -->
 
        <xsl:template match="add2">
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
-
                <div align="left">              
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:choose>
@@ -727,8 +721,6 @@
                                Window1=window.open('<xsl:value-of 
select="request_link"/>');
                        }               
                </script>
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
                <div align="left">
                
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
@@ -1133,8 +1125,6 @@
                                Window1=window.open('<xsl:value-of 
select="request_link"/>');
                        }               
                </script>
-               <xsl:variable name="dateformat_source"><xsl:value-of 
select="dateformat_source"/></xsl:variable>
-               <SCRIPT LANGUAGE="JavaScript" 
SRC="{$dateformat_source}"></SCRIPT>
                <div align="left">
                
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">




reply via email to

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