summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 14:43:37 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 14:43:37 -0500
commit0ebc8ca1f9a1b0725b89784d64fe5c34099f86b0 (patch)
tree3def6b76a1fcdb12633137f8af3cb6add6bdf8c7 /etc/inc/captiveportal.inc
parentc317e04ef45abf7345d0b7345b1b5b4153c5c6e8 (diff)
downloadpfsense-0ebc8ca1f9a1b0725b89784d64fe5c34099f86b0.zip
pfsense-0ebc8ca1f9a1b0725b89784d64fe5c34099f86b0.tar.gz
Use $g['product_name'] instead of pfSense
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 62e8b27..6027c15 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -90,12 +90,12 @@ function captiveportal_configure() {
$htmltext = <<<EOD
<html>
<head>
-<title>pfSense captive portal</title>
+<title>{$g['product_name']} captive portal</title>
</head>
<body>
<center>
-<h2>pfSense captive portal</h2>
-Welcome to the pfSense Captive Portal! This is the default page since a custom page has not been defined.
+<h2>{$g['product_name']} captive portal</h2>
+Welcome to the {$g['product_name']} Captive Portal! This is the default page since a custom page has not been defined.
<p>
<form method="post" action="\$PORTAL_ACTION\$">
<input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$">
@@ -1080,7 +1080,7 @@ function getNasID()
$nasId = "";
exec("/bin/hostname", $nasId);
if(!$nasId[0])
- $nasId[0] = "pfSense";
+ $nasId[0] = $g['product_name'];
return $nasId[0];
}
OpenPOWER on IntegriCloud