mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 08: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:
@@ -13,7 +13,7 @@ http_response_code(404);
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<section class="error-page">
|
<section class="error-page">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="error-content glass-card">
|
<div class="error-content glass-card">
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ http_response_code(500);
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<section class="error-page">
|
<section class="error-page">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="error-content glass-card">
|
<div class="error-content glass-card">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'about';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- About Hero -->
|
<!-- About Hero -->
|
||||||
<section class="about-hero">
|
<section class="about-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'agb';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- AGB Hero -->
|
<!-- AGB Hero -->
|
||||||
<section class="legal-hero">
|
<section class="legal-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ if (session_status() === PHP_SESSION_NONE) {
|
|||||||
// Konfiguration laden
|
// Konfiguration laden
|
||||||
require_once 'config/config.php';
|
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
|
// Konfiguration verwenden
|
||||||
$config = getHexaHostConfig();
|
$config = getHexaHostConfig();
|
||||||
|
|
||||||
@@ -305,7 +310,7 @@ function generateEmailHTML($data) {
|
|||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.</p>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@@ -342,7 +347,7 @@ function generateEmailText($data) {
|
|||||||
|
|
||||||
$text .= "---\n";
|
$text .= "---\n";
|
||||||
$text .= "Diese E-Mail wurde automatisch vom HexaHost.de Kontaktformular generiert.\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;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ $additional_scripts = ['assets/js/contact.js'];
|
|||||||
includeHeader($page_title, $page_description, $current_page, $additional_scripts);
|
includeHeader($page_title, $page_description, $current_page, $additional_scripts);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Contact Hero -->
|
<!-- Contact Hero -->
|
||||||
<section class="contact-hero">
|
<section class="contact-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'datenschutz';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Datenschutz Hero -->
|
<!-- Datenschutz Hero -->
|
||||||
<section class="legal-hero">
|
<section class="legal-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'impressum';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Impressum Hero -->
|
<!-- Impressum Hero -->
|
||||||
<section class="legal-hero">
|
<section class="legal-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'home';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Hero Section -->
|
<!-- Hero Section -->
|
||||||
<section class="hero">
|
<section class="hero">
|
||||||
<div class="hero-container">
|
<div class="hero-container">
|
||||||
@@ -170,11 +170,11 @@ includeHeader($page_title, $page_description, $current_page);
|
|||||||
<div class="feature-item glass-card">
|
<div class="feature-item glass-card">
|
||||||
<div class="feature-icon">
|
<div class="feature-icon">
|
||||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
<path d="M12 2v20M17 7l-5-5-5 5M17 17l-5 5-5-5"/>
|
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<h3>Faire Preise</h3>
|
<h3>Maximale Sicherheit</h3>
|
||||||
<p>Transparent kalkulierte Preise ohne versteckte Kosten</p>
|
<p>DDoS-Schutz, SSL-Zertifikate und regelmäßige Backups inklusive</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="feature-item glass-card">
|
<div class="feature-item glass-card">
|
||||||
<div class="feature-icon">
|
<div class="feature-icon">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'mail-gateway';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Product Hero -->
|
<!-- Product Hero -->
|
||||||
<section class="product-hero">
|
<section class="product-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'vpc';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Product Hero -->
|
<!-- Product Hero -->
|
||||||
<section class="product-hero">
|
<section class="product-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'vps';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Product Hero -->
|
<!-- Product Hero -->
|
||||||
<section class="product-hero">
|
<section class="product-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ $current_page = 'webhosting';
|
|||||||
includeHeader($page_title, $page_description, $current_page);
|
includeHeader($page_title, $page_description, $current_page);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main id="main-content">
|
||||||
<!-- Product Hero -->
|
<!-- Product Hero -->
|
||||||
<section class="product-hero">
|
<section class="product-hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
Reference in New Issue
Block a user