Actions
Feature #40463
closedclass Subheader in hgroup
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-31
Due date:
% Done:
0%
Estimated time:
0.50 h
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Hi mates,
I think that could be usefull add class to subheader. I also add a patch for a bug reported in http://forge.typo3.org/issues/40462
lib.stdheader.20 {
key {
field = header_layout
ifEmpty = {$content.defaultHeaderType}
ifEmpty.override.data = register: defaultHeaderType
}
default = TEXT
default {
wrap = <h2 class="subheader">|</h2>
htmlSpecialChars = 1
field = subheader
}
1 < .default
2 < .default
2.wrap = <h3 class="subheader">|</h3>
3 < .default
3.wrap = <h4 class="subheader">|</h4>
4 < .default
4.wrap = <h5 class="subheader">|</h5>
5 < .default
5.wrap = <h6 class="subheader">|</h6>
if {
isTrue {
field = subheader
}
value = html5
equals.data = TSFE:config|config|doctype
}
}
Actions