summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-06-14 00:08:50 -0400
committerChris Buechler <cmb@pfsense.org>2010-06-14 00:08:50 -0400
commitb9546722a14cee9fac88632dc6209892055acbad (patch)
treee3268bac59f28211a73a2f963611bdc53f703dee
parentf0e730e50e1d958016d6d9270b03ecb6a27049bf (diff)
downloadpfsense-b9546722a14cee9fac88632dc6209892055acbad.zip
pfsense-b9546722a14cee9fac88632dc6209892055acbad.tar.gz
this page is status, not diag.
-rw-r--r--etc/inc/priv.defs.inc2
-rwxr-xr-xusr/local/www/fbegin.inc2
-rw-r--r--usr/local/www/help.php2
-rwxr-xr-xusr/local/www/services_dhcp.php4
-rwxr-xr-xusr/local/www/services_dhcp_edit.php2
-rwxr-xr-xusr/local/www/status_dhcp_leases.php (renamed from usr/local/www/diag_dhcp_leases.php)10
6 files changed, 11 insertions, 11 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index c384c95..f8bb5ea 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -40,7 +40,7 @@ $priv_list['page-status-dhcpleases'] = array();
$priv_list['page-status-dhcpleases']['name'] = "WebCfg - Status: DHCP leases page";
$priv_list['page-status-dhcpleases']['descr'] = "Allow access to the 'Status: DHCP leases' page.";
$priv_list['page-status-dhcpleases']['match'] = array();
-$priv_list['page-status-dhcpleases']['match'][] = "diag_dhcp_leases.php*";
+$priv_list['page-status-dhcpleases']['match'][] = "status_dhcp_leases.php*";
$priv_list['page-diagnostics-factorydefaults'] = array();
$priv_list['page-diagnostics-factorydefaults']['name'] = "WebCfg - Diagnostics: Factory defaults page";
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index dfcc69a..4874ac9 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -152,7 +152,7 @@ if (isset($config['captiveportal']['enable']))
$status_menu[] = array("CARP (failover)", "/carp_status.php");
$status_menu[] = array("Dashboard", "/index.php");
$status_menu[] = array("Gateways", "/status_gateways.php");
-$status_menu[] = array("DHCP Leases", "/diag_dhcp_leases.php");
+$status_menu[] = array("DHCP Leases", "/status_dhcp_leases.php");
$status_menu[] = array("Filter Reload", "/status_filter_reload.php");
$status_menu[] = array("Interfaces", "/status_interfaces.php");
$status_menu[] = array("IPsec", "/diag_ipsec.php");
diff --git a/usr/local/www/help.php b/usr/local/www/help.php
index 515cfee..f8f11ed 100644
--- a/usr/local/www/help.php
+++ b/usr/local/www/help.php
@@ -47,7 +47,7 @@ $helppages = array(
'firewall_shaper_vinterface.php' => 'http://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
'firewall_shaper_wizards.php' => 'http://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
'status_queues.php' => 'http://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
- 'diag_dhcp_leases.php' => 'http://doc.pfsense.org/index.php/DHCP_Leases',
+ 'status_dhcp_leases.php' => 'http://doc.pfsense.org/index.php/DHCP_Leases',
'diag_dns.php' => 'http://doc.pfsense.org/index.php/DNS_Lookup',
'diag_dump_states.php' => 'http://doc.pfsense.org/index.php/Show_States',
'diag_resetstate.php' => 'http://doc.pfsense.org/index.php/Reset_States',
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index d4259ed..79fd1d8 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -373,7 +373,7 @@ if ($_GET['act'] == "del") {
}
$pgtitle = array("Services","DHCP server");
-$statusurl = "diag_dhcp_leases.php";
+$statusurl = "status_dhcp_leases.php";
$logurl = "diag_logs_dhcp.php";
include("head.inc");
@@ -807,7 +807,7 @@ include("head.inc");
forwarder</a>, if enabled) </span><span class="vexpl">will
be assigned to clients by the DHCP server.<br>
<br>
- The DHCP lease table can be viewed on the <a href="diag_dhcp_leases.php">Status:
+ The DHCP lease table can be viewed on the <a href="status_dhcp_leases.php">Status:
DHCP leases</a> page.<br>
</span></p>
</td>
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index e7bc745..02a7315 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -177,7 +177,7 @@ if ($_POST) {
}
$pgtitle = array("Services","DHCP","Edit static mapping");
-$statusurl = "diag_dhcp_leases.php";
+$statusurl = "status_dhcp_leases.php";
$logurl = "diag_logs_dhcp.php";
include("head.inc");
diff --git a/usr/local/www/diag_dhcp_leases.php b/usr/local/www/status_dhcp_leases.php
index e8e9409..ec44bf2 100755
--- a/usr/local/www/diag_dhcp_leases.php
+++ b/usr/local/www/status_dhcp_leases.php
@@ -1,7 +1,7 @@
<?php
/* $Id$ */
/*
- diag_dhcp_leases.php
+ status_dhcp_leases.php
Copyright (C) 2004-2009 Scott Ullrich
All rights reserved.
@@ -40,7 +40,7 @@
##|*IDENT=page-status-dhcpleases
##|*NAME=Status: DHCP leases page
##|*DESCR=Allow access to the 'Status: DHCP leases' page.
-##|*MATCH=diag_dhcp_leases.php*
+##|*MATCH=status_dhcp_leases.php*
##|-PRIV
require("guiconfig.inc");
@@ -78,7 +78,7 @@ if (($_GET['deleteip']) && (is_ipaddr($_GET['deleteip']))) {
/* Restart DHCP Service */
services_dhcpd_configure();
- header("Location: diag_dhcp_leases.php?all={$_GET['all']}");
+ header("Location: status_dhcp_leases.php?all={$_GET['all']}");
}
include("head.inc");
@@ -382,7 +382,7 @@ foreach ($leases as $data) {
/* Only show the button for offline dynamic leases */
if (($data['type'] == "dynamic") && ($data['online'] != "online")) {
- echo "<td class=\"list\" valign=\"middle\"><a href=\"diag_dhcp_leases.php?deleteip={$data['ip']}&all={$_GET['all']}\">";
+ echo "<td class=\"list\" valign=\"middle\"><a href=\"status_dhcp_leases.php?deleteip={$data['ip']}&all={$_GET['all']}\">";
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_x.gif\" width=\"17\" height=\"17\" border=\"0\" title=\"delete this DHCP lease\"></a></td>\n";
}
echo "</tr>\n";
@@ -392,7 +392,7 @@ foreach ($leases as $data) {
?>
</table>
<p>
-<form action="diag_dhcp_leases.php" method="GET">
+<form action="status_dhcp_leases.php" method="GET">
<input type="hidden" name="order" value="<?=$_GET['order'];?>">
<?php if ($_GET['all']): ?>
<input type="hidden" name="all" value="0">
OpenPOWER on IntegriCloud