diff --git a/setup/system_charset.php b/setup/system_charset.php index 22e17828e8..08f9814e78 100644 --- a/setup/system_charset.php +++ b/setup/system_charset.php @@ -65,8 +65,8 @@ { Header('Location: index.php'); } - echo "
Click here to return to setup
\n"; + echo ''.lang('Click here to return to setup.')."
\n"; exit; } } @@ -101,15 +101,9 @@ $GLOBALS['phpgw_setup']->db->query("SELECT * FROM $table",__LINE__,__FILE__); while($columns = $GLOBALS['phpgw_setup']->db->row(True)) { - //$columns = $GLOBALS['phpgw_setup']->db->Record; $update = array(); foreach($columns as $name => $data) { - if (is_numeric($name)) - { - unset($columns[$name]); - continue; - } switch($definition['fd'][$name]['type']) { case 'char': @@ -162,7 +156,7 @@ $setup_tpl->set_var('lang_cancel',lang('Cancel')); $setup_tpl->set_var('lang_current',lang('Current system-charset')); $setup_tpl->set_var('lang_convert_to',lang('Charset to convert to')); - $setup_tpl->set_var('lang_warning',lang('Warning: This feature is still experimental. DO NOT USE IT ON A PRODUCTION SYSTEM. Hopefully you know what you do ;-)')); + $setup_tpl->set_var('lang_warning','Warning: This feature is still experimental. DO NOT USE IT ON A PRODUCTION SYSTEM.