mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 06:58:43 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user