phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [19031] Fix the preferences calls


From: Caeies
Subject: [Phpgroupware-cvs] [19031] Fix the preferences calls
Date: Wed, 21 Jan 2009 18:11:50 +0000

Revision: 19031
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19031
Author:   Caeies
Date:     2009-01-21 18:11:49 +0000 (Wed, 21 Jan 2009)

Log Message:
-----------
Fix the preferences calls

Modified Paths:
--------------
    core/trunk/addressbook/inc/hook_add_def_pref.inc.php
    core/trunk/admin/inc/hook_add_def_pref.inc.php
    core/trunk/filemanager/inc/hook_add_def_pref.inc.php

Modified: core/trunk/addressbook/inc/hook_add_def_pref.inc.php
===================================================================
--- core/trunk/addressbook/inc/hook_add_def_pref.inc.php        2009-01-21 
14:48:49 UTC (rev 19030)
+++ core/trunk/addressbook/inc/hook_add_def_pref.inc.php        2009-01-21 
18:11:49 UTC (rev 19031)
@@ -1,6 +1,6 @@
 <?php
-       $GLOBALS['pref']->change('addressbook','company','addressbook_True');
-       $GLOBALS['pref']->change('addressbook','lastname','addressbook_True');
-       $GLOBALS['pref']->change('addressbook','firstname','addressbook_True');
-       $GLOBALS['pref']->change('addressbook','default_category','');
+       $GLOBALS['pref']->add('addressbook','company','addressbook_True');
+       $GLOBALS['pref']->add('addressbook','lastname','addressbook_True');
+       $GLOBALS['pref']->add('addressbook','firstname','addressbook_True');
+       $GLOBALS['pref']->add('addressbook','default_category','');
 ?>

Modified: core/trunk/admin/inc/hook_add_def_pref.inc.php
===================================================================
--- core/trunk/admin/inc/hook_add_def_pref.inc.php      2009-01-21 14:48:49 UTC 
(rev 19030)
+++ core/trunk/admin/inc/hook_add_def_pref.inc.php      2009-01-21 18:11:49 UTC 
(rev 19031)
@@ -1,8 +1,8 @@
 <?php
-  $GLOBALS['pref']->change('common','maxmatchs','15');
-  $GLOBALS['pref']->change('common','theme','default');
-  $GLOBALS['pref']->change('common','tz_offset',0);
-  $GLOBALS['pref']->change('common','dateformat','m/d/Y');
-  $GLOBALS['pref']->change('common','timeformat',12);
-  $GLOBALS['pref']->change('common','lang','en');
+  $GLOBALS['pref']->add('common','maxmatchs','15');
+  $GLOBALS['pref']->add('common','theme','default');
+  $GLOBALS['pref']->add('common','tz_offset',0);
+  $GLOBALS['pref']->add('common','dateformat','m/d/Y');
+  $GLOBALS['pref']->add('common','timeformat',12);
+  $GLOBALS['pref']->add('common','lang','en');
 ?>

Modified: core/trunk/filemanager/inc/hook_add_def_pref.inc.php
===================================================================
--- core/trunk/filemanager/inc/hook_add_def_pref.inc.php        2009-01-21 
14:48:49 UTC (rev 19030)
+++ core/trunk/filemanager/inc/hook_add_def_pref.inc.php        2009-01-21 
18:11:49 UTC (rev 19031)
@@ -7,13 +7,13 @@
        * @version $Id$
        */
 
-       $GLOBALS['pref']->change ('filemanager','name','name');
-       $GLOBALS['pref']->change ('filemanager','size','size');
-       $GLOBALS['pref']->change ('filemanager','created','created');
-       $GLOBALS['pref']->change ('filemanager','version','version');
-       $GLOBALS['pref']->change ('filemanager','mime_type','mime_type');
-       $GLOBALS['pref']->change ('filemanager','comment','comment');
-       $GLOBALS['pref']->change 
('filemanager','viewtextplain','viewtextplain');
-       $GLOBALS['pref']->change ('filemanager','show_help','show_help');
-       $GLOBALS['pref']->change ('filemanager','show_upload_boxes','5');
+       $GLOBALS['pref']->add ('filemanager','name','name');
+       $GLOBALS['pref']->add ('filemanager','size','size');
+       $GLOBALS['pref']->add ('filemanager','created','created');
+       $GLOBALS['pref']->add ('filemanager','version','version');
+       $GLOBALS['pref']->add ('filemanager','mime_type','mime_type');
+       $GLOBALS['pref']->add ('filemanager','comment','comment');
+       $GLOBALS['pref']->add ('filemanager','viewtextplain','viewtextplain');
+       $GLOBALS['pref']->add ('filemanager','show_help','show_help');
+       $GLOBALS['pref']->add ('filemanager','show_upload_boxes','5');
 ?>






reply via email to

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