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