29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-17 09:35:35 +00:00

^ Added _Lang_ to the files located in the admin templates dir

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@440 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Levis Bisson 2005-10-10 22:30:57 +00:00
parent b64611dd3e
commit ee66527608
5 changed files with 41 additions and 40 deletions

View File

@ -37,6 +37,7 @@ CATEGORIES=Categories
CATEGORY=Category
CATEGORY MANAGER=Category Manager
CHANGE CREATOR=Change Creator
CHECK FOR LATEST VERSION=Check for latest Version
CHECKED OUT=Checked out
CHECKIN MANAGER=Checkin Manager
CLEAN CACHE=Clean Cache
@ -147,6 +148,7 @@ ITEM CHECKED IN=Item Checked In
ITEM DETAILS=Item Details
ITEM TITLE=Item Title
ITEMS=Items
JOOMLA! LOGO=Joomla! Logo
LANGUAGE MANAGER=Language Manager
LANGUAGES=Languages
LAST=last
@ -158,12 +160,12 @@ LIST FILES=List Files
LIST LENGTH=List Length
LIST OF COMPONENTS=List of Components
LIST PACKAGES=List Packages
LOGIN=Login
LOGGED IN USER=Logged in User
LOGOUT=Logout
MAIL=Mail
MAKE UNWRITEABLE AFTER SAVING=Make unwriteable after saving
MAKE WRITEABLE AFTER SAVING=Make writeable after saving
MAMBO LOGO=Mambo Logo
MAMBOTS=Mambots
MAX SIZE=Max Size
MEDIA=Media
@ -276,6 +278,7 @@ RESULTS=Results
SAVE=Save
SAVE ORDER=Save Order
SEARCH TEXT=Search Text
SECONDS=seconds
SECTION=Section
SECTION MANAGER=Section Manager
SECURITY=security
@ -352,8 +355,9 @@ VALIDUSERPASS=Incorrect Username and Password, please try again
VALIDUSERPASSACCESS=Incorrect Username, Password, or Access Level. Please try again
VERSION=Version
VOTE=Vote
WARNJAVASCRIPT=!Warning! Javascript must be enabled for proper operation of the Administrator
WEB=Web
WELCOME TO MAMBO=Welcome to Mambo
WELCOME TO JOOMLA!=Welcome to Joomla!
WIDTH=Width
WRITEABLE=Writeable
YES=Yes

View File

@ -15,15 +15,14 @@
defined( '_VALID_MOS' ) or die( 'Restricted access' );
$tstart = mosProfiler::getmicrotime();
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
echo '<?xml version="1.0" encoding="'. $_LANG->iso() .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $_LANG->isoCode();?>">
<head>
<title><?php echo $mosConfig_sitename; ?> - Administration [Joomla]</title>
<title><?php echo $mosConfig_sitename; ?> - <?php echo $_LANG->_( 'Administration' ); ?> [Joomla]</title>
<link rel="stylesheet" href="templates/joomla_admin/css/template_css.css" type="text/css" />
<link rel="stylesheet" href="templates/joomla_admin/css/theme.css" type="text/css" />
<script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
@ -33,15 +32,15 @@ echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
include_once( $mosConfig_absolute_path . '/editor/editor.php' );
initEditor();
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta name="Generator" content="Joomla! Content Management System" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_LANG->iso(); ?>" />
<meta name="Generator" content="tsWebEditor (tswebeditor.net.tc - www.tswebeditor.tk)" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site .'/images/favicon.ico';?>" />
</head>
<body onload="MM_preloadImages('images/help_f2.png','images/archive_f2.png','images/back_f2.png','images/cancel_f2.png','images/delete_f2.png','images/edit_f2.png','images/new_f2.png','images/preview_f2.png','images/publish_f2.png','images/save_f2.png','images/unarchive_f2.png','images/unpublish_f2.png','images/upload_f2.png')">
<div id="wrapper">
<div id="header">
<div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="Joomla! Logo" /></div>
<div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="<?php echo $_LANG->_( 'Joomla! Logo' ); ?>" /></div>
</div>
</div>
<table width="100%" class="menubar" cellpadding="0" cellspacing="0" border="0">
@ -56,7 +55,7 @@ initEditor();
</td>
<td class="menubackgr" align="right" style="padding-right:5px;">
<a href="index2.php?option=logout" style="color: #333333; font-weight: bold">
Logout</a>
<?php echo $_LANG->_( 'Logout' ); ?></a>
<strong><?php echo $my->username;?></strong>
</td>
</tr>
@ -92,14 +91,14 @@ initEditor();
<div align="center" class="smallgrey">
<?php echo $version; ?>
<br/>
<a href="http://www.joomla.org/content/blogcategory/32/66/" target="_blank">Check for latest Version</a>
<a href="http://www.joomla.org/content/blogcategory/32/66/" target="_blank"><?php echo $_LANG->_( 'Check for latest Version' ); ?></a>
</div>
<?php
if ( $mosConfig_debug ) {
echo '<div class="smallgrey">';
$tend = mosProfiler::getmicrotime();
$totaltime = ($tend - $tstart);
printf ("Page was generated in %f seconds", $totaltime);
printf ( $_LANG->_( 'Page was generated in' ) ." %f ". $_LANG->_( 'seconds' ), $totaltime);
echo '</div>';
}
?>

View File

@ -20,8 +20,8 @@ $tstart = mosProfiler::getmicrotime();
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?> - Administration [Joomla]</title>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<title><?php echo $mosConfig_sitename; ?> - <?php echo $_LANG->_( 'Administration' ); ?> [Joomla]</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_LANG->iso(); ?>" />
<style type="text/css">
@import url(templates/joomla_admin/css/admin_login.css);
</style>
@ -36,34 +36,34 @@ $tstart = mosProfiler::getmicrotime();
<body onload="setFocus();">
<div id="wrapper">
<div id="header">
<div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="Joomla! Logo" /></div>
<div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="<?php echo $_LANG->_( 'Joomla! Logo' ); ?>" /></div>
</div>
</div>
<div id="ctr" align="center">
<div class="login">
<div class="login-form">
<img src="templates/joomla_admin/images/login.gif" alt="Login" />
<img src="templates/joomla_admin/images/login.gif" alt="<?php echo $_LANG->_( 'Login' ); ?>" />
<form action="index.php" method="post" name="loginForm" id="loginForm">
<div class="form-block">
<div class="inputlabel">Username</div>
<div class="inputlabel"><?php echo $_LANG->_( 'Username' ); ?></div>
<div><input name="usrname" type="text" class="inputbox" size="15" /></div>
<div class="inputlabel">Password</div>
<div class="inputlabel"><?php echo $_LANG->_( 'Password' ); ?></div>
<div><input name="pass" type="password" class="inputbox" size="15" /></div>
<div align="left"><input type="submit" name="submit" class="button" value="Login" /></div>
<div align="left"><input type="submit" name="submit" class="button" value="<?php echo $_LANG->_( 'Login' ); ?>" /></div>
</div>
</form>
</div>
<div class="login-text">
<div class="ctr"><img src="templates/joomla_admin/images/security.png" width="64" height="64" alt="security" /></div>
<p>Welcome to Joomla!</p>
<p>Use a valid username and password to gain access to the administration console.</p>
<div class="ctr"><img src="templates/joomla_admin/images/security.png" width="64" height="64" alt="<?php echo $_LANG->_( 'security' ); ?>" /></div>
<p><?php echo $_LANG->_( 'Welcome to Joomla!' ); ?></p>
<p><?php echo $_LANG->_( 'DESCUSEVALIDLOGIN' ); ?></p>
</div>
<div class="clr"></div>
</div>
</div>
<div id="break"></div>
<noscript>
!Warning! Javascript must be enabled for proper operation of the Administrator
<?php echo $_LANG->_( 'WARNJAVASCRIPT' ); ?>
</noscript>
<div class="footer" align="center">
<div align="center">

View File

@ -11,15 +11,14 @@
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$tstart = mosProfiler::getmicrotime();
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
echo '<?xml version="1.0" encoding="'. $_LANG->iso() .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $_LANG->isoCode();?>">
<head>
<title><?php echo $mosConfig_sitename; ?> - Administration [Mambo]</title>
<title><?php echo $mosConfig_sitename; ?> - <?php echo $_LANG->_( 'Administration' ); ?> [Joomla]</title>
<link rel="stylesheet" href="templates/mambo_admin/css/template_css.css" type="text/css" />
<link rel="stylesheet" href="templates/mambo_admin/css/theme.css" type="text/css" />
<script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
@ -29,7 +28,7 @@ echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
include_once( $mosConfig_absolute_path . "/editor/editor.php" );
initEditor();
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_LANG->iso(); ?>" />
<!--
* DO NOT REMOVE THE FOLLOWING - FAILURE TO COMPLY IS A DIRECT VIOLATION
* OF THE GNU GENERAL PUBLIC LICENSE - http://www.gnu.org/copyleft/gpl.html
@ -53,7 +52,7 @@ echo "<meta name=\"Generator\" content=\"Mambo (C) 2000 - 2005 Miro Internationa
<td class="menubackgr"><?php mosLoadAdminModule( 'fullmenu' );?></td>
<td class="menubackgr" align="right"><?php mosLoadAdminModule( 'unread' );?></td>
<td class="menubackgr" align="right"><?php mosLoadAdminModule( 'online' );?></td>
<td class="menubackgr" align="right"><a href="index2.php?option=logout" style="color: #FF9E31; font-weight: bold">Logout</a> <strong><?php echo $my->username;?></strong>&nbsp;</td>
<td class="menubackgr" align="right"><a href="index2.php?option=logout" style="color: #FF9E31; font-weight: bold"><?php echo $_LANG->_( 'Logout' ); ?></a> <strong><?php echo $my->username;?></strong>&nbsp;</td>
</tr>
</table>
<?php } ?>
@ -87,7 +86,7 @@ echo "<meta name=\"Generator\" content=\"Mambo (C) 2000 - 2005 Miro Internationa
echo ("<div class=\"smallgrey\">");
$tend = mosProfiler::getmicrotime();
$totaltime = ($tend - $tstart);
printf ("Page was generated in %f seconds", $totaltime);
printf ( $_LANG->_( 'Page was generated in' ) ." %f ". $_LANG->_( 'seconds' ), $totaltime);
echo ("</div>");
?>
</td></tr></table>

View File

@ -11,15 +11,14 @@
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$tstart = mosProfiler::getmicrotime();
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
echo '<?xml version="1.0" encoding="'. $_LANG->iso() .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $_LANG->isoCode();?>">
<head>
<title><?php echo $mosConfig_sitename; ?> - Administration [Mambo]</title>
<title><?php echo $mosConfig_sitename; ?> - <?php echo $_LANG->_( 'Administration' ); ?> [Joomla]</title>
<link rel="stylesheet" href="templates/mambo_admin_blue/css/template_css.css" type="text/css" />
<link rel="stylesheet" href="templates/mambo_admin_blue/css/theme.css" type="text/css" />
<script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
@ -29,7 +28,7 @@ echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
include_once( $mosConfig_absolute_path . "/editor/editor.php" );
initEditor();
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_LANG->iso(); ?>" />
<!--
* DO NOT REMOVE THE FOLLOWING - FAILURE TO COMPLY IS A DIRECT VIOLATION
* OF THE GNU GENERAL PUBLIC LICENSE - http://www.gnu.org/copyleft/gpl.html
@ -56,7 +55,7 @@ echo "<meta name=\"Generator\" content=\"Mambo (C) 2000 - 2005 Miro Internationa
<?php mosLoadAdminModules( 'header', 2 );?>
</div>
</td>
<td class="menubackgr" align="right"><a href="index2.php?option=logout" style="color: #333333; font-weight: bold">Logout</a> <strong><?php echo $my->username;?></strong>&nbsp;</td>
<td class="menubackgr" align="right"><a href="index2.php?option=logout" style="color: #333333; font-weight: bold"><?php echo $_LANG->_( 'Logout' ); ?></a> <strong><?php echo $my->username;?></strong>&nbsp;</td>
</tr>
</table>
<?php } ?>
@ -90,7 +89,7 @@ include ($mosConfig_absolute_path . "/includes/footer.php");
echo ("<div class=\"smallgrey\">");
$tend = mosProfiler::getmicrotime();
$totaltime = ($tend - $tstart);
printf ("Page was generated in %f seconds", $totaltime);
printf ( $_LANG->_( 'Page was generated in' ) ." %f ". $_LANG->_( 'seconds' ), $totaltime);
echo ("</div>");
?>
</td></tr></table>