summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-09 07:38:50 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-09 07:38:50 +0000
commit01eb687d7c2a2b3535555ba18b38996365c31b58 (patch)
tree3454b02149138206489c9442fba9316cecae3b25
parent1e257f479a4f44ea75b09b8c964f359596cf4c3f (diff)
downloadpfsense-01eb687d7c2a2b3535555ba18b38996365c31b58.zip
pfsense-01eb687d7c2a2b3535555ba18b38996365c31b58.tar.gz
Catch up with file rename.
-rw-r--r--etc/inc/priv.defs.inc12
-rwxr-xr-xusr/local/www/firewall_rules.php4
-rwxr-xr-xusr/local/www/interfaces.php8
-rw-r--r--usr/local/www/widgets/widgets/interfaces.widget.php2
4 files changed, 13 insertions, 13 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index c4a2d7e..cc9af58 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -384,6 +384,12 @@ $priv_list['page-system-login/logout']['descr'] = "Allow access to the 'System:
$priv_list['page-system-login/logout']['match'] = array();
$priv_list['page-system-login/logout']['match'][] = "index.php*";
+$priv_list['page-interfaces'] = array();
+$priv_list['page-interfaces']['name'] = "WebCfg - Interfaces page";
+$priv_list['page-interfaces']['descr'] = "Allow access to the 'Interfaces' page.";
+$priv_list['page-interfaces']['match'] = array();
+$priv_list['page-interfaces']['match'][] = "interfaces.php*";
+
$priv_list['page-interfaces-assignnetworkports'] = array();
$priv_list['page-interfaces-assignnetworkports']['name'] = "WebCfg - Interfaces: Assign network ports page";
$priv_list['page-interfaces-assignnetworkports']['descr'] = "Allow access to the 'Interfaces: Assign network ports' page.";
@@ -432,12 +438,6 @@ $priv_list['page-interfaces-vlan-edit']['descr'] = "Allow access to the 'Interfa
$priv_list['page-interfaces-vlan-edit']['match'] = array();
$priv_list['page-interfaces-vlan-edit']['match'][] = "interfaces_vlan_edit.php*";
-$priv_list['page-interfaces-wan'] = array();
-$priv_list['page-interfaces-wan']['name'] = "WebCfg - Interfaces: WAN page";
-$priv_list['page-interfaces-wan']['descr'] = "Allow access to the 'Interfaces: WAN' page.";
-$priv_list['page-interfaces-wan']['match'] = array();
-$priv_list['page-interfaces-wan']['match'][] = "interfaces_wan.php*";
-
$priv_list['page-interfaces-scanwireless'] = array();
$priv_list['page-interfaces-scanwireless']['name'] = "WebCfg - Interfaces: Scan Wireless page";
$priv_list['page-interfaces-scanwireless']['descr'] = "Allow access to the 'Interfaces: Scan Wireless' page.";
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 274076d..10e0811 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -273,7 +273,7 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_left_d.gif" width="17" height="17" title="move selected rules before this rule"></td>
- <td><a href="interfaces_wan.php#rfc1918"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit rule" width="17" height="17" border="0"></a></td>
+ <td><a href="interfaces.php#rfc1918"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit rule" width="17" height="17" border="0"></a></td>
</tr>
<tr>
<td align="center" valign="middle"></td>
@@ -300,7 +300,7 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_left_d.gif" width="17" height="17" title="move selected rules before this rule"></td>
- <td><a href="interfaces_wan.php#rfc1918"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit rule" width="17" height="17" border="0"></a></td>
+ <td><a href="interfaces.php#rfc1918"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit rule" width="17" height="17" border="0"></a></td>
</tr>
<tr>
<td align="center" valign="middle"></td>
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 054d5ad..cc4818b 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -33,10 +33,10 @@
*/
##|+PRIV
-##|*IDENT=page-interfaces-wan
+##|*IDENT=page-interfaces
##|*NAME=Interfaces: WAN page
-##|*DESCR=Allow access to the 'Interfaces: WAN' page.
-##|*MATCH=interfaces_wan.php*
+##|*DESCR=Allow access to the 'Interfaces' page.
+##|*MATCH=interfaces.php*
##|-PRIV
if ($_REQUEST['if'])
@@ -597,7 +597,7 @@ function show_mon_config() {
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
- <form action="interfaces_wan.php?if=<?php echo "{$if}";?>" method="post" name="iform" id="iform">
+ <form action="interfaces.php?if=<?php echo "{$if}";?>" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="listtopic">General configuration</td>
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php
index 3d67744..6818ad3 100644
--- a/usr/local/www/widgets/widgets/interfaces.widget.php
+++ b/usr/local/www/widgets/widgets/interfaces.widget.php
@@ -57,7 +57,7 @@ require_once("/usr/local/www/widgets/include/interfaces.inc");
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_cablenic.gif"/>
<? } ?>&nbsp;
<strong><u>
- <span onClick="location.href='/interfaces_wan.php?if=<?=$ifdescr; ?>'" style="cursor:pointer">
+ <span onClick="location.href='/interfaces.php?if=<?=$ifdescr; ?>'" style="cursor:pointer">
<?=htmlspecialchars($ifname);?></span></u></strong>
OpenPOWER on IntegriCloud