diff options
Diffstat (limited to 'usr/local')
21 files changed, 201 insertions, 152 deletions
diff --git a/usr/local/www/crash_reporter.php b/usr/local/www/crash_reporter.php index 075bab5..92ca317 100755 --- a/usr/local/www/crash_reporter.php +++ b/usr/local/www/crash_reporter.php @@ -124,7 +124,7 @@ exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors); echo "Could not find any crash files."; } } else if(gettext($_POST['Submit']) == "No") { - array_map('unlink', glob("rm /var/crash/*")); + array_map('unlink', glob("/var/crash/*")); // Erase the contents of the PHP error log fclose(fopen("/tmp/PHP_errors.log", 'w')); Header("Location: /"); diff --git a/usr/local/www/diag_dump_states_sources.php b/usr/local/www/diag_dump_states_sources.php index 791cd68..8eaef8d 100644 --- a/usr/local/www/diag_dump_states_sources.php +++ b/usr/local/www/diag_dump_states_sources.php @@ -174,8 +174,8 @@ if(count($sources) > 0) { <td class='listr'><?php echo $rate;?></td> <td class='list'> <img src='/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif' height='17' width='17' border='0' - onclick="removeSource(<?php echo "'{$srcip}', '{$dstip}'"; ?>);" style='cursor:pointer; - name='i:<?php echo "{$srcip}:{$dstip}"; ?> + onclick="removeSource(<?php echo "'{$srcip}', '{$dstip}'"; ?>);" style='cursor:pointer;' + name='i:<?php echo "{$srcip}:{$dstip}"; ?>' title='<?php echo gettext("Remove all source tracking entries from") . " {$srcip} " . gettext("to") . " {$dstip}";?>' alt='' /> </td> </tr> diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index f780587..ca0eba5 100644 --- a/usr/local/www/diag_ipsec.php +++ b/usr/local/www/diag_ipsec.php @@ -96,125 +96,159 @@ $status = ipsec_smp_dump_status(); </tr> <tr> <td> - <div id="mainarea"> - <table width="100%" border="0" cellpadding="6" cellspacing="0" class="tabcont sortable"> - <thead> + <div id="mainarea"> + <table width="100%" border="0" cellpadding="6" cellspacing="0" class="tabcont sortable"> + <thead> + <tr> + <th nowrap class="listhdrr"><?php echo gettext("Description");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Local ID");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Local IP");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Remote ID");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Remote IP");?></a></th> + <th nowrap class="listhdrr"><?php echo gettext("Role");?></a></th> + <th nowrap class="listhdrr"><?php echo gettext("Status");?></a></th> + </tr> + </thead> + <tbody> +<?php + if (is_array($status['query']) && is_array($status['query']['ikesalist']) && is_array($status['query']['ikesalist']['ikesa'])) { + foreach ($status['query']['ikesalist']['ikesa'] as $ikeid => $ikesa) { +?> + <tr> + <td class="listlr"> + <?php echo htmlspecialchars($ikesa['peerconfig']);?> + </td> + <td class="listr"> + <?php if (!is_array($ikesa['local'])) + echo "Unknown"; + else { + if (!empty($ikesa['local']['identification'])) + echo htmlspecialchars($ikesa['local']['identification']) . '<br/>' . htmlspecialchars($ikesa['local']['spi']); + else + echo 'Unknown'; + } + ?> + </td> + <td class="listr"> + <?php if (!is_array($ikesa['local'])) + echo "Unknown"; + else { + if (!empty($ikesa['local']['address'])) + echo htmlspecialchars($ikesa['local']['address']) . ':' . htmlspecialchars($ikesa['local']['port']); + else + echo 'Unknown'; + if ($ikesa['local']['nat']) + echo " NAT-T"; + } + ?> + </td> + <td class="listr"> + <?php if (!is_array($ikesa['remote'])) + echo "Unknown"; + else { + if (!empty($ikesa['remote']['identification'])) + echo htmlspecialchars($ikesa['remote']['identification']) . '<br/>' . htmlspecialchars($ikesa['remote']['spi']); + else + echo 'Unknown'; + } + ?> + </td> + <td class="listr"> + <?php if (!is_array($ikesa['remote'])) + echo "Unknown"; + else { + if (!empty($ikesa['remote']['address'])) + echo htmlspecialchars($ikesa['remote']['address']) . ':' . htmlspecialchars($ikesa['remote']['port']); + else + echo 'Unknown'; + if ($ikesa['remote']['nat']) + echo " NAT-T"; + } + ?> + </td> + <td class="listr"> + <?php echo htmlspecialchars($ikesa['role']);?> + </td> + <td class="listr"> + <?php echo htmlspecialchars($ikesa['status']);?> + </td> + <td class="listbg"> + <?php ?> + </td> + <td valign="middle" nowrap class="list"> + <table border="0" cellspacing="0" cellpadding="1"> + </table> + </td> + </tr> + <?php if (is_array($ikesa['childsalist'])): ?> + <tr> + <td class="listrborder" colspan="7"> + <div id="btnchildsa-<?=$ikeid;?>"> + <input type="button" onClick="show_childsa('childsa-<?=$ikeid;?>','btnchildsa-<?=$ikeid;?>');" value="+"></input> - Show child SA entries</a> + </div> + <table class="tabcont" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" id="childsa-<?=$ikeid;?>" style="display:none"> + <thead> <tr> - <th nowrap class="listhdrr"><?php echo gettext("Local IP");?></th> - <th nowrap class="listhdrr"><?php echo gettext("Remote IP");?></a></th> - <th nowrap class="listhdrr"><?php echo gettext("Local Network");?></th> - <th nowrap class="listhdrr"><?php echo gettext("Remote Network");?></a></th> - <th nowrap class="listhdrr"><?php echo gettext("Description");?></a></th> - <th nowrap class="listhdrr"><?php echo gettext("Status");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Local subnets");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Local SPI");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Remote SPI");?></th> + <th nowrap class="listhdrr"><?php echo gettext("Remote subnets");?></th> </tr> - </thead> - <tbody> - <?php - foreach ($a_phase2 as $ph2ent) { - if ($ph2ent['remoteid']['type'] == "mobile") - continue; - ipsec_lookup_phase1($ph2ent,$ph1ent); - if (!isset($ph2ent['disabled']) && !isset($ph1ent['disabled'])) { - if(ipsec_phase2_status($spd,$sad,$ph1ent,$ph2ent)) { - $icon = "pass"; - $status = "Active"; - } elseif(!isset($config['ipsec']['enable'])) { - $icon = "block"; - $status = "Disabled"; - } else { - $icon = "reject"; - $status = "Error"; - } - ?> - <tr> - <td class="listlr"> - <?php echo htmlspecialchars(ipsec_get_phase1_src($ph1ent));?> - </td> - <td class="listr"> - <?php echo htmlspecialchars($ph1ent['remote-gateway']);?> + </thead> + <tbody> + <?php + if (is_array($ikesa['childsalist']['childsa'])) { + foreach ($ikesa['childsalist']['childsa'] as $childsa) { + ?> + <tr valign="top"> + <td nowrap class="listlr"> + <?php if (is_array($childsa['local']) && is_array($childsa['local']['networks']) && is_array($childsa['local']['networks']['network'])) { + foreach ($childsa['local']['networks']['network'] as $lnets) { + echo htmlspecialchars($lnets) . "<br/>"; + } + } else + echo "Unknown"; + ?> </td> - <td class="listr"> - <?php echo ipsec_idinfo_to_text($ph2ent['localid']); ?> + <td nowrap class="listr"> + <?php if (is_array($childsa['local'])) + echo htmlspecialchars($childsa['local']['spi']); + ?> </td> - <td class="listr"> - <?php echo ipsec_idinfo_to_text($ph2ent['remoteid']); ?> + <td nowrap class="listr"> + <?php if (is_array($childsa['remote'])) + echo htmlspecialchars($childsa['remote']['spi']); + ?> </td> - <td class="listr"><?php echo htmlspecialchars($ph2ent['descr']);?></td> - <td class="listr"> - <center> - <img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_<?php echo $icon; ?>.gif" title="<?php echo $status; ?>"> - </center> + <td nowrap class="listlr"> + <?php if (is_array($childsa['remote']) && is_array($childsa['remote']['networks']) && is_array($childsa['remote']['networks']['network'])) { + foreach ($childsa['remote']['networks']['network'] as $rnets) { + echo htmlspecialchars($rnets) . "<br/>"; + } + } else + echo "Unknown"; + ?> </td> - <td class="list"> - <?php - $source = ""; - $ip_interface = null; - $ip_alias = null; - $localinfo = ipsec_idinfo_to_cidr($ph2ent['localid'], false, $ph2ent['mode']); - list($localip, $localsub) = explode("/", $localinfo); - $ip_interface = find_ip_interface($localip, $localsub); - if (!$ip_interface) - $ip_alias = find_virtual_ip_alias($localip, $localsub); - if ($ip_interface) { - if (is_ipaddrv6($localip)) - $source = get_interface_ipv6($ip_interface); - else - $source = get_interface_ip($ip_interface); - } else if ($ip_alias) { - $source = $ip_alias['subnet']; - } - if (!empty($ph2ent['pinghost'])) - $remoteid = $ph2ent['pinghost']; - else - $remoteid = $ph2ent['remoteid']['address']; - ?> - <?php if (($ph2ent['remoteid']['type'] != "mobile") && ($icon != "pass") && ($source != "")): ?> - <center> - <a href="diag_ipsec.php?act=connect&remoteid=<?php echo $remoteid; ?>&source=<?php echo $source; ?>"> - <img src ="/themes/<?php echo $g['theme']; ?>/images/icons/icon_service_start.gif" alt="Connect VPN" title="Connect VPN" border="0"> - </a> - </center> - <?php else: ?> - - <?php endif; ?> + <td nowrap class="list"> + </td> </tr> - <?php - } - } - ?> - </tbody> - </table> - <?php if (isset($config['ipsec']['client']['enable'])): ?> - <table width="100%" border="0" cellpadding="6" cellspacing="0" class="tabcont sortable"> - <thead> - <tr> - <th nowrap class="listhdrr"><?php echo gettext("Mobile User");?></th> - <th nowrap class="listhdrr"><?php echo gettext("Login Time");?></a></th> - <th nowrap class="listhdrr"><?php echo gettext("Local");?></th> - <th nowrap class="listhdrr"><?php echo gettext("Remote");?></a></th> - <th nowrap class="list"> </th> - </tr> - </thead> - <tbody> - <?php foreach ($mobile as $muser): ?> - <tr> - <td class="listlr"><?php echo $muser['username']; ?></td> - <td class="listr" align="center"><?php echo $muser['logintime']; ?></td> - <td class="listr" align="center"><?php echo $muser['local']; ?></td> - <td class="listr" align="center"><?php echo $muser['remote']; ?></td> - <td class="list" align="center"><a href="diag_ipsec.php?act=disconnect&user=<?php echo $muser['username']; ?>"><img src='/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif' height='17' width='17' border='0'/></a></td> - </tr> - <?php endforeach; ?> - </tbody> + <?php } } ?> + </tbody> </table> - <?php endif; ?> - </div> - </td> + </td> + </tr> + <?php endif; + } + } +?> + </tbody> + </table> + </div> + </td> </tr> </table> - -<p/> +</div> <span class="vexpl"> <span class="red"> @@ -223,7 +257,13 @@ $status = ipsec_smp_dump_status(); <?php echo gettext("You can configure IPsec");?> <a href="vpn_ipsec.php">here</a>. </span> - -<?php include("fend.inc"); ?> +<?php unset($status); include("fend.inc"); ?> +<script type="text/javascript"> +function show_childsa(id, buttonid) { + document.getElementById(buttonid).innerHTML=''; + aodiv = document.getElementById(id); + aodiv.style.display = "block"; +} +</script> </body> </html> diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index dfad088..4d336cb 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -440,11 +440,11 @@ if ($_POST) { $input_errors[] = gettext("You can not use IPv6 addresses in IPv4 rules."); if((is_ipaddrv4($_POST['src']) || is_ipaddrv4($_POST['dst'])) && ($_POST['ipprotocol'] == "inet6")) $input_errors[] = gettext("You can not use IPv4 addresses in IPv6 rules."); - if((is_ipaddr($_POST['src']) || is_ipaddr($_POST['dst'])) && ($_POST['ipprotocol'] == "inet46")) - $input_errors[] = gettext("You can not use a IPv4 or IPv6 address in combined IPv4 + IPv6 rules."); - } + if((is_ipaddr($_POST['src']) || is_ipaddr($_POST['dst'])) && ($_POST['ipprotocol'] == "inet46")) + $input_errors[] = gettext("You can not use a IPv4 or IPv6 address in combined IPv4 + IPv6 rules."); + if ($_POST['srcbeginport'] > $_POST['srcendport']) { /* swap */ $tmp = $_POST['srcendport']; diff --git a/usr/local/www/javascript/jquery/jquery-ui.custom.css b/usr/local/www/javascript/jquery/jquery-ui.custom.css index 7dca82a..11f6657 100755..100644 --- a/usr/local/www/javascript/jquery/jquery-ui.custom.css +++ b/usr/local/www/javascript/jquery/jquery-ui.custom.css @@ -284,7 +284,8 @@ /* Overlays */ .ui-widget-overlay { background: #eeeeee url(images/ui-bg_flat_0_eeeeee_40x100.png) 50% 50% repeat-x; opacity: .80;filter:Alpha(Opacity=80); } -.ui-widget-shadow { margin: -4px 0 0 -4px; padding: 4px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 0pxdow=0px; -khtml-border-radius: 0pxdow=0px; -webkit-border-radius: 0pxdow=0px; border-radius: 0pxdow=0px; }/* +.ui-widget-shadow { margin: -4px 0 0 -4px; padding: 4px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 0px; -khtml-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; } +/* * jQuery UI Resizable 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) diff --git a/usr/local/www/javascript/numericupdown/css/numericupdown.css b/usr/local/www/javascript/numericupdown/css/numericupdown.css index d7fd219..429619b 100644 --- a/usr/local/www/javascript/numericupdown/css/numericupdown.css +++ b/usr/local/www/javascript/numericupdown/css/numericupdown.css @@ -14,7 +14,6 @@ border-left:1px solid #eee; border-bottom:1px solid #777; border-right:1px solid #777; - voice-family: "\"}\""; voice-family: inherit; height:9px; } @@ -27,7 +26,6 @@ html>body .buttonDec { margin:9px 0 0 -11px; background:#ccc url(../images/down.gif) no-repeat 50% 50%; - voice-family: "\"}\""; voice-family: inherit; margin:10px 0 0 -11px; } diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index 03d5441..1308213 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -206,7 +206,7 @@ include("head.inc"); <?php endif; ?> </td> <td valign="middle" class="list nowrap"> - <a onclick="return confirm('<?=gettext("Do you really want to remove {$pkg['name']} package?"); ?>')" href="pkg_mgr_install.php?mode=delete&pkg=<?= $pkg['name']; ?>"> + <a href="pkg_mgr_install.php?mode=delete&pkg=<?= $pkg['name']; ?>"> <img <?=domTT_title(gettext("Remove ".ucfirst($pkg['name'])." package."))?> src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /> </a> <br/> diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index b364768..da5e849 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -196,6 +196,8 @@ if (is_array($dhcpdconf)) { $pconfig['netboot'] = isset($dhcpdconf['netboot']); $pconfig['nextserver'] = $dhcpdconf['nextserver']; $pconfig['filename'] = $dhcpdconf['filename']; + $pconfig['filename32'] = $dhcpdconf['filename32']; + $pconfig['filename64'] = $dhcpdconf['filename64']; $pconfig['rootpath'] = $dhcpdconf['rootpath']; $pconfig['netmask'] = $dhcpdconf['netmask']; $pconfig['numberoptions'] = $dhcpdconf['numberoptions']; @@ -497,6 +499,8 @@ if ($_POST) { $dhcpdconf['netboot'] = ($_POST['netboot']) ? true : false; $dhcpdconf['nextserver'] = $_POST['nextserver']; $dhcpdconf['filename'] = $_POST['filename']; + $dhcpdconf['filename32'] = $_POST['filename32']; + $dhcpdconf['filename64'] = $_POST['filename64']; $dhcpdconf['rootpath'] = $_POST['rootpath']; // Handle the custom options rowhelper @@ -636,6 +640,8 @@ include("head.inc"); document.iform.netboot.disabled = endis; document.iform.nextserver.disabled = endis; document.iform.filename.disabled = endis; + document.iform.filename32.disabled = endis; + document.iform.filename64.disabled = endis; document.iform.rootpath.disabled = endis; document.iform.denyunknown.disabled = endis; } @@ -1080,10 +1086,15 @@ include("head.inc"); <b><?=gettext("Enables network booting.");?></b> <p> <?=gettext("Enter the IP of the"); ?> <b><?=gettext("next-server"); ?></b> - <input name="nextserver" type="text" class="formfld unknown" id="nextserver" size="20" value="<?=htmlspecialchars($pconfig['nextserver']);?>"> - <?=gettext("and the filename");?> - <input name="filename" type="text" class="formfld unknown" id="filename" size="20" value="<?=htmlspecialchars($pconfig['filename']);?>"><br> + <input name="nextserver" type="text" class="formfld unknown" id="nextserver" size="20" value="<?=htmlspecialchars($pconfig['nextserver']);?>"><br> + <?=gettext("and the default bios filename");?> + <input name="filename" type="text" class="formfld unknown" id="filename" size="20" value="<?=htmlspecialchars($pconfig['filename']);?>"><br> + <?=gettext("and the UEFI 32bit filename ");?> + <input name="filename32" type="text" class="formfld unknown" id="filename32" size="20" value="<?=htmlspecialchars($pconfig['filename32']);?>"><br> + <?=gettext("and the UEFI 64bit filename ");?> + <input name="filename64" type="text" class="formfld unknown" id="filename64" size="20" value="<?=htmlspecialchars($pconfig['filename64']);?>"><br> <?=gettext("Note: You need both a filename and a boot server configured for this to work!");?> + <?=gettext("You will need all three filenames and a boot server configured for UEFI to work!");?> <p> <?=gettext("Enter the"); ?> <b><?=gettext("root-path"); ?></b>-<?=gettext("string");?> <input name="rootpath" type="text" class="formfld unknown" id="rootpath" size="90" value="<?=htmlspecialchars($pconfig['rootpath']);?>"><br> diff --git a/usr/local/www/system_groupmanager.php b/usr/local/www/system_groupmanager.php index a02e986..f7a9e61 100644 --- a/usr/local/www/system_groupmanager.php +++ b/usr/local/www/system_groupmanager.php @@ -64,7 +64,9 @@ if ($_GET['act'] == "delgroup") { exit; } + conf_mount_rw(); local_group_del($a_group[$_GET['id']]); + conf_mount_ro(); $groupdeleted = $a_group[$_GET['id']]['name']; unset($a_group[$_GET['id']]); write_config(); @@ -154,7 +156,9 @@ if ($_POST) { $a_group[] = $group; } + conf_mount_rw(); local_group_set($group); + conf_mount_ro(); /* Refresh users in this group since their privileges may have changed. */ if (is_array($group['member'])) { diff --git a/usr/local/www/themes/_corporate/all.css b/usr/local/www/themes/_corporate/all.css index c4be13c..fb5f404 100644 --- a/usr/local/www/themes/_corporate/all.css +++ b/usr/local/www/themes/_corporate/all.css @@ -1047,7 +1047,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/code-red/all.css b/usr/local/www/themes/code-red/all.css index fa8333e..73bb54b 100755..100644 --- a/usr/local/www/themes/code-red/all.css +++ b/usr/local/www/themes/code-red/all.css @@ -387,13 +387,14 @@ table#marquee div#container div#scroller { #navigation ul li ul { display: none; position: absolute; -/* top: 2em; + /* top: 2em; left: -2px; */ width: 120px; font-weight: normal; -/* background: transparent bottom left no-repeat; /* This is key to making the menu maintain visibility when not on a link */ + /* background: transparent bottom left no-repeat; */ + /* This is key to making the menu maintain visibility when not on a link */ /* background-color: #202020; */ - background: url("images/menubgr_footer.png") no-repeat; + /* background: url("images/menubgr_footer.png") no-repeat; background-position: bottom; */ padding: 0em 0 0.4em 0; @@ -1133,7 +1134,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/metallic/all.css b/usr/local/www/themes/metallic/all.css index cbf34cd..4271df9 100644 --- a/usr/local/www/themes/metallic/all.css +++ b/usr/local/www/themes/metallic/all.css @@ -1100,7 +1100,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/nervecenter/all.css b/usr/local/www/themes/nervecenter/all.css index 7f395d7..6014477 100644 --- a/usr/local/www/themes/nervecenter/all.css +++ b/usr/local/www/themes/nervecenter/all.css @@ -1132,7 +1132,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/pfsense-dropdown/all.css b/usr/local/www/themes/pfsense-dropdown/all.css index 1c6e6d0..a183f3d 100644 --- a/usr/local/www/themes/pfsense-dropdown/all.css +++ b/usr/local/www/themes/pfsense-dropdown/all.css @@ -849,7 +849,7 @@ div.suggestions div.current { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/pfsense/all.css b/usr/local/www/themes/pfsense/all.css index a3208a7..f14e710 100644 --- a/usr/local/www/themes/pfsense/all.css +++ b/usr/local/www/themes/pfsense/all.css @@ -940,7 +940,7 @@ div#log span.log-protocol-mini-header { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; diff --git a/usr/local/www/themes/pfsense_ng/all.css b/usr/local/www/themes/pfsense_ng/all.css index 4829cd8..6f4aa64 100644 --- a/usr/local/www/themes/pfsense_ng/all.css +++ b/usr/local/www/themes/pfsense_ng/all.css @@ -468,7 +468,7 @@ table#marquee div#container div#scroller { /* Mozilla */ -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 6px; - -moz-border-radius-topright: 6px + -moz-border-radius-topright: 6px; -moz-border-radius-topleft: 6px; /* WebKit */ -webkit-border-bottom-right-radius: 0px; @@ -529,7 +529,7 @@ table#marquee div#container div#scroller { /* Mozilla */ -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 3px; - -moz-border-radius-topright: 3px + -moz-border-radius-topright: 3px; -moz-border-radius-topleft: 3px; /* WebKit */ -webkit-border-bottom-right-radius: 0px; @@ -1243,7 +1243,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } @@ -1364,8 +1364,8 @@ div#log span.log-protocol-mini-header { /* Sortable tables */ table.sortable thead { - cursor: default; -<!-- background-color: #EEEEEE; this causing light gray rectangles to the right of many tables in gui --> + cursor: default; + // background-color: #EEEEEE; this causing light gray rectangles to the right of many tables in gui padding-right: 12px; padding-left: 12px; padding-top: 12px; diff --git a/usr/local/www/themes/pfsense_ng_fs/all.css b/usr/local/www/themes/pfsense_ng_fs/all.css index 2673cfc..fac5255 100644 --- a/usr/local/www/themes/pfsense_ng_fs/all.css +++ b/usr/local/www/themes/pfsense_ng_fs/all.css @@ -429,7 +429,7 @@ table#marquee div#container div#scroller { /* Mozilla */ -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 6px; - -moz-border-radius-topright: 6px + -moz-border-radius-topright: 6px; -moz-border-radius-topleft: 6px; /* WebKit */ -webkit-border-bottom-right-radius: 0px; @@ -490,7 +490,7 @@ table#marquee div#container div#scroller { /* Mozilla */ -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 3px; - -moz-border-radius-topright: 3px + -moz-border-radius-topright: 3px; -moz-border-radius-topleft: 3px; /* WebKit */ -webkit-border-bottom-right-radius: 0px; @@ -1204,7 +1204,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } @@ -1325,8 +1325,8 @@ div#log span.log-protocol-mini-header { /* Sortable tables */ table.sortable thead { - cursor: default; -<!-- background-color: #EEEEEE; this causing light gray rectangles to the right of many tables in gui --> + cursor: default; +// background-color: #EEEEEE; this causing light gray rectangles to the right of many tables in gui padding-right: 12px; padding-left: 12px; padding-top: 12px; diff --git a/usr/local/www/themes/the_wall/all.css b/usr/local/www/themes/the_wall/all.css index 1e8ff9c..e6856c9 100644 --- a/usr/local/www/themes/the_wall/all.css +++ b/usr/local/www/themes/the_wall/all.css @@ -152,7 +152,7 @@ body { a:link{color: #660000;} a:visited{color: #660000;} a:active{color: #660000;} -a:hover{color: ##660000;} +a:hover{color: #660000;} @@ -1140,7 +1140,7 @@ div#log span.log-protocol { #login #username, #password, #password2 { font-size: small; width: 60%; - padding-left:19px + padding-left: 19px; padding: 3px; margin: 0em; } diff --git a/usr/local/www/themes/the_wall/login.css b/usr/local/www/themes/the_wall/login.css index 86b4e4e..3c97a9a 100644 --- a/usr/local/www/themes/the_wall/login.css +++ b/usr/local/www/themes/the_wall/login.css @@ -1153,7 +1153,7 @@ div#log span.log-protocol { text-indent: -1000px; height: 50px; border-bottom: none; -/* position: relative; - top: -300px; */ +// position: relative; +// top: -300px; } */
\ No newline at end of file diff --git a/usr/local/www/treeview.css b/usr/local/www/treeview.css index bd445cd..3cdf792 100755..100644 --- a/usr/local/www/treeview.css +++ b/usr/local/www/treeview.css @@ -36,7 +36,6 @@ vertical-align: top; } -} .treeview a.nodeSel { border: 0px; margin: 0px; diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index cd5ee06..7d5fdfb 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -92,12 +92,8 @@ if ($_GET['act'] == "delph1") unset($a_phase2[$p2index]); } - /* needs to guarantee that SPDs will be removed before phase 1 */ - vpn_ipsec_refresh_policies(); - /* remove the phase1 entry */ unset($a_phase1[$_GET['p1index']]); - vpn_ipsec_refresh_policies(); vpn_ipsec_configure(); write_config(); filter_configure(); @@ -112,7 +108,6 @@ if ($_GET['act'] == "delph2") remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$_GET['p2index']]); /* remove the phase2 entry */ unset($a_phase2[$_GET['p2index']]); - vpn_ipsec_refresh_policies(); vpn_ipsec_configure(); filter_configure(); write_config(); |