Re: Horde <!DOCTYPE>

Jan Schneider <[email protected]> Sun, 22 Apr 2018 14:25:47 +0000
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
Zitat von Sebastian Birnbach <[email protected]>:

> Horde sets as DOCTYPE in every page
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "DTD/xhtml1-transitional.dtd">
>
>
> Firefox and IE complain about this, marking the line red in the console. To
> the best of my knowledge the DOCTYPE should read
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> Questions:
> 1) Is the missing w3.org server name a misconfiguration on my side?

No. It's not strictly necessary either, it's just a hint where to  
download the DTD.

> 2) Where is the DOCTYPE defined in Horde?

templates/common/header.html.php

> 3) Any reason not to change it?

No, it should indeed point to a valid URL.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]