$langFile, 'target' => basename($INC), ); // Compares, all fine $OUT .= loadTemplate('admin_repair_lang_row_compares', TRUE, $content); } else { // Generate difference output only if count is smaller/equals 100 entries $diffContent = ''; // Prepare content $content = array( 'inc' => $INC, 'source' => $langFile, 'diff_content' => $diffContent, ); // Compares, all fine $OUT .= loadTemplate('admin_repair_lang_row_diff', TRUE, $content); } } else { // Not readable, prepare content $content = array( 'inc' => $INC, 'lang' => $lang, ); // Load template $OUT .= loadTemplate('admin_repair_lang_row_404', TRUE, $content); } } // END - foreach } // END - foreach // Preapre content $content = array( 'rows' => $OUT, 'file_count' => count($langFiles), 'total_diff' => $GLOBALS['lang_diff_count']['total'], 'total_msgs' => $GLOBALS['msg_count'][getCurrentLanguage()], ); // Load main template loadTemplate('admin_repair_lang', FALSE, $content); // [EOF] ?>