[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/modules/class.module_lang_block.inc.php, 1.4
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sitemgr/modules/class.module_lang_block.inc.php, 1.4 |
Date: |
Wed, 21 Jul 2004 01:22:54 +0200 |
Update of /sitemgr/modules
Modified Files:
Branch:
class.module_lang_block.inc.php
date: 2004/07/20 23:22:54; author: skwashd; state: Exp; lines: +2 -1
Log Message:
merge from 16
=====================================================================
Index: sitemgr/modules/class.module_lang_block.inc.php
diff -u sitemgr/modules/class.module_lang_block.inc.php:1.3
sitemgr/modules/class.module_lang_block.inc.php:1.4
--- sitemgr/modules/class.module_lang_block.inc.php:1.3 Fri May 30 04:01:43 2003
+++ sitemgr/modules/class.module_lang_block.inc.php Tue Jul 20 23:22:54 2004
@@ -16,6 +16,7 @@
{
$content = '<form name="langselect"
method="post">';
$content .= '<select
onChange="location.href=this.value" name="language">';
+ $content .= '<option value="">' . lang('please
select') . '</option>';
foreach
($GLOBALS['sitemgr_info']['sitelanguages'] as $lang)
{
$selected='';
@@ -23,7 +24,7 @@
{
$selected =
'selected="selected" ';
}
- $content .= '<option ' . $selected .
'value="' . $this->link(array('select'=>$lang)) . '">'.
$GLOBALS['Common_BO']->getlangname($lang) . '</option>';
+ $content .= '<option ' . $selected .
'value="' . $this->link(array('select'=>$lang)) . '&lang='.$lang.'">'.
$GLOBALS['Common_BO']->getlangname($lang) . '</option>';
}
$content .= '</select>';
$content .= '</form>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sitemgr/modules/class.module_lang_block.inc.php, 1.4,
nomail <=