Basic release
This commit is contained in:
		
							
								
								
									
										32
									
								
								modules/security/internal/index.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								modules/security/internal/index.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
<?php
 | 
			
		||||
echo '<div class="health-check-body health-check-debug-tab hide-if-no-js">';
 | 
			
		||||
echo '<h1>Erweiterte Sicherheitseinstellungen</h1>';
 | 
			
		||||
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">
 | 
			
		||||
        <fieldset class="bdp_security_inner">
 | 
			
		||||
            <legend>Wordpress-Login</legend>
 | 
			
		||||
 | 
			
		||||
            <table>
 | 
			
		||||
                <tr style="vertical-align: top;">
 | 
			
		||||
                    <td>Login-URL:</td>
 | 
			
		||||
                    <td>  <label><?php echo get_site_url(); ?>/</label><input style="width: 100px;" class="long_text" type="text" name="login_url" id="login_url" required
 | 
			
		||||
                               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>
 | 
			
		||||
            </table>
 | 
			
		||||
        </fieldset>
 | 
			
		||||
    <input class="bdp_submit" type="submit" name="submit" value="Einstellungen speichern">
 | 
			
		||||
    </div>
 | 
			
		||||
</form>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user