summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-07-03 16:26:40 +0000
committerBill Marquette <billm@pfsense.org>2005-07-03 16:26:40 +0000
commit931066a8b2caf39e7e3e0d45ea40ecbc86f2aa0d (patch)
tree9a1362fba73cdf1f30ab9c011f5f5e6dbfbc6298 /usr
parentf726d710a8299b194567b32406fabcbec1814f92 (diff)
downloadpfsense-931066a8b2caf39e7e3e0d45ea40ecbc86f2aa0d.zip
pfsense-931066a8b2caf39e7e3e0d45ea40ecbc86f2aa0d.tar.gz
Use $pgtitle
Fix assign/vlan tabs (backwards)
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/index.php3
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_assign.php5
-rwxr-xr-xusr/local/www/interfaces_lan.php2
-rwxr-xr-xusr/local/www/interfaces_opt.php4
-rwxr-xr-xusr/local/www/interfaces_vlan.php6
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
8 files changed, 14 insertions, 12 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index d66d1f4..03093f6 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -54,6 +54,7 @@ if(file_exists("/trigger_initial_wizard")) {
unlink("/trigger_initial_wizard");
conf_mount_ro();
+$pgtitle = "pfSense first time setup";
include("head.inc");
?>
@@ -382,4 +383,4 @@ While(!Connection_Aborted()) {
}
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index d5ab528..748575f 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -423,7 +423,7 @@ function type_change(enable_change,enable_change_pptp) {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: WAN</p>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="interfaces_wan.php" method="post" name="iform" id="iform">
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index f9ef346..1c1e72d 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -184,6 +184,7 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if (file_exists($d_sysrebootreqd_path)) print_info_box(get_std_save_message(0)); ?>
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
@@ -192,8 +193,8 @@ include("head.inc");
<tr><td class="tabnavtbl">
<?php
$tab_array = array();
- $tab_array[0] = array("Interface assignments", false, "interfaces_assign.php");
- $tab_array[1] = array("VLANs", true, "interfaces_vlan.php");
+ $tab_array[0] = array("Interface assignments", true, "interfaces_assign.php");
+ $tab_array[1] = array("VLANs", false, "interfaces_vlan.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index b367506..ae17f30 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -131,7 +131,7 @@ function ipaddr_change() {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: LAN</p>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="interfaces_lan.php" method="post" name="iform" id="iform">
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index c250a22..97926eb 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -163,7 +163,7 @@ if ($_POST) {
}
-$pgtitle = "Firewall: NAT: Inbound";
+$pgtitle = "Interfaces: Optional {$index} (" . htmlspecialchars($optcfg['descr']) . ")";
include("head.inc");
?>
@@ -186,7 +186,7 @@ function ipaddr_change() {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: Optional <?=$index;?> (<?=htmlspecialchars($optcfg['descr']);?>)</p>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if ($optcfg['if']): ?>
diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php
index 9121aa6..ca6eca1 100755
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -92,7 +92,7 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: Assign network ports: VLANs</p>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if (file_exists($d_sysrebootreqd_path)) print_info_box(get_std_save_message(0)); ?>
<div id="mainarea">
@@ -100,8 +100,8 @@ include("head.inc");
<tr><td>
<?php
$tab_array = array();
- $tab_array[0] = array("Interface assignments", true, "interfaces_assign.php");
- $tab_array[1] = array("VLANs", false, "interfaces_vlan.php");
+ $tab_array[0] = array("Interface assignments", false, "interfaces_assign.php");
+ $tab_array[1] = array("VLANs", true, "interfaces_vlan.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php
index 2e6952e..2cc0368 100755
--- a/usr/local/www/interfaces_vlan_edit.php
+++ b/usr/local/www/interfaces_vlan_edit.php
@@ -99,7 +99,7 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: Assign network ports: VLANs: Edit</p>
+<p class="pgtitle"><?=$pgtitle>?</p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<form action="interfaces_vlan_edit.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index d5ab528..748575f 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -423,7 +423,7 @@ function type_change(enable_change,enable_change_pptp) {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle">Interfaces: WAN</p>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="interfaces_wan.php" method="post" name="iform" id="iform">
OpenPOWER on IntegriCloud