mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
small style changes
This commit is contained in:
parent
2c25e3e31c
commit
dcd0e06867
@ -164,7 +164,9 @@
|
||||
<Settings url="/firewall_virtual_ip.php">
|
||||
<Edit url="/firewall_virtual_ip_edit.php*" visibility="hidden"/>
|
||||
</Settings>
|
||||
<Status url="/carp_status.php"/>
|
||||
<Status url="/carp_status.php">
|
||||
<All url="/carp_status.php*"/>
|
||||
</Status>
|
||||
</VIP>
|
||||
<Settings order="200" cssClass="fa fa-cogs fa-fw">
|
||||
<Schedules order="100" url="/firewall_schedule.php">
|
||||
|
||||
@ -36,8 +36,8 @@ if ( !isset($config['virtualip']['vip']) || !is_array($config['virtualip']['vip'
|
||||
}
|
||||
$a_vip = &$config['virtualip']['vip'];
|
||||
|
||||
$act = null;
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$act = null;
|
||||
if (!empty($_POST['carp_maintenancemode'])) {
|
||||
$act = "maintenance";
|
||||
if (isset($config["virtualip_carp_maintenancemode"])) {
|
||||
@ -76,6 +76,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
}
|
||||
}
|
||||
}
|
||||
header(url_safe('Location: carp_status.php?savemsg=%s', array($savemsg)));
|
||||
exit;
|
||||
} elseif ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if (!empty($_GET['savemsg'])) {
|
||||
$savemsg = htmlspecialchars($_GET['savemsg']);
|
||||
}
|
||||
}
|
||||
|
||||
$carpcount = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user