diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-06-03 18:25:27 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-06-03 18:25:27 +0000 |
commit | d0a371bf98b8a3a4e80e220a662401222f337f59 (patch) | |
tree | 8cd11622f36590922183f61c322167173737a0ec | |
parent | 9bda2241018b6bfe1df1c199446009b2cd792997 (diff) | |
download | pfsense-d0a371bf98b8a3a4e80e220a662401222f337f59.zip pfsense-d0a371bf98b8a3a4e80e220a662401222f337f59.tar.gz |
* fix: background on login screen
-rw-r--r-- | etc/inc/authgui.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 1b2886d..f5f0a6c 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -253,7 +253,11 @@ function display_login_form() { <title><?=gettext("Login"); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="shortcut icon" href="/themes/<?= $g['theme'] ?>/images/icons/favicon.ico" /> + <?php if (file_exists("{$g['www_path']}/themes/{$g['theme']}/login.css")): ?> + <link rel="stylesheet" type="text/css" href="/themes/<?= $g['theme'] ?>/login.css" media="all" /> + <?php else: ?> <link rel="stylesheet" type="text/css" href="/themes/<?= $g['theme'] ?>/all.css" media="all" /> + <?php endif; ?> <script type="text/javascript"> <!-- function page_load() { @@ -303,4 +307,4 @@ function display_login_form() { <?php } // end function -?>
\ No newline at end of file +?> |