Vergleich inc/class_language.php - 1.4.0 - 1.4.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: class_language.php 4047 2008-07-26 03:21:29Z ZiNgaBuRgA $

 * $Id: class_language.php 4304 2009-01-02 01:11:56Z chris $

 */

class MyLanguage

 */

class MyLanguage

Zeile 91Zeile 91
		$this->settings = $langinfo;

// Load the admin language files as well, if needed.

		$this->settings = $langinfo;

// Load the admin language files as well, if needed.

		if($area == "admin" || $area == "admin.old") // temporary: "|| $area == "admin.old""

		if($area == "admin")

		{
if(!is_dir($this->path."/".$language."/{$area}"))
{

		{
if(!is_dir($this->path."/".$language."/{$area}"))
{

Zeile 129Zeile 129
		if($isdatahandler === true)
{
$this->language = str_replace('/admin', '', $this->language);

		if($isdatahandler === true)
{
$this->language = str_replace('/admin', '', $this->language);

			$lfile = $this->path."/".$this->language."/".$section.".lang.php";
}
else
{
$lfile = $this->path."/".$this->language."/".$section.".lang.php";

 
		}

		}

 
		$lfile = $this->path."/".$this->language."/".$section.".lang.php";


		if(file_exists($lfile))

		if(file_exists($lfile))

		{

		{

			require_once $lfile;

			require_once $lfile;

 
		}
elseif(file_exists($this->path."/english/".$section.".lang.php"))
{
require_once $this->path."/english/".$section.".lang.php";

		}
else
{

		}
else
{