mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Added hostname to login page.
Option control required
This commit is contained in:
parent
92130da3b5
commit
616724395a
@ -220,6 +220,7 @@ if (isset($user_settings['webgui']['webguicss'])) {
|
||||
}
|
||||
}
|
||||
|
||||
$hoststr = sprintf(gettext(" on %s.%s"), htmlspecialchars($config['system']['hostname']), htmlspecialchars($config['system']['domain']));
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -244,11 +245,11 @@ if (isset($user_settings['webgui']['webguicss'])) {
|
||||
}
|
||||
|
||||
$loginautocomplete = isset($config['system']['webgui']['loginautocomplete']) ? '' : 'autocomplete="off"';
|
||||
?>
|
||||
?>htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain'])
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title"><?=sprintf(gettext("Login to %s"), $g['product_name'])?></h2>
|
||||
<h2 class="panel-title"><?=sprintf(gettext("Login to %s %s"), $g['product_name'], $hoststr)?></h2>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user