Index: trunk/admin/config/edit_label.php =================================================================== diff -u -r721 -r954 --- trunk/admin/config/edit_label.php (.../edit_label.php) (revision 721) +++ trunk/admin/config/edit_label.php (.../edit_label.php) (revision 954) @@ -206,6 +206,20 @@ $title = admin_language("la_Text_Editing")." ".admin_language("la_Text_Label"); +// substitute charset to match the ones from phrase: begin +$tmp_id=GetVar('PhraseId'); +if($tmp_id) +{ + $tmp_id=explode(',',$tmp_id); + + $db=&GetADODBConnection(); + $LangId=$db->GetOne('SELECT LanguageId FROM '.GetTablePrefix().'Phrase WHERE PhraseId='.$tmp_id[0]); + + $c = $objLanguages->GetItem($LangId); + define('FORCE_CHARSET', $c->Get("Charset") ); +} +// substitute charset to match the ones from phrase: end + int_header($objListToolBar,NULL,$title); ?>
" method=POST>