Jahreszahl Footer dynamisch
This commit is contained in:
parent
be84b0749f
commit
22d30ccf1e
@ -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");
|
||||
|
@ -1,7 +1,7 @@
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © JU & MI 2023</div>
|
||||
<div class="text-muted">Copyright © JU & MI {$jahr}</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user