summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 14:38:36 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 14:38:36 -0500
commitc317e04ef45abf7345d0b7345b1b5b4153c5c6e8 (patch)
tree95550adea44ca6e06e0cc65e4cdb38fd7ceb7fa9 /usr
parentc2136f8c75c5384fdb1a024ec344ab6bdd18f199 (diff)
downloadpfsense-c317e04ef45abf7345d0b7345b1b5b4153c5c6e8.zip
pfsense-c317e04ef45abf7345d0b7345b1b5b4153c5c6e8.tar.gz
Use $['product_name'] instead of pfSense
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_backup.php2
-rwxr-xr-xusr/local/www/diag_logs_settings.php2
-rwxr-xr-xusr/local/www/fend.inc16
-rwxr-xr-xusr/local/www/index.php8
-rwxr-xr-xusr/local/www/interfaces_vlan.php2
-rwxr-xr-xusr/local/www/license.php6
-rwxr-xr-xusr/local/www/pkg_mgr.php2
-rwxr-xr-xusr/local/www/services_captiveportal.php6
-rwxr-xr-xusr/local/www/services_dhcp_relay.php2
-rwxr-xr-xusr/local/www/services_proxyarp.php2
-rwxr-xr-xusr/local/www/status.php2
-rw-r--r--usr/local/www/status_upnp.php4
-rwxr-xr-xusr/local/www/system.php4
-rwxr-xr-xusr/local/www/system_firmware_settings.php2
14 files changed, 26 insertions, 34 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 924a781..dbd4c82 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -176,7 +176,7 @@ if ($_POST) {
unlink_if_exists("/tmp/config.cache");
write_config();
conf_mount_ro();
- $savemsg = "The m0n0wall configuration has been restored and upgraded to pfSense.<p>The firewall is now rebooting.";
+ $savemsg = "The m0n0wall configuration has been restored and upgraded to {$g['product_name']}.<p>The firewall is now rebooting.";
$reboot_needed = true;
}
if(isset($config['captiveportal']['enable'])) {
diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php
index ddeb6a7..5375b6d 100755
--- a/usr/local/www/diag_logs_settings.php
+++ b/usr/local/www/diag_logs_settings.php
@@ -205,7 +205,7 @@ function enable_change(enable_over) {
<td width="78%"><strong><span class="red">Note:</span></strong><br>
syslog sends UDP datagrams to port 514 on the specified
remote syslog server. Be sure to set syslogd on the
- remote server to accept syslog messages from pfSense.
+ remote server to accept syslog messages from <?=$g['product_name']?>.
</td>
</tr>
</table>
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc
index 756705d..f55ccc3 100755
--- a/usr/local/www/fend.inc
+++ b/usr/local/www/fend.inc
@@ -1,16 +1,12 @@
</div> <!-- Right DIV -->
-
</div> <!-- Content DIV -->
-
<div id="footer">
- <a target="_blank" href="http://www.pfSense.org" class="redlnk">pfSense</a> is &copy; 2004-2008 <a target="_blank" href="http://www.bsdperimeter.com" class="redlnk">BSD Perimeter LLC</a>. All Rights Reserved.
- [<a href="/license.php" class="tblnk">view license</a>]
-<br/>
-[<a target="_blank" href="https://portal.pfsense.org/?guilead=true" class="tblnk">Commercial Support Available</a>]
- </div> <!-- Footer DIV -->
-
+ <a target="_blank" href="http://www.pfSense.com" class="redlnk"><?=$g['product_name']?></a> is &copy;
+ <?=$g['product_copyright_years']?> by <?=$g['product_copyright']?>. All Rights Reserved.
+ [<a href="/license.php" class="tblnk">view license</a>]
+ <br/>
+ [<a target="_blank" href="https://portal.pfsense.org/?guilead=true" class="tblnk">Commercial Support Available</a>]
+ </div> <!-- Footer DIV -->
</div> <!-- Wrapper Div -->
-
<script type="text/javascript" src="/themes/<?php echo $g['theme']; ?>/bottom-loader.js"></script>
-
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 132ea66..d6d702b 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -83,7 +83,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>pfSense.local - pfSense first time setup</title>
+ <title><?=$g['product_name']?>.local - <?=$g['product_name']?> first time setup</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print" />
<script type="text/javascript">var theme = "nervecenter"</script>
@@ -101,10 +101,10 @@ EOF;
echo "<center>\n";
echo "<img src=\"/themes/{$g['theme']}/images/logo.gif\" border=\"0\"><p>\n";
echo "<div \" style=\"width:700px;background-color:#ffffff\" id=\"nifty\">\n";
- echo "Welcome to pfSense!<p>\n";
+ echo "Welcome to {$g['product_name']}!<p>\n";
echo "One moment while we start the initial setup wizard.<p>\n";
echo "Embedded platform users: Please be patient, the wizard takes a little longer to run than the normal GUI.<p>\n";
- echo "To bypass the wizard, click on the pfSense logo on the initial page.\n";
+ echo "To bypass the wizard, click on the {$g['product_name']} logo on the initial page.\n";
echo "</div>\n";
echo "<meta http-equiv=\"refresh\" content=\"1;url=wizard.php?xml=setup_wizard.xml\">\n";
echo "<script type=\"text/javascript\">\n";
@@ -131,7 +131,7 @@ EOF;
## Set Page Title and Include Header
- $pgtitle = "pfSense webGUI";
+ $pgtitle = "{$g['product_name']} webGUI";
include("head.inc");
?>
diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php
index 41dbbb3..22b454e 100755
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -145,7 +145,7 @@ include("head.inc");
<td colspan="3" class="list"><p class="vexpl"><span class="red"><strong>
Note:<br>
</strong></span>
- Not all drivers/NICs support 802.1Q VLAN tagging properly. On cards that do not explicitly support it, VLAN tagging will still work, but the reduced MTU may cause problems. See the pfSense handbook for information on supported cards. </p>
+ Not all drivers/NICs support 802.1Q VLAN tagging properly. On cards that do not explicitly support it, VLAN tagging will still work, but the reduced MTU may cause problems. See the <?=$g['product_name']?> handbook for information on supported cards. </p>
</td>
<td class="list">&nbsp;</td>
</tr>
diff --git a/usr/local/www/license.php b/usr/local/www/license.php
index e93e5d3..a4cd940 100755
--- a/usr/local/www/license.php
+++ b/usr/local/www/license.php
@@ -10,7 +10,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<p class="pgtitle">License</p>
- <p><strong>pfSense is Copyright &copy; 2004, 2005, 2006, 2007 by Scott Ullrich
+ <p><strong><?=$g['product_name']?> is Copyright &copy; 2004, 2005, 2006, 2007 by Scott Ullrich
(<a href="mailto:geekgod@geekgod.com">geekgod@geekgod.com</a>).<br>
All rights reserved.</strong></p>
@@ -117,9 +117,9 @@ include("head.inc");
Peter Curran (<a href="mailto:peter@closeconsultants.com">peter@closeconsultants.com</a>)<br>
&nbsp;&nbsp;&nbsp;&nbsp;<em><font color="#666666">OpenVPN support</font></em></p>
<hr size="1">
- <p>pfSense is based upon/includes various free software packages,
+ <p><?=$g['product_name']?> is based upon/includes various free software packages,
listed below.<br>
- The author of pfSense would like to thank the authors of these
+ The authors of <?=$g['product_name']?> would like to thank the authors of these
software packages for their efforts.</p>
<p>FreeBSD (<a href="http://www.freebsd.org" target="_blank">http://www.freebsd.org</a>)<br>
Copyright &copy; 1994-2003 FreeBSD, Inc. All rights reserved.<br>
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index f94487d..b181e22 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -42,7 +42,7 @@ if($pkg_info) {
$savemsg = "Unable to retrieve package info from {$g['xmlrpcbaseurl']}. Cached data will be used.";
$pkg_info = unserialize(@file_get_contents("{$g['tmp_path']}/pkg_info.cache"));
} else {
- $savemsg = "Unable to communicate to pfSense.com. Please check DNS, default gateway, etc.";
+ $savemsg = "Unable to communicate to {$g['product_name']}.com. Please check DNS, default gateway, etc.";
}
}
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index e295a7b..adda922 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -346,7 +346,7 @@ to access after they've authenticated.</td>
<input name="nomacfilter" type="checkbox" class="formfld" id="nomacfilter" value="yes" <?php if ($pconfig['nomacfilter']) echo "checked"; ?>>
<strong>Disable MAC filtering</strong><br>
If this option is set, no attempts will be made to ensure that the MAC address of clients stays the same while they're logged in.
- This is required when the MAC address of the client cannot be determined (usually because there are routers between pfSense and the clients).
+ This is required when the MAC address of the client cannot be determined (usually because there are routers between <?=$g['product_name']?> and the clients).
If this is enabled, RADIUS MAC authentication cannot be used.</td>
</tr>
<?php
@@ -512,7 +512,7 @@ to access after they've authenticated.</td>
}
?></select><br>
If RADIUS type is set to Cisco, in Access-Requests the value of Calling-Station-Id will be set to the client's IP address and
- the Called-Station-Id to the client's MAC address. Default behaviour is Calling-Station-Id = client's MAC address and Called-Station-Id = pfSense's WAN IP address.</td>
+ the Called-Station-Id to the client's MAC address. Default behaviour is Calling-Station-Id = client's MAC address and Called-Station-Id = <?=$['product_name']?>'s WAN IP address.</td>
</tr>
</table>
</tr>
@@ -527,7 +527,7 @@ to access after they've authenticated.</td>
<td valign="top" class="vncell">HTTPS server name </td>
<td class="vtable">
<input name="httpsname" type="text" class="formfld" id="httpsname" size="30" value="<?=htmlspecialchars($pconfig['httpsname']);?>"><br>
- This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in your certificate (otherwise, the client browser will most likely display a security warning). Make sure captive portal clients can resolve this name in DNS and verify on the client that the IP resolves to the correct interface IP on pfSense.. </td>
+ This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in your certificate (otherwise, the client browser will most likely display a security warning). Make sure captive portal clients can resolve this name in DNS and verify on the client that the IP resolves to the correct interface IP on <?=$g['product_name']?>.. </td>
</tr>
<tr>
<td valign="top" class="vncell">HTTPS certificate</td>
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php
index b4d0643..23c6a44 100755
--- a/usr/local/www/services_dhcp_relay.php
+++ b/usr/local/www/services_dhcp_relay.php
@@ -221,7 +221,7 @@ function enable_change(enable_over) {
<td width="78%" class="vtable">
<input name="agentoption" type="checkbox" value="yes" <?php if ($pconfig['agentoption']) echo "checked"; ?>>
<strong>Append circuit ID and agent ID to requests</strong><br>
- If this is checked, the DHCP relay will append the circuit ID (pfSense interface number) and the agent ID to the DHCP request.</td>
+ If this is checked, the DHCP relay will append the circuit ID (<?=$g['product_name']?> interface number) and the agent ID to the DHCP request.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Destination server</td>
diff --git a/usr/local/www/services_proxyarp.php b/usr/local/www/services_proxyarp.php
index 59e3792..d14778b 100755
--- a/usr/local/www/services_proxyarp.php
+++ b/usr/local/www/services_proxyarp.php
@@ -136,7 +136,7 @@ include("head.inc");
</form>
<p class="vexpl"><span class="red"><strong>Notes:<br>
</strong></span>
- *Proxy ARP can be used if you need pfSense to send ARP replies on an interface for other IP addresses than its own (e.g. for 1:1, advanced outbound or server NAT). It is not necessary on the WAN interface if you have a subnet routed to you or if you use PPPoE/PPTP, and it only works on the WAN interface if it's configured with a static IP address or DHCP.</p>
+ *Proxy ARP can be used if you need <?=$g['product_name']?> to send ARP replies on an interface for other IP addresses than its own (e.g. for 1:1, advanced outbound or server NAT). It is not necessary on the WAN interface if you have a subnet routed to you or if you use PPPoE/PPTP, and it only works on the WAN interface if it's configured with a static IP address or DHCP.</p>
<br>
*CARP can be a great replacement for proxyarp.
<?php include("fend.inc"); ?>
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index 015440b..a08e8aa 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -160,7 +160,7 @@ defCmdT("vmstat -z","vmstat -z");
exec("/bin/date", $dateOutput, $dateStatus);
$currentDate = $dateOutput[0];
-$pgtitle = "pfSense: status";
+$pgtitle = $g['product_name'] . ": status";
include("head.inc");
?>
diff --git a/usr/local/www/status_upnp.php b/usr/local/www/status_upnp.php
index aef7389..3ebf3f8 100644
--- a/usr/local/www/status_upnp.php
+++ b/usr/local/www/status_upnp.php
@@ -46,10 +46,6 @@ $year = date("Y");
$pgtitle = "Status: UPnP Status";
include("head.inc");
-/* put your custom HTML head content here */
-/* using some of the $pfSenseHead function calls */
-//$pfSenseHead->addMeta("<meta http-equiv=\"refresh\" content=\"120;url={$_SERVER['SCRIPT_NAME']}\" />");
-//echo $pfSenseHead->getHTML();
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index a3f9971..3c385e2 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -228,7 +228,7 @@ include("head.inc");
<input name="dnsallowoverride" type="checkbox" id="dnsallowoverride" value="yes" <?php if ($pconfig['dnsallowoverride']) echo "checked"; ?>>
<strong>Allow DNS server list to be overridden by DHCP/PPP
on WAN</strong><br>
- If this option is set, pfSense will use DNS servers assigned
+ If this option is set, <?=$g['product_name']?> will use DNS servers assigned
by a DHCP/PPP server on WAN for its own purposes (including
the DNS forwarder). They will not be assigned to DHCP and
PPTP VPN clients, though.</span></p></td>
@@ -313,7 +313,7 @@ include("head.inc");
}
?>
</select>
- <strong>This will change the look and feel of pfSense</strong>
+ <strong>This will change the look and feel of <?=$g['product_name']?></strong>
</td>
</tr>
<tr>
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php
index 08b0614..9b33a04 100755
--- a/usr/local/www/system_firmware_settings.php
+++ b/usr/local/www/system_firmware_settings.php
@@ -122,7 +122,7 @@ function enable_altfirmwareurl(enable_over) {
<tr><td>Base URL:</td><td><input name="firmwareurl" type="input" id="firmwareurl" size="64" value="<?php if($curcfg['alturl']['firmwareurl']) echo $curcfg['alturl']['firmwareurl']; else echo $g['']; ?>"></td></tr>
</table>
<span class="vexpl">
- This is where pfSense will check for newer firmware versions when the <a href="system_firmware_check.php">System: Firmware: Auto Update</a> page is viewed.
+ This is where <?=$['product_name']?> will check for newer firmware versions when the <a href="system_firmware_check.php">System: Firmware: Auto Update</a> page is viewed.
<p/>
<b>NOTE:</b> When a custom URL is enabled the system will not verify the digital signature from <?php echo $g['product_website'] ?>.
</span>
OpenPOWER on IntegriCloud