Subversion Repositories LCARS

Compare Revisions

Last modification

Ignore whitespace Rev 156 → Rev 154

/trunk/global.php
7,7 → 7,6
@filemtime(__FILE__),
@filemtime('LocaleData'),
@filemtime('index.phtml'),
@filemtime('footer.phtml'),
@filemtime('styles/lcars-basic.css'),
@filemtime('styles/lcars22.css'),
@filemtime('styles/lcars-ani.css'),
27,6 → 26,7
'de' => 'Deutsch'
);
 
/* TODO: Use Autoloader */
require_once 'Zend/Loader/StandardAutoloader.php';
$loader = new Zend\Loader\StandardAutoloader(array('autoregister_zf' => true));
$loader->register();
42,7 → 42,6
/**
* Returns the translation of the parameter, if any,
* using Zend Framework 2.1 Translate
*
* @param string $s
* @return string
*/
52,7 → 51,12
global $textDomain;
global $language;
return $translator->translate($s, $textDomain, $language);
if ($translator)
{
return $translator->translate($s, $textDomain, $language);
}
 
return $s;
}
 
$menu = array(