Jahreszahl Footer dynamisch

This commit is contained in:
aschwarz
2023-04-29 11:34:53 +02:00
parent be84b0749f
commit 22d30ccf1e
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,8 @@ $smarty = new SmartyAdmin();
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
require_once "../language/german.inc.php";
$jahr = date("Y");
$smarty->assign('jahr', "$jahr");
$smarty->assign('action', "$action");
$smarty->display("modern/dashboard/$templatename");