2023-12-30 14:28:21 +01:00
|
|
|
<?php
|
|
|
|
echo '<div class="health-check-body health-check-debug-tab hide-if-no-js">';
|
2024-02-21 21:31:00 +01:00
|
|
|
echo '<h2>Erweiterte Sicherheitseinstellungen</h2>';
|
2023-12-30 14:28:21 +01:00
|
|
|
if (isset($_POST['submit'])) {
|
|
|
|
echo '<div id="bdp_success">Die Einstellungen wurden gespeichert.</div>';
|
|
|
|
update_option('whl_page', $_POST['login_url']);
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<form method="post" action="admin.php?page=bdp-kompass%2Fmodules%2Findex.php&loadmodule=security">
|
|
|
|
<div class="bdp_security_outer">
|
2024-02-21 21:31:00 +01:00
|
|
|
<table>
|
2023-12-30 14:28:21 +01:00
|
|
|
<tr style="vertical-align: top;">
|
2024-02-21 21:31:00 +01:00
|
|
|
<td style="font-weight: bold; padding-right: 10px;"><br />Login-URL:</td>
|
|
|
|
<td style="vertical-align: top;">
|
|
|
|
<label>
|
|
|
|
<?php echo get_site_url(); ?>/</label><input style="width: 100px;" class="long_text" type="text" name="login_url" id="login_url" required
|
2023-12-30 14:28:21 +01:00
|
|
|
value = "<?php echo get_option('whl_page', 'bdp_login'); ?>"
|
|
|
|
>/<br />
|
|
|
|
<label style="font-weight: normal; color: #a0a0a0; font-style: italic">
|
|
|
|
Du erreichst das Dashboard deiner Seite zukünftig nur noch unter dieser URL
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2024-02-21 21:31:00 +01:00
|
|
|
</table><br /><br />
|
|
|
|
|
|
|
|
<input class="button" type="submit" name="submit" value="Einstellungen speichern">
|
2023-12-30 14:28:21 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|