|
|
@ -255,8 +255,7 @@ $sTemplateParameters = array_merge($sTemplateParameters, array(
|
|
|
|
'logged-in' => $sLoggedIn,
|
|
|
|
'logged-in' => $sLoggedIn,
|
|
|
|
'title' => $sPageTitle,
|
|
|
|
'title' => $sPageTitle,
|
|
|
|
'main' => $sMainContents,
|
|
|
|
'main' => $sMainContents,
|
|
|
|
/* TODO: Return a boolean instead and use this in the template. */
|
|
|
|
'menu-visible' => (isset($router->uVariables['menu']) && $router->sAuthenticated === true),
|
|
|
|
'main-class' => (isset($router->uVariables['menu']) && $router->sAuthenticated === true) ? "shift" : "",
|
|
|
|
|
|
|
|
'generation' => "<!-- page generated in " . (round(microtime(true) - $timing_start, 6)) . " seconds. -->"
|
|
|
|
'generation' => "<!-- page generated in " . (round(microtime(true) - $timing_start, 6)) . " seconds. -->"
|
|
|
|
));
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
|
|