diff options
-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 +?> |