Upload via GUI (346 Dateien)

This commit is contained in:
2026-10-28 07:54:47 +00:00
parent 6343e06db5
commit f3ba8c20b1
3 changed files with 8 additions and 5 deletions
+1
View File
@@ -107,6 +107,7 @@ if ('serviceWorker' in navigator) {
<?php if ($staff['role'] === 'admin'): ?><a href="/staff/site_pages.php" class="<?= $activePage==='site_pages'?'active':'' ?>">Seiten</a><?php endif; ?>
<?php if ($staff['role'] === 'admin'): ?><a href="/staff/languages.php" class="<?= $activePage==='languages'?'active':'' ?>">Sprachen</a><?php endif; ?>
<?php if ($staff['role'] === 'admin'): ?><a href="/staff/ticket_templates.php" class="<?= $activePage==='ticket_templates'?'active':'' ?>">Ticket-Vorlagen</a><a href="/staff/status_page.php" class="<?= $activePage==='status_page'?'active':'' ?>">Statusseite</a><a href="/staff/problems.php" class="<?= $activePage==='problems'?'active':'' ?>">Problemmanagement</a><?php endif; ?>
<?php if ($staff['role'] === 'admin'): ?><a href="/staff/mail_queue.php" class="<?= $activePage==='mail_queue'?'active':'' ?>">Mail-Warteschlange</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_email_addresses')): ?><a href="/staff/email_addresses.php" class="<?= $activePage==='email_addresses'?'active':'' ?>">E-Mail-Adressen</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_email_templates')): ?><a href="/staff/email_templates.php" class="<?= $activePage==='email_templates'?'active':'' ?>">E-Mail-Vorlagen</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_kb')): ?><a href="/staff/kb_manage.php" class="<?= $activePage==='kb'?'active':'' ?>">Wissensdatenbank</a><?php endif; ?>
+4 -2
View File
@@ -19,6 +19,7 @@ $cronJobs = [
'anonymize_data' => ['label' => 'Datenanonymisierung', 'file' => 'anonymize_data.php', 'fn' => 'run_anonymization'],
'auto_close_tickets'=> ['label' => 'Automatisches Schließen', 'file' => 'auto_close_tickets.php','fn' => 'run_auto_close_tickets'],
'process_snoozes' => ['label' => 'Wiedervorlagen', 'file' => 'process_snoozes.php', 'fn' => 'run_process_snoozes'],
'process_mail_queue' => ['label' => 'Mail-Warteschlange', 'file' => 'process_mail_queue.php', 'fn' => 'run_process_mail_queue'],
'remind_customers' => ['label' => 'Kundenerinnerung', 'file' => 'remind_customers.php', 'fn' => 'run_remind_customers'],
'send_csat' => ['label' => 'Zufriedenheitsabfrage', 'file' => 'send_csat.php', 'fn' => 'run_send_csat'],
'status_checks' => ['label' => 'Statusprüfungen', 'file' => 'status_checks.php', 'fn' => 'run_status_checks'],
@@ -413,7 +414,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
if ($action === 'test_smtp') {
$testBody = email_wrap(email_p('Diese Test-E-Mail bestätigt, dass Ihr SMTP-Versand korrekt eingerichtet ist. 🎉'));
$ok = send_mail($staff['email'], 'DeskHub – Test-E-Mail', $testBody);
$ok = send_mail($staff['email'], 'DeskHub – Test-E-Mail', $testBody, null, false);
$ok ? flash('success', 'Test-Mail an '.$staff['email'].' gesendet.') : flash('error', 'Versand fehlgeschlagen. Bitte SMTP-Daten prüfen. '.smtp_last_error());
redirect('/staff/settings.php?tab=email');
}
@@ -871,7 +872,7 @@ require __DIR__ . '/_header.php';
</div>
<div>
<label>Verschlüsselung</label>
<select name="smtp_encryption">
<select name="smtp_encryption" onchange="var p=this.form.elements.smtp_port;if(p&&['','25','465','587'].indexOf(String(p.value).trim())!==-1)p.value={tls:'587',ssl:'465',none:'25'}[this.value]">
<option value="tls" <?= $smtpEncryption==='tls'?'selected':'' ?>>STARTTLS (587)</option>
<option value="ssl" <?= $smtpEncryption==='ssl'?'selected':'' ?>>SSL/TLS (465)</option>
<option value="none" <?= $smtpEncryption==='none'?'selected':'' ?>>Keine</option>
@@ -1172,6 +1173,7 @@ require __DIR__ . '/_header.php';
'anonymize_data' => $cronAnonymize,
'auto_close_tickets'=> $cronAutoClose,
'process_snoozes' => $cronSnoozes,
'process_mail_queue' => cron_last_run_label(get_setting('cron_process_mail_queue_last_run')),
'remind_customers' => $cronRemind,
'run_plugins' => $cronPlugins,
'send_csat' => $cronCsat,
+3 -3
View File
@@ -119,7 +119,7 @@ require __DIR__ . '/_header.php';
<strong><?= $automaticChecks ?> Dienst<?= $automaticChecks === 1 ? '' : 'e' ?> werden automatisch geprüft</strong>
<?php if ($pendingChecks): ?><span class="muted"> · <?= $pendingChecks ?> <?= $pendingChecks === 1 ? 'Dienst wartet' : 'Dienste warten' ?> auf ein Prüfziel</span><?php endif; ?>
<div style="display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px">
<span class="muted" style="font-size:.8rem">DeskHub erkennt Datenbank, API, konfigurierte Mailserver, Push-Zugang sowie Android- und Windows-Verbindungen automatisch. Android-Apps gelten bei einem API-Kontakt innerhalb der letzten 60 Minuten, Windows-Apps innerhalb der letzten 10 Minuten als verbunden. Der Zeitgeber pr&uuml;ft jede Minute, einzelne Dienste k&ouml;nnen aber mit einem l&auml;ngeren Intervall gepr&uuml;ft werden.</span>
<span class="muted" style="font-size:.8rem">DeskHub erkennt Datenbank, API, konfigurierte Mailserver, Push-Zugang sowie die Erreichbarkeit der Schnittstelle f&uuml;r Android- und Windows-Apps automatisch. Ob gerade ein Ger&auml;t verbunden ist, steht nur als Zusatzinfo daneben und f&uuml;hrt nicht zu &bdquo;Offline&ldquo;. Der Zeitgeber pr&uuml;ft jede Minute, einzelne Dienste k&ouml;nnen aber mit einem l&auml;ngeren Intervall gepr&uuml;ft werden.</span>
<div style="display:flex;gap:8px;flex-wrap:wrap">
<form method="post"><?= csrf_field() ?><input type="hidden" name="action" value="auto_discover"><button class="btn secondary" type="submit">Jetzt erkennen und prüfen</button></form>
<form method="post"><?= csrf_field() ?><input type="hidden" name="action" value="component_restore_core"><button class="btn" type="submit">DeskHub-Dienste automatisch hinzufügen</button></form>
@@ -132,8 +132,8 @@ require __DIR__ . '/_header.php';
<form method="post" style="margin-top:12px">
<?= csrf_field() ?><input type="hidden" name="action" value="settings">
<h3>Einstellungen</h3>
<label style="display:flex;align-items:center;gap:8px;font-weight:400"><input type="checkbox" name="enabled" value="1" style="width:auto" <?= status_page_enabled() ? 'checked' : '' ?>> Statusseite für Kunden anzeigen (Link „Status“ im Kundenbereich)</label>
<label for="title" style="margin-top:8px">Überschrift</label>
<label style="display:flex;align-items:center;gap:8px;font-weight:400"><input type="checkbox" name="enabled" value="1" style="width:auto" <?= status_page_enabled() ? 'checked' : '' ?>> Statusseite für Kunden anzeigen (Link „Status“ im Kundenbereich)</label>
<label for="title" style="margin-top:8px">Überschrift</label>
<input type="text" id="title" name="title" maxlength="80" value="<?= e((string) get_setting('status_page_title', 'Systemstatus')) ?>" style="max-width:340px">
<div class="btn-row"><button type="submit" class="btn">Speichern</button></div>
</form>