Project

General

Profile

Actions

Feature #40463

closed

class Subheader in hgroup

Added by Juan Manuel about 12 years ago. Updated over 9 years ago.

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 = &lt;h3 class=&quot;subheader&quot;&gt;|&lt;/h3&gt;
3 < .default
3.wrap = &lt;h4 class=&quot;subheader&quot;&gt;|&lt;/h4&gt;
4 < .default
4.wrap = &lt;h5 class=&quot;subheader&quot;&gt;|&lt;/h5&gt;
5 < .default
5.wrap = &lt;h6 class=&quot;subheader&quot;&gt;|&lt;/h6&gt;
if {
isTrue {
field = subheader
}
value = html5
equals.data = TSFE:config|config|doctype
}
}
Actions

Also available in: Atom PDF