phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences/inc hook_settings.inc.php,1.2.2.3.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc hook_settings.inc.php,1.2.2.3.2.1,1.2.2.3.2.2
Date: Wed, 02 Apr 2003 12:39:50 -0500

Update of /cvsroot/phpgroupware/preferences/inc
In directory subversions:/tmp/cvs-serv23281

Modified Files:
      Tag: Version-0_9_16-branch
        hook_settings.inc.php 
Log Message:
put helptexts in one line (!) and used new function 
transslation::get_installed_langs


Index: hook_settings.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/hook_settings.inc.php,v
retrieving revision 1.2.2.3.2.1
retrieving revision 1.2.2.3.2.2
diff -C2 -r1.2.2.3.2.1 -r1.2.2.3.2.2
*** hook_settings.inc.php       31 Mar 2003 00:30:54 -0000      1.2.2.3.2.1
--- hook_settings.inc.php       2 Apr 2003 17:39:47 -0000       1.2.2.3.2.2
***************
*** 25,30 ****
  
        create_input_box('Max matches per page','maxmatchs',
!               'Any listing in phpGW will show you this number or entries or 
lines per page.<br>
!               To many slow down the page display, to less will cost you the 
overview.',15,3);
        create_select_box('Interface/Template 
Selection','template_set',$_templates,
                'A template defines the layout of phpGroupWare and it contains 
icons vor each application.');
--- 25,29 ----
  
        create_input_box('Max matches per page','maxmatchs',
!               'Any listing in phpGW will show you this number or entries or 
lines per page.<br>To many slow down the page display, to less will cost you 
the overview.',15,3);
        create_select_box('Interface/Template 
Selection','template_set',$_templates,
                'A template defines the layout of phpGroupWare and it contains 
icons vor each application.');
***************
*** 56,62 ****
        }
        create_select_box('Time zone offset','tz_offset',$tz_offset,
!               'How many hours are you in front or after the timezone of the 
server.<br>
!               If you are in the same time zone as the server select 0 hours, 
!               else select your locale date and time.',0);
  
        $date_formats = array(
--- 55,59 ----
        }
        create_select_box('Time zone offset','tz_offset',$tz_offset,
!               'How many hours are you in front or after the timezone of the 
server.<br>If you are in the same time zone as the server select 0 hours, else 
select your locale date and time.',0);
  
        $date_formats = array(
***************
*** 87,108 ****
        create_select_box('Country','country',$sbox->country_array,
                'In which country are you. This is used to set certain defaults 
for you.');
! 
!       $db2 = $GLOBALS['phpgw']->db;
!       $GLOBALS['phpgw']->db->query("select distinct lang from 
lang",__LINE__,__FILE__);
!       while ($GLOBALS['phpgw']->db->next_record())
!       {
! //            $phpgw_info['installed_langs'][$phpgw->db->f('lang')] = 
$phpgw->db->f('lang');
! 
!               $db2->query("select lang_name from languages where lang_id = '"
!                       . $GLOBALS['phpgw']->db->f('lang') . 
"'",__LINE__,__FILE__);
!               $db2->next_record();
! 
!               // When its not in the phpgw_languages table, it will show ??? 
in the field
!               // otherwise
!               if ($db2->f('lang_name'))
!               {
!                       $langs[$GLOBALS['phpgw']->db->f('lang')] = 
$db2->f('lang_name');
!               }
!       }
        foreach ($langs as $key => $name)       // if we have a translation use 
it
        {
--- 84,89 ----
        create_select_box('Country','country',$sbox->country_array,
                'In which country are you. This is used to set certain defaults 
for you.');
!       
!       $langs = $GLOBALS['phpgw']->translation->get_installed_langs();
        foreach ($langs as $key => $name)       // if we have a translation use 
it
        {
***************
*** 112,119 ****
                        $langs[$key] = $trans;
                }
!       }
        create_select_box('Language','lang',$langs,
!               'Select the language of texts and messages within 
phpGroupWare.<br>
!               Some languages may not contain all messages, in that case you 
will see an english message.');
        
        // preference.php handles this function
--- 93,99 ----
                        $langs[$key] = $trans;
                }
!       } 
        create_select_box('Language','lang',$langs,
!               'Select the language of texts and messages within 
phpGroupWare.<br>Some languages may not contain all messages, in that case you 
will see an english message.');
        
        // preference.php handles this function
***************
*** 133,140 ****
        }
        create_select_box('Default application','default_app',$user_apps,
!               "This is the application which will be started when you enter 
phpGroupWare or click on the homepage icon.<br>
!               You can also have more than one applications showing up on the 
homepage, if you don't 
!               choose a specific application here (has to be configured in the 
preferences of 
!               each applicaton).");
  
        create_input_box('Currency','currency',
--- 113,117 ----
        }
        create_select_box('Default application','default_app',$user_apps,
!               "This is the application which will be started when you enter 
phpGroupWare or click on the homepage icon.<br>You can also have more than one 
applications showing up on the homepage, if you don't choose a specific 
application here (has to be configured in the preferences of each 
applicaton).");
  
        create_input_box('Currency','currency',





reply via email to

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