1 (edited by Ishimaru Chiaki 2010-08-12 04:02)

Topic: <div id="brd-maint"> appears twice !

Hello.

I just come to report you a bug.

While I was touching up my style, I wanted to style the maintenance page.  But I had formatting issue since I was having overlapping while using paddings.

While looking for what's wrong, I found out that the <div id="brd-maint"> appears twice in the maintenance page, and in the same times, causes a validation error since ids MUST appear ONLY ONCE in the same page.

Here is Oxygen's maintenance page generated source :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Maintenance – Test board</title> 
<link rel="stylesheet" type="text/css" media="screen" href="http://localhost/sites/punbb-1.3.2/style/Oxygen/Oxygen.css" /> 
<link rel="stylesheet" type="text/css" media="screen" href="http://localhost/sites/punbb-1.3.2/style/Oxygen/Oxygen_cs.css" /> 
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="http://localhost/sites/punbb-1.3.2/style/Oxygen/Oxygen_fix.css" /><![endif]--> 
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="http://localhost/sites/punbb-1.3.2/style/Oxygen/Oxygen_fix7.css" /><![endif]--> 
</head> 
<body> 
 
<div id="brd-wrap" class="brd-page"> 
<div id="brd-maint" class="brd"> 
 
    <div id="brd-maint" class="main basic"> 
 
    <div class="main-head"> 
        <h1 class="hn"><span>En maintenance </span></h1> 
    </div> 
    <div class="main-content main-message"> 
        <div class="ct-box user-box"> 
            The forums are temporarily down for maintenance. Please try again in a few minutes.<br /> 
<br /> 
/Administrator
        </div> 
    </div> 
 
</div> 
 
</div> 
</div> 
 
</body> 
</html>

And when I compare it with other simplified pages (redirect and help), the error is located in the second div : there's an extra "t".  But as this part is hardcoded within the PHP code, it was easier for me to modify the first div, so I can style the maintenance page properly.

Thanks in advance.

Ishimaru

Ubuntu Linux 10.04 LTS / Windows XP SP2
GIMP 2.6.8 (advanced), Inkscape (newbie)
XHTML/CSS (advanced), PHP/MySQL (medium)
Don't ask what free software can do for you, but what you can do for free software.

Re: <div id="brd-maint"> appears twice !

Thanks, we will fix this.

//Grez: Created ticket