Bug #19179

xhtml in the backend by default

Added by Benjamin Mack almost 5 years ago. Updated almost 3 years ago.

Status:Closed Start date:2008-08-01
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.3 Complexity:
PHP Version:4.3
Votes: 0

Description

Well, if you look at the code of the BE classes, you see that there are many places where the template.php class is instantiated and then the xhtml doktype is set. as we all agreed to have xhtml as default, let's set this as default in template.html and get rid of all the lines that clutter our code to make it easier to read and to "not-have-to-think-about-adding-this-line" when coding new stuff.

(issue imported from #M9095)

20080723_xhtml_by_default.patch (37.2 kB) Administrator Admin, 2008-08-01 02:34

20080814_xhtml_by_default.patch (37.3 kB) Administrator Admin, 2008-08-14 16:44


Related issues

related to Core - Bug #20343: default $headerStart in template.php is HTML 3.2 instead... Resolved 2009-04-22

History

Updated by Christian Kuhn almost 5 years ago

Attached a new patch to fix issues mentioned by Ernesto, Oliver and Dmitry in core list:
- Align break; with code in typo3/template.php
- Fix comment of $docType in typo3/template.php
- Add fallthrough comment to switch in typo3/template.php
- Fixed a failing Hunk in typo3/alt_file_navframe.php

Also available in: Atom PDF