1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

language cleanup

This commit is contained in:
marj
2009-07-18 15:14:38 +00:00
parent fe48473f4e
commit b37f8df961
4 changed files with 20 additions and 26 deletions

View File

@@ -9,9 +9,9 @@
* Banner Administration * Banner Administration
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $
* $Revision: 1.10 $ * $Revision: 1.11 $
* $Date: 2009-01-09 17:25:50 $ * $Date: 2009-07-18 15:14:38 $
* $Author: secretr $ * $Author: marj_nl_fr $
* *
*/ */
@@ -35,6 +35,7 @@ $fl = new e_file;
require_once(e_HANDLER."message_handler.php"); require_once(e_HANDLER."message_handler.php");
$emessage = &eMessage::getInstance(); $emessage = &eMessage::getInstance();
//@FIXME mix up in banner language files
@include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php"); @include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
@include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php"); @include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");

View File

@@ -11,16 +11,16 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_admin/fileinspector.php,v $ | $Source: /cvs_backup/e107_0.8/e107_admin/fileinspector.php,v $
| $Revision: 1.15 $ | $Revision: 1.16 $
| $Date: 2009-07-07 07:32:59 $ | $Date: 2009-07-18 15:14:38 $
| $Author: e107coders $ | $Author: marj_nl_fr $
Includes standalone function - needs finishing Includes standalone function - needs finishing
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
if ($_SERVER['QUERY_STRING'] == 'alone') if ($_SERVER['QUERY_STRING'] == 'alone')
{ {
//@TODO make multi-language if possible
// Standalone file inspector - requires suitably edited authorisation file, otherwise it just exits with blank screen. This bit is intended to facilitate the // Standalone file inspector - requires suitably edited authorisation file, otherwise it just exits with blank screen. This bit is intended to facilitate the
// checking of a totally dead installation. // checking of a totally dead installation.
@@ -949,9 +949,9 @@ class file_inspector {
$data .= "| GNU General Public License (http://gnu.org).\n"; $data .= "| GNU General Public License (http://gnu.org).\n";
$data .= "|\n"; $data .= "|\n";
$data .= "| \$Source: /cvs_backup/e107_0.8/e107_admin/fileinspector.php,v $\n"; $data .= "| \$Source: /cvs_backup/e107_0.8/e107_admin/fileinspector.php,v $\n";
$data .= "| \$Revision: 1.15 $\n"; $data .= "| \$Revision: 1.16 $\n";
$data .= "| \$Date: 2009-07-07 07:32:59 $\n"; $data .= "| \$Date: 2009-07-18 15:14:38 $\n";
$data .= "| \$Author: e107coders $\n"; $data .= "| \$Author: marj_nl_fr $\n";
$data .= "+----------------------------------------------------------------------------+\n"; $data .= "+----------------------------------------------------------------------------+\n";
$data .= "*/\n\n"; $data .= "*/\n\n";
} }

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $ | $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.38 $ | $Revision: 1.39 $
| $Date: 2009-07-17 23:23:36 $ | $Date: 2009-07-18 15:14:38 $
| $Author: e107coders $ | $Author: marj_nl_fr $
+---------------------------------------------------------------+ +---------------------------------------------------------------+
*/ */
@@ -78,16 +78,8 @@ echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='".CHARSET.
// B.2: Include admin LAN defines // B.2: Include admin LAN defines
// //
if (file_exists(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_header.php')) { include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_header.php");
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_header.php"); include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_footer.php');
} else {
@include_once(e_LANGUAGEDIR."English/admin/lan_header.php");
}
if (file_exists(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_footer.php')) {
@include_once(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_footer.php');
} else {
@include_once(e_LANGUAGEDIR.'English/admin/lan_footer.php');
}

View File

@@ -9,9 +9,9 @@
* Administration Area - Users * Administration Area - Users
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
* $Revision: 1.40 $ * $Revision: 1.41 $
* $Date: 2009-07-17 07:53:13 $ * $Date: 2009-07-18 15:14:38 $
* $Author: e107coders $ * $Author: marj_nl_fr $
* *
*/ */
require_once('../class2.php'); require_once('../class2.php');
@@ -1354,6 +1354,7 @@ class users
else else
{ {
$row['user_language'] = e_LANGUAGE; $row['user_language'] = e_LANGUAGE;
//@FIXME use array
require_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_signup.php"); require_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_signup.php");
} }