Initial commit

This commit is contained in:
2018-04-02 08:07:38 +02:00
commit 7330c1ed3e
2054 changed files with 405203 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
styles.content.mailform {
target = {$PAGE_TARGET}
# cat=content/cMailform; type=; label= Message, Formmail OK: This is the message (if any) that is popped-up (JavaScript) when a user clicks "send" with an email-form
goodMess =
# cat=content/cMailform; type=; label= Message, Formmail Missing: This is the message that is popped-up when a user has NOT filled required fields in an email-form
badMess =
}

View File

@@ -0,0 +1,56 @@
# Hide subheader for old style form element (it is used for recipient mail)
lib.stdheader.20.if {
isFalse = 0
isFalse.override = 1
isFalse.override {
if.equals.field = CType
if.value = mailform
}
}
# ******************
# CType: mailform
# ******************
tt_content.mailform = COA
tt_content.mailform.10 = < lib.stdheader
tt_content.mailform.20 = FORM
tt_content.mailform.20 {
useDefaultContentObject = 1
accessibility = 1
noWrapAttr = 1
formName = mailform
dontMd5FieldNames = 1
layout = <div class="csc-mailform-field">###LABEL### ###FIELD###</div>
labelWrap.wrap = |
commentWrap.wrap = |
radioWrap.wrap = |<br />
radioWrap.accessibilityWrap = <fieldset###RADIO_FIELD_ID###><legend>###RADIO_GROUP_LABEL###</legend>|</fieldset>
REQ = 1
REQ.labelWrap.wrap = |
COMMENT.layout = <div class="csc-mailform-label">###LABEL###</div>
RADIO.layout = <div class="csc-mailform-field">###LABEL### <span class="csc-mailform-radio">###FIELD###</span></div>
LABEL.layout = <div class="csc-mailform-field">###LABEL### <span class="csc-mailform-label">###FIELD###</span></div>
target < lib.parseTarget
target =
target.override = {$styles.content.mailform.target}
goodMess = {$styles.content.mailform.goodMess}
badMess = {$styles.content.mailform.badMess}
redirect.field = pages
redirect.listNum = 0
recipient.field = subheader
data.field = bodytext
locationData = 1
hiddenFields.stdWrap.wrap = <div style="display:none;">|</div>
params.radio = class="csc-mailform-radio"
params.check = class="csc-mailform-check"
params.submit = class="csc-mailform-submit"
stdWrap.wrap = <fieldset class="csc-mailform"> | </fieldset>
stdWrap {
editIcons = tt_content: bodytext, pages, subheader
editIcons.iconTitle.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:eIcon.form
prefixComment = 2 | Mail form inserted:
}
}

View File

@@ -0,0 +1,9 @@
styles.content.searchform {
# cat=content/cSearch; type=; label= Message, Searchform: This is the message (if any) that is popped-up when a user performs a search
goodMess =
}
styles.content.searchresult {
resultTarget = {$PAGE_TARGET}
target = {$PAGE_TARGET}
}

View File

@@ -0,0 +1,108 @@
# ******************
# CType: search
# ******************
tt_content.search = COA
tt_content.search.10 = < lib.stdheader
# Result:
tt_content.search.20 = SEARCHRESULT
tt_content.search.20 {
allowedCols = pages.title-subtitle-keywords-description : tt_content.header-bodytext-imagecaption : tt_address.name-title-address-email-company-city-country : tt_links.title-note-note2-url : tt_board.subject-message-author-email : tt_calender.title-note : tt_products.title-note-itemnumber
languageField.tt_content = sys_language_uid
renderObj = COA
renderObj {
10 = TEXT
10.field = pages_title
10.htmlSpecialChars = 1
10.typolink {
parameter.field = uid
target < lib.parseTarget
target =
target.override = {$styles.content.searchresult.resultTarget}
additionalParams.data = register:SWORD_PARAMS
additionalParams.required = 1
additionalParams.wrap = &no_cache=1
}
10.htmlSpecialChars = 1
10.wrap = <h3 class="csc-searchResultHeader">|</h3>
20 = COA
20 {
10 = TEXT
10.field = tt_content_bodytext
10.stripHtml = 1
10.htmlSpecialChars = 1
}
20.stdWrap.crop = 200 | ...
20.stdWrap.wrap = <p class="csc-searchResult">|</p>
}
layout = COA
layout {
wrap = <table border="0" cellspacing="0" cellpadding="2" class="csc-searchResultInfo"><tr> | </tr></table> ###RESULT###
10 = TEXT
10.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.resultRange
10.wrap = <td class="csc-searchResultRange"><p>|</p></td>
20 = TEXT
20.value = ###PREV###&nbsp;&nbsp;&nbsp;###NEXT###
20.wrap = <td class="csc-searchResultPrevNext"><p>|</p></td>
}
noResultObj = COA
noResultObj {
10 = TEXT
10.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.emptySearch
10.wrap = <h3 class="csc-noSearchResultMsg">|</h3>
}
next = TEXT
next.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.searchResultNext
prev = TEXT
prev.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.searchResultPrev
target < lib.parseTarget
target =
target.override = {$styles.content.searchresult.target}
range = 20
stdWrap.prefixComment = 2 | Search result:
}
tt_content.search.30 < tt_content.mailform.20
tt_content.search.30 {
goodMess = {$styles.content.searchform.goodMess}
redirect >
recipient >
data >
dataArray {
10.label.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.searchWord
10.type = sword=input
20.label.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.searchIn
20.type = scols=select
20.valueArray {
10.label.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.headersKeywords
10.value = pages.title-subtitle-keywords-description:tt_content.header
20.label.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.pageContent
20.value = tt_content.header-bodytext-imagecaption
}
30.type = stype=hidden
30.value = L0
40.type = submit=submit
40.value.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:search.searchButton
}
type.field = pages
type.listNum = 0
locationData = HTTP_POST_VARS
no_cache = 1
stdWrap.wrap = <table border="0" cellspacing="1" cellpadding="1" class="csc-searchform"> | </table>
stdWrap {
editIcons.iconTitle.data = LLL:EXT:compatibility6/Resources/Private/Language/locallang.xlf:eIcon.search
prefixComment = 2 | Search form inserted:
}
}