summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorCharlyCoste <contact@ccoste.fr>2010-03-14 00:58:59 +0100
committerCharlyCoste <contact@ccoste.fr>2010-03-14 00:58:59 +0100
commitdf612293fd8c70407843a76a5c73ff8530528a73 (patch)
treeaef4b86cc17ae8af623d5b39d5d1b334e6f80ca1 /inc
parentd672bb88623974aeb1f22e62c7894e8365f4d5e9 (diff)
downloadnextcloud-server-df612293fd8c70407843a76a5c73ff8530528a73.tar.gz
nextcloud-server-df612293fd8c70407843a76a5c73ff8530528a73.zip
bgcolor is not a valid "xhtml1.0 strict" attribute. Replacing it by a css background-color
Diffstat (limited to 'inc')
-rwxr-xr-xinc/lib_base.php2
-rwxr-xr-xinc/templates/header.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php
index 1ae2bdab877..38821eed88c 100755
--- a/inc/lib_base.php
+++ b/inc/lib_base.php
@@ -190,7 +190,7 @@ class OC_DB {
$DBConnection = @new mysqli($CONFIG_DBHOST, $CONFIG_DBUSER, $CONFIG_DBPWD,$CONFIG_DBNAME);
if (mysqli_connect_errno()) {
@ob_end_clean();
- echo('<html><head></head><body bgcolor="#F0F0F0"><br /><br /><center><b>can not connect to database.</center></body></html>');
+ echo('<html><head></head><body class="error"><br /><br /><center><b>can not connect to database.</center></body></html>');
exit();
}
}
diff --git a/inc/templates/header.php b/inc/templates/header.php
index e28fa4da9fb..5af86e72276 100755
--- a/inc/templates/header.php
+++ b/inc/templates/header.php
@@ -5,7 +5,7 @@
<title>ownCloud</title>
<link rel="stylesheet" type="text/css" href="/css/default.css" />
</head>
-<body bgcolor="#F9F9F9">
+<body>
<center><a href="/"><img src="/img/owncloud-logo-small.png" border="0"></a></center>
<?php