Index: trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php =================================================================== diff -u -N -r5306 -r5638 --- trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 5306) +++ trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 5638) @@ -161,11 +161,12 @@ if ( $email_templates_folder_id == "" ) $email_templates_folder_id = 0; $system_tpl_ids = GetConfigValue('system_tpl_ids'); if ( $cms_mode == 1 ) { + $lang_prefix = $this->Application->GetVar('lang_prefix'); $query = " SELECT st.*, - IF(lb.".$default_lang_prefix."_content='' OR lb.".$default_lang_prefix."_content IS NULL, + IF(lb.".$lang_prefix."_content='' OR lb.".$lang_prefix."_content IS NULL, st.st_path, - lb.".$default_lang_prefix."_content + lb.".$lang_prefix."_content ) AS page_title FROM structure_templates AS st