diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 14:43:37 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 14:43:37 -0500 |
commit | 0ebc8ca1f9a1b0725b89784d64fe5c34099f86b0 (patch) | |
tree | 3def6b76a1fcdb12633137f8af3cb6add6bdf8c7 /etc/inc/captiveportal.inc | |
parent | c317e04ef45abf7345d0b7345b1b5b4153c5c6e8 (diff) | |
download | pfsense-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.inc | 8 |
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]; } |