summaryrefslogtreecommitdiffstats
path: root/login.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-25 17:28:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-25 17:28:50 +0000
commit2398133cc42045805e6045935efeefee18ab1ad8 (patch)
tree88e81a14e612cf23fe210fe1750634fbc48ae29e /login.php
parent793d3d0bf19a8007e54f8440a5412e2b6709f5b3 (diff)
downloadampache-2398133cc42045805e6045935efeefee18ab1ad8.tar.gz
ampache-2398133cc42045805e6045935efeefee18ab1ad8.tar.bz2
ampache-2398133cc42045805e6045935efeefee18ab1ad8.zip
more html cleanup
Diffstat (limited to 'login.php')
-rw-r--r--login.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/login.php b/login.php
index f3e0057b..fa476d55 100644
--- a/login.php
+++ b/login.php
@@ -78,13 +78,14 @@ if ( ($auth['success'] == 1)) {
exit();
} // auth success
-
+$htmllang = str_replace("_","-",conf('lang'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
-<html lang="<?php echo conf('lang'); ?>">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" />
+<meta http-equiv="Content-Style-Type" content="text/html" charset="<?php echo conf('site_charset'); ?>" />
+<link rel="shortcut icon" href="<?php echo conf('web_path'); ?>/favicon.ico" />
<title> <?php echo conf('site_title'); ?> </title>
<?php show_template('style'); ?>