Revision 87642f6b
Added by Clinton Cory over 6 years ago
src/etc/inc/authgui.inc | ||
---|---|---|
267 | 267 |
|
268 | 268 |
if (isset($config['system']['webgui']['loginshowhost'])) { |
269 | 269 |
$loginbannerstr = sprintf(gettext('%1$s.%2$s'), htmlspecialchars($config['system']['hostname']), htmlspecialchars($config['system']['domain'])); |
270 |
$login_title = gettext(htmlspecialchars($config['system']['hostname'] . " - Login")); |
|
270 | 271 |
} else { |
271 | 272 |
$loginbannerstr = sprintf(gettext('Login to %1$s'), $g['product_name']); |
273 |
$login_title = gettext("pfSense - Login"); |
|
272 | 274 |
} |
273 | 275 |
|
274 | 276 |
$loginautocomplete = isset($config['system']['webgui']['loginautocomplete']) ? '' : 'autocomplete="off"'; |
... | ... | |
285 | 287 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
286 | 288 |
<link rel="stylesheet" href="/vendor/bootstrap/css/bootstrap.min.css" type="text/css"> |
287 | 289 |
<link rel="stylesheet" href="/css/login.css?v=<?=filemtime('/usr/local/www/css/login.css')?>" type="text/css"> |
288 |
<title><?=gettext("Login"); ?></title>
|
|
290 |
<title><?=$login_title; ?></title>
|
|
289 | 291 |
<script type="text/javascript"> |
290 | 292 |
//<![CDATA{ |
291 | 293 |
var events = events || []; |
Also available in: Unified diff
#9096 - updated login title
(cherry picked from commit 814a7c2f1d828fedef13bb2bf326d8014e9e25bf)