Update main tag in multiple PHP files to include an ID for improved accessibility and styling: Changed <main> to <main id="main-content"> in 404, 500, about, agb, contact, datenschutz, impressum, index, mail-gateway, vpc, vps, and webhosting pages. Additionally, updated copyright year in email templates to be dynamic.

This commit is contained in:
TheOnlyMace
2026-01-16 23:52:33 +01:00
parent 7546c89e18
commit 2dbcd2d3b7
13 changed files with 22 additions and 17 deletions

View File

@@ -12,6 +12,11 @@ if (session_status() === PHP_SESSION_NONE) {
// Konfiguration laden
require_once 'config/config.php';
// PHPMailer Autoload (falls via Composer installiert)
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
// Konfiguration verwenden
$config = getHexaHostConfig();
@@ -305,7 +310,7 @@ function generateEmailHTML($data) {
<div class="footer">
<p>Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.</p>
<p>© 2024 HexaHost.de - Alle Rechte vorbehalten</p>
<p>© ' . date('Y') . ' HexaHost.de - Alle Rechte vorbehalten</p>
</div>
</div>
</body>
@@ -342,7 +347,7 @@ function generateEmailText($data) {
$text .= "---\n";
$text .= "Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.\n";
$text .= "© 2024 HexaHost.de - Alle Rechte vorbehalten";
$text .= "© " . date('Y') . " HexaHost.de - Alle Rechte vorbehalten";
return $text;
}