From 0274d41abefe47fa3724571a950a7c2d4fac42e9 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 25 Nov 2014 22:14:06 +0545 Subject: Option for browser tab text order Easy thing to do - add an option for the user to select if they want the host name or page name text to display first in the browser tab. Forum: https://forum.pfsense.org/index.php?topic=84528.0 --- usr/local/www/system_advanced_admin.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'usr/local/www/system_advanced_admin.php') diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php index 1148876..4dc3ea7 100644 --- a/usr/local/www/system_advanced_admin.php +++ b/usr/local/www/system_advanced_admin.php @@ -59,6 +59,7 @@ $pconfig['noantilockout'] = isset($config['system']['webgui']['noantilockout']); $pconfig['nodnsrebindcheck'] = isset($config['system']['webgui']['nodnsrebindcheck']); $pconfig['nohttpreferercheck'] = isset($config['system']['webgui']['nohttpreferercheck']); $pconfig['beast_protection'] = isset($config['system']['webgui']['beast_protection']); +$pconfig['pagenamefirst'] = isset($config['system']['webgui']['pagenamefirst']); $pconfig['loginautocomplete'] = isset($config['system']['webgui']['loginautocomplete']); $pconfig['althostnames'] = $config['system']['webgui']['althostnames']; $pconfig['enableserial'] = $config['system']['enableserial']; @@ -175,6 +176,11 @@ if ($_POST) { else unset($config['system']['webgui']['beast_protection']); + if ($_POST['pagenamefirst'] == "yes") + $config['system']['webgui']['pagenamefirst'] = true; + else + unset($config['system']['webgui']['pagenamefirst']); + if ($_POST['loginautocomplete'] == "yes") $config['system']['webgui']['loginautocomplete'] = true; else @@ -498,6 +504,17 @@ function prot_change() { + + + /> + +
+ +
+ + + +   -- cgit v1.1