diff --git a/interface/web/index.php b/interface/web/index.php index e942c1068810c8eabf587161d638a7e568e7fc9d..af91b265a2b1f45f5541fb0d9fc49e47a9cd39a7 100644 --- a/interface/web/index.php +++ b/interface/web/index.php @@ -35,6 +35,7 @@ if(!isset($_SESSION['s']['module']['name'])) $_SESSION['s']['module']['name'] = $app->uses('tpl'); $app->tpl->newTemplate('main.tpl.htm'); +$app->tpl->setVar('logged_in', ($_SESSION['s']['user']['active'] != 1 ? 'n' : 'y')); // tab change warning? // read misc config diff --git a/interface/web/login/templates/index.htm b/interface/web/login/templates/index.htm index d6972b9ef93473bd49e498e510a144cd40a5ae8b..3083148a88bb5c6cebd7dabcc3d1ee6cc18b5c03 100644 --- a/interface/web/login/templates/index.htm +++ b/interface/web/login/templates/index.htm @@ -13,7 +13,6 @@