[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.country.inc.php
From: |
Bettina Gille |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.country.inc.php |
Date: |
Wed, 24 May 2006 11:37:13 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Branch:
Changes by: Bettina Gille <address@hidden> 06/05/24 11:37:13
Modified files:
inc : class.country.inc.php
Log message:
update continent select
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/inc/class.country.inc.php.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: phpgwapi/inc/class.country.inc.php
diff -u phpgwapi/inc/class.country.inc.php:1.6
phpgwapi/inc/class.country.inc.php:1.7
--- phpgwapi/inc/class.country.inc.php:1.6 Thu Apr 13 22:40:15 2006
+++ phpgwapi/inc/class.country.inc.php Wed May 24 11:37:13 2006
@@ -7,7 +7,7 @@
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package phpgwapi
* @subpackage contacts
- * @version $Id: class.country.inc.php,v 1.6 2006/04/13 22:40:15 ceb Exp
$
+ * @version $Id: class.country.inc.php,v 1.7 2006/05/24 11:37:13 ceb Exp
$
*/
/**
@@ -268,12 +268,12 @@
$this->continent_array = array
(
'africa' => lang('africa'),
- 'antarktica' => lang('antarktica'),
+ 'antarctica' => lang('antarctica'),
'asia' => lang('asia'),
'australia' => lang('australia'),
'europe' => lang('europe'),
- 'northamerica' => lang('north america'),
- 'southamerica' => lang('south america')
+ 'northamerica' => lang('northamerica'),
+ 'southamerica' => lang('southamerica')
);
}
@@ -287,7 +287,7 @@
reset($this->country_array);
while(list($key,$value) = each($this->country_array))
{
- $str .= '<option value="' . $key . '"' .
($selected == $key?' selected':'').'>'.$value.'</option>'."\n";
+ $str .= '<option value="' . $key . '"' .
($selected == $key?' selected':'') . '>' . lang($value) . '</option>'."\n";
}
$str .= '</select>'."\n";
return $str;
@@ -308,16 +308,16 @@
{
$carray[] = array
(
- 'country_code' => $ccode,
- 'country_name' => $cname,
+ 'country_code' => $ccode,
+ 'country_name' => lang($cname),
'selected' =>
($ccode==$selected?'selected':'')
);
}
return array
(
- 'select_name' => $select_name,
- 'country_list' => $carray,
+ 'select_name' =>
$select_name,
+ 'country_list' =>
$carray,
'lang_country_statustext' => lang('select
the county')
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.country.inc.php,
Bettina Gille <=