diff --git a/dashboard/footer.php b/dashboard/footer.php index 9a2cffc..77f4155 100644 --- a/dashboard/footer.php +++ b/dashboard/footer.php @@ -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"); diff --git a/templates/modern/dashboard/footer.html b/templates/modern/dashboard/footer.html index 4baa147..a32b3fc 100644 --- a/templates/modern/dashboard/footer.html +++ b/templates/modern/dashboard/footer.html @@ -1,7 +1,7 @@