[BUGFIX] BE login template: fix invalid HTML structure 80/33080/2
authorEric Chavaillaz <eric@hemmer.ch>
Tue, 30 Sep 2014 12:53:59 +0000 (14:53 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 3 Oct 2014 08:28:11 +0000 (10:28 +0200)
In the backend login template a div tag is nested within a dl tag.
This is prohibited by the HTML specification.
This patch reverses the tag ordering.

Resolves: #61962
Releases: master, 6.2
Change-Id: I4e6410111a2ede2f9294cf390d7e96eedbeb58f6
Reviewed-on: http://review.typo3.org/33080
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/t3skin/Resources/Private/Templates/login.html
typo3/sysext/t3skin/Resources/Public/Css/structure/login_screen.css

index 74602d2..de2ad14 100644 (file)
@@ -50,9 +50,9 @@
                <h2 class="t3-login-news-headline">###NEWS_HEADLINE###</h2>
        </div>
        <div class="t3-login-box-body">
-               <dl id="t3-login-news">
+               <div id="t3-login-news">
                        <!-- ###NEWS_ITEM### begin -->
-                       <div class="t3-login-news-item###CLASS###">
+                       <dl class="t3-login-news-item###CLASS###">
                                <dt>
                                        <span class="t3-news-date">###DATE###: </span>
                                        <span class="t3-news-title">###HEADER###</span>
@@ -60,9 +60,9 @@
                                <dd>
                                        ###CONTENT###
                                </dd>
-                       </div>
+                       </dl>
                        <!-- ###NEWS_ITEM### end -->
-               </dl>
+               </div>
        </div>
 </div>
 <div class="t3-login-box-border-bottom"></div>
                <input type="hidden" name="p_field" value="" /><input type="submit" name="commandLO" value="###VALUE_SUBMIT###" class="t3-login-submit" />
        </div>
 </div>
-<!-- ###LOGOUT_FORM### end -->
\ No newline at end of file
+<!-- ###LOGOUT_FORM### end -->
index e65da00..e7b5d47 100644 (file)
 }
 
 #typo3-index-php #t3-login-news-outer #t3-login-news .t3-login-news-item {
+       margin-top: 0;
        padding-top: 20px;
 }