fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9466] property: translations


From: Sigurd Nes
Subject: [Fmsystem-commits] [9466] property: translations
Date: Wed, 30 May 2012 07:16:21 +0000

Revision: 9466
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9466
Author:   sigurdne
Date:     2012-05-30 07:16:20 +0000 (Wed, 30 May 2012)
Log Message:
-----------
property: translations

Modified Paths:
--------------
    trunk/property/inc/class.botts.inc.php

Modified: trunk/property/inc/class.botts.inc.php
===================================================================
--- trunk/property/inc/class.botts.inc.php      2012-05-29 14:43:30 UTC (rev 
9465)
+++ trunk/property/inc/class.botts.inc.php      2012-05-30 07:16:20 UTC (rev 
9466)
@@ -63,8 +63,13 @@
                        'addfiles'              => true,
                );
 
-               function property_botts($session=false)
+               function __construct($session=false)
                {
+                       if($GLOBALS['phpgw_info']['flags']['currentapp'] != 
'property')
+                       {
+                               
$GLOBALS['phpgw']->translation->add_app('property');
+                       }
+
                        $this->account                          = 
$GLOBALS['phpgw_info']['user']['account_id'];
                        $this->so                                       = 
CreateObject('property.sotts');
                        $this->custom                           = & 
$this->so->custom;




reply via email to

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