Favicon und texte verbessert
This commit is contained in:
+21
-24
@@ -357,34 +357,31 @@ $telegramDeepLink = $telegramLinkIsActive && $telegramBotUsername !== ''
|
||||
<div class="telegram-qr-block">
|
||||
<div class="telegram-qr-image" id="telegramConnectQr" data-telegram-link="<?= h($telegramDeepLink) ?>"></div>
|
||||
<p class="hint">QR-Code mit dem Handy in Telegram scannen und dann im Bot nur noch auf <strong>Start</strong> tippen.</p>
|
||||
<p class="hint">
|
||||
Direkter Link:
|
||||
<a href="<?= h($telegramDeepLink) ?>" target="_blank" rel="noopener"><?= h($telegramDeepLink) ?></a>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<p class="hint">
|
||||
Verbindung starten: <a href="<?= h($publicBasePath . 'telegram/connect.php') ?>">Telegram-Verknüpfung öffnen</a>
|
||||
<?php if ($telegramDeepLink !== null): ?>
|
||||
oder direkt im Bot:
|
||||
<a href="<?= h($telegramDeepLink) ?>" target="_blank" rel="noopener">@<?= h($telegramBotUsername) ?></a>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<form method="post" action="" class="form-stack">
|
||||
<input type="hidden" name="action" value="update_tcrb_telegram_notifications">
|
||||
<label class="checkbox-row">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="telegram_tcrb_v_enabled"
|
||||
value="1"
|
||||
<?= $telegramTcrbVEnabled ? 'checked' : '' ?>
|
||||
<?= !$telegramHasConnection ? 'disabled' : '' ?>
|
||||
>
|
||||
<span>Letzten T CrB-Wert im Filter V per Telegram erhalten</span>
|
||||
</label>
|
||||
<?php if (!$telegramHasConnection): ?>
|
||||
<p class="hint">Die Auswahl wird erst aktiv, nachdem dein Telegram-Konto verbunden ist.</p>
|
||||
<?php endif; ?>
|
||||
<button type="submit" class="btn btn-primary" <?= !$telegramHasConnection ? 'disabled' : '' ?>>Benachrichtigung speichern</button>
|
||||
</form>
|
||||
<?php if ($telegramHasConnection): ?>
|
||||
<form method="post" action="" class="form-stack">
|
||||
<input type="hidden" name="action" value="update_tcrb_telegram_notifications">
|
||||
<label class="checkbox-row">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="telegram_tcrb_v_enabled"
|
||||
value="1"
|
||||
<?= $telegramTcrbVEnabled ? 'checked' : '' ?>
|
||||
>
|
||||
<span>Letzten T CrB-Wert im Filter V per Telegram erhalten</span>
|
||||
</label>
|
||||
<button type="submit" class="btn btn-primary">Benachrichtigung speichern</button>
|
||||
</form>
|
||||
<?php else: ?>
|
||||
<p class="hint">Benachrichtigungsoptionen werden angezeigt, sobald dein Telegram-Konto verbunden ist.</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user