Commit 1114045a authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed up whitespace. Added template hook.

parent c58b2f04
...@@ -28,17 +28,19 @@ define('INTERNAL',1); ...@@ -28,17 +28,19 @@ define('INTERNAL',1);
require(dirname(dirname(__FILE__)).'/init.php'); require(dirname(dirname(__FILE__)).'/init.php');
$smarty = &smarty(); $smarty = smarty();
$upgrades = check_upgrades(); $upgrades = check_upgrades();
if (isset($upgrades['core']) && !empty($upgrades['core']->install)) { if (isset($upgrades['core']) && !empty($upgrades['core']->install)) {
$smarty->assign('installing',true); $smarty->assign('installing', true);
$smarty->assign('releaseargs',array($upgrades['core']->torelease,$upgrades['core']->to)); $smarty->assign('releaseargs', array($upgrades['core']->torelease,$upgrades['core']->to));
$smarty->display('admin/installgpl.tpl'); $smarty->display('admin/installgpl.tpl');
exit; exit;
} }
// normal admin page starts here // normal admin page starts here
?> $smarty->display('admin/index.tpl');
\ No newline at end of file
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment