Index: trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php =================================================================== diff -u -r5299 -r5305 --- trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 5299) +++ trunk/admin/editor/cmseditor/editor/filemanager/browser/default/connectors/php/commands.php (.../commands.php) (revision 5305) @@ -159,7 +159,7 @@ $filter = ''; } if ( $email_templates_folder_id == "" ) $email_templates_folder_id = 0; - $system_tpl_id = GetConfigValue('system_tpl_id'); + $system_tpl_ids = GetConfigValue('system_tpl_ids'); if ( $cms_mode == 1 ) { $query = " SELECT st.*, @@ -178,6 +178,7 @@ AND st.st_parent_id != '$system_tpl_id' AND st_id != ".$email_templates_folder_id." AND st_path != '/cms'" . $filter . " + AND st.st_id NOT IN ($system_tpl_ids) ORDER BY st.st_order"; } else { @@ -198,6 +199,7 @@ AND st.st_id != '$system_tpl_id' AND st.st_parent_id != '$system_tpl_id' AND st_path != '/cms%'" . $filter . " + AND st.st_id NOT IN ($system_tpl_ids) ORDER BY st.st_order"; } // echo $query."
";