2019-12-13 15:17:30 +01:00
|
|
|
mod {
|
|
|
|
wizards.newContentElement.wizardItems.common {
|
|
|
|
elements {
|
|
|
|
admonition {
|
|
|
|
iconIdentifier = content-idea
|
|
|
|
title = Admonition
|
|
|
|
description = Displays a hint, note, …
|
|
|
|
tt_content_defValues {
|
|
|
|
CType = admonition
|
|
|
|
header_layout = note
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
show := addToList(admonition)
|
|
|
|
}
|
|
|
|
web_layout.tt_content.preview.admonition = EXT:ds_site/Resources/Private/Templates/Backend/ContentElements/Admonition.html
|
|
|
|
}
|
|
|
|
TCEFORM.tt_content {
|
|
|
|
CType.keepItems := addToList(admonition)
|
|
|
|
header_layout.types.admonition {
|
|
|
|
keepItems = hint, danger
|
|
|
|
addItems {
|
|
|
|
note = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.note
|
|
|
|
hint = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.hint
|
|
|
|
caution = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.caution
|
|
|
|
danger = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.danger
|
2020-02-07 14:00:05 +01:00
|
|
|
task = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.task
|
2019-12-13 15:17:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|