Browse Source

bgcolor is not a valid "xhtml1.0 strict" attribute. Replacing it by a css background-color

tags/v3.0
CharlyCoste 14 years ago
parent
commit
df612293fd
3 changed files with 4 additions and 2 deletions
  1. 2
    0
      css/default.css
  2. 1
    1
      inc/lib_base.php
  3. 1
    1
      inc/templates/header.php

+ 2
- 0
css/default.css View File

@@ -1,3 +1,5 @@
body {background-color: #F9F9F9;}
body.error {background-color: #F0F0F0;}
body,th,td,ul,li,a,div,p,pre {color:#333333; font-family:Verdana,"Bitstream Vera Sans",Arial,Helvetica,Sans,"Bitstream Vera Serif"; font-size:9.0pt;}

.nametext a {color:#333333; font-size:8pt; font-weight:bold; text-decoration:none;}

+ 1
- 1
inc/lib_base.php View File

@@ -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();
}
}

+ 1
- 1
inc/templates/header.php View File

@@ -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


Loading…
Cancel
Save