X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-repair_lang.php;h=def55929647f347bdcc896d1d36a268a7ed7afa9;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=c62b539465f6a29e37a51ded2b23e47ac51d4f5f;hpb=4dfa7b2274172717e7e5da373f8bb6bdc7b3d51b;p=mailer.git diff --git a/inc/modules/admin/what-repair_lang.php b/inc/modules/admin/what-repair_lang.php index c62b539465..def5592964 100644 --- a/inc/modules/admin/what-repair_lang.php +++ b/inc/modules/admin/what-repair_lang.php @@ -14,12 +14,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,13 +41,13 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Get a list with current language files -$langFiles = getArrayFromDirectory('inc/language/', '', false, false, array('_de.php'), '.php', '@(\.|\.\.)$@', true, getCurrentLanguage()); +$langFiles = getArrayFromDirectory('inc/language/', '', FALSE, FALSE, array('_de.php'), '.php', '@(\.|\.\.)$@', TRUE, getCurrentLanguage()); // By default nothing is checked, which is isn't right... -$SW = 2; $OUT = ''; +$OUT = ''; // Get valid languages $validLanguages = getValidLanguages(getCurrentLanguage()); @@ -82,11 +80,10 @@ foreach ($validLanguages as $lang) { $content = array( 'source' => $langFile, 'target' => basename($INC), - 'sw' => $SW, ); // Compares, all fine - $OUT .= loadTemplate('admin_repair_lang_row_compares', true, $content); + $OUT .= loadTemplate('admin_repair_lang_row_compares', TRUE, $content); } else { // Generate difference output only if count is smaller/equals 100 entries $diffContent = '