1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Bugtracker #4278 - hard coded LANs

This commit is contained in:
e107steved
2008-01-08 20:23:00 +00:00
parent 52c02eb3a0
commit 8794e88f4b
2 changed files with 11 additions and 8 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
| $Revision: 1.8 $
| $Date: 2008-01-04 19:57:19 $
| $Revision: 1.9 $
| $Date: 2008-01-08 20:22:54 $
| $Author: e107steved $
| With code from Izydor and Lolo.
+----------------------------------------------------------------------------+
@@ -209,7 +209,7 @@ if(isset($_POST['language_sel']) && isset($_POST['language'])){
$theme_text = "<table class='fborder' style='".ADMIN_WIDTH."'>
<tr>
<td class='fcaption'>Theme</td>
<td class='fcaption'>".LAN_CHECK_21."</td>
<td class='fcaption'>".LAN_CHECK_16."</td>
<td class='fcaption'>".$_POST['language']."</td>
<td class='fcaption'>".LAN_OPTIONS."</tr>";
@@ -222,7 +222,7 @@ if(isset($_POST['language_sel']) && isset($_POST['language'])){
}
$theme_text .= "</table>";
$ns -> tablerender("Themes",$theme_text);
$ns -> tablerender(LAN_CHECK_22,$theme_text);
require_once(e_ADMIN."footer.php");
exit;
}
@@ -237,7 +237,7 @@ function check_core_lanfiles($checklan,$subdir=''){
$text .= "<table class='fborder' style='".ADMIN_WIDTH."'>
<tr>
<td class='fcaption'>".LAN_CHECK_16."</td>
<td class='fcaption'>".$_POST['language']." File</td>
<td class='fcaption'>".$_POST['language'].' '.LAN_CHECK_20."</td>
<td class='fcaption'>".LAN_OPTIONS."</tr>";
$keys = array_keys($English);

View File

@@ -4,9 +4,9 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_lancheck.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:34:40 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-01-08 20:23:00 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
define("LAN_CHECK_1", "Verify/Edit Language Files"); // modified in 0.7.6
@@ -30,6 +30,9 @@ define("LAN_CHECK_16", "Original File");
define("LAN_CHECK_17", "A write problem occured while trying to save the file.");
define("LAN_CHECK_18", "Language files in the standard format are NOT available for this plugin/theme.");
define("LAN_CHECK_19", "Non-UTF-8 characters found!");
define('LAN_CHECK_20', 'File');
define('LAN_CHECK_21', 'Theme');
define('LAN_CHECK_22', 'Themes');
?>