Design updates

This commit is contained in:
2024-02-21 16:07:03 +01:00
parent ba736ef661
commit 69322d64f3
5 changed files with 441 additions and 78 deletions

View File

@ -1,4 +1,3 @@
<div id="wpbody-content">
<h1>Über dieses Plugin</h1>

View File

@ -1,5 +1,4 @@
<?php
echo '<div id="wpbody-content">';
echo '<h1>Kalender-Einstellungen</h1>';
if (isset($_POST['submit'])) {
echo '<div id="bdp_success">Die Einstellungen wurden gespeichert.</div>';
@ -22,7 +21,6 @@ if (null !== $categories) {
}
?>
<form method="post" action="admin.php?page=bdp-kompass%2Fmodules%2Findex.php&loadmodule=calendar">
<div class="bdp_cal_outer">
<fieldset class="bdp_cal_inner">
<legend>Datenabfrage</legend>
@ -84,8 +82,5 @@ if (null !== $categories) {
<td class="bdp_cal_event_grey"></td>
</tr>
</table>
</fieldset>
<input class="bdp_submit" type="submit" name="submit" value="Einstellungen speichern">
<input class="button" type="submit" name="submit" value="Einstellungen speichern">
</form>
</div>
</div>

View File

@ -10,12 +10,13 @@ class Security
{
public const required_security_plugins = [
'wps_hide_login' => ['downloadUrl' => 'https://downloads.wordpress.org/plugin/wps-hide-login.1.9.10.zip'],
'limit-login-attempts-reloaded' => ['downloadUrl' => 'https://downloads.wordpress.org/plugin/limit-login-attempts-reloaded.2.25.27.zip']];
];
public const delete_plugins = [
'akismet/akismet.php',
'hello.php'
'hello.php',
'limit-login-attempts-reloaded'
];
public static function setup()