Commit 7aa126bb authored by Andreas Nedbal's avatar Andreas Nedbal

[TASK] Fix code style in Includes/LanguageMenu.typoscript

parent cdd245aa
lib.newsdetaillangmenu = COA
lib.newsdetaillangmenu {
if.isTrue.data = GP:tx_news_pi1|news
10 = HMENU
10 {
wrap = <ul class="detail-language-menu list-unstyled list-inline">|</ul>
special = language
special.value = 0,1,2
special.normalWhenNoLanguage = 0
addQueryString = 1
1 = TMENU
1 {
expAll = 0
wrap = |
NO = 1
NO {
stdWrap.cObject = TEXT
stdWrap.cObject {
value = English || German || Spanish
}
allWrap = <li class="list-inline-item">|</li>
}
ACT < .NO
ACT = 1
ACT {
ATagParams = class="active"
doNotLinkIt = 1
allWrap = <li class="active list-inline-item d-none">|</li>
}
CUR < .ACT
USERDEF1 = 1
USERDEF1 {
doNotLinkIt = 1
stdWrap.cObject = TEXT
stdWrap.cObject.value =
}
lib {
newsdetaillangmenu = COA
newsdetaillangmenu {
if.isTrue.data = GP:tx_news_pi1|news
10 = HMENU
10 {
wrap = <ul class="detail-language-menu list-unstyled list-inline">|</ul>
special = language
special {
value = 0,1,2
normalWhenNoLanguage = 0
}
addQueryString = 1
1 = TMENU
1 {
expAll = 0
wrap = |
NO = 1
NO {
stdWrap.cObject = TEXT
stdWrap.cObject {
value = English || German || Spanish
}
USERDEF2 = 1
USERDEF2 {
doNotLinkIt = 1
stdWrap.cObject = TEXT
stdWrap.cObject.value =
}
itemArrayProcFunc = T3o\T3olayout\Utility\MenuUtility->checkForRecordTranslations
itemArrayProcFunc.getParameters {
# GET.PARAMETER.WITH.RECORD.UID = TABLENAME
tx_news_pi1.news = tx_news_domain_model_news
}
allWrap = <li class="list-inline-item">|</li>
}
ACT < .NO
ACT = 1
ACT {
ATagParams = class="active"
doNotLinkIt = 1
allWrap = <li class="active list-inline-item d-none">|</li>
}
CUR < .ACT
USERDEF1 = 1
USERDEF1 {
doNotLinkIt = 1
stdWrap {
cObject = TEXT
cObject.value =
}
}
USERDEF2 = 1
USERDEF2 {
doNotLinkIt = 1
stdWrap {
cObject = TEXT
cObject.value =
}
}
itemArrayProcFunc = T3o\T3olayout\Utility\MenuUtility->checkForRecordTranslations
itemArrayProcFunc.getParameters {
# GET.PARAMETER.WITH.RECORD.UID = TABLENAME
tx_news_pi1.news = tx_news_domain_model_news
}
}
}
}
lib.languageSelector = HMENU
lib.languageSelector {
special = language
special.value = 0,1,2
special.normalWhenNoLanguage = 0
addQueryString = 1
1 = TMENU
1 {
itemArrayProcFunc = T3o\T3olayout\Utility\CheckMenuUtility->checkForRecordTranslations
itemArrayProcFunc.getParameters {
# GET.PARAMETER.WITH.RECORD.UID = TABLENAME
tx_news_pi1.news = tx_news_domain_model_news
}
languageSelector = HMENU
languageSelector {
special = language
special {
value = 0,1,2
normalWhenNoLanguage = 0
}
addQueryString = 1
1 = TMENU
1 {
itemArrayProcFunc = T3o\T3olayout\Utility\CheckMenuUtility->checkForRecordTranslations
itemArrayProcFunc.getParameters {
# GET.PARAMETER.WITH.RECORD.UID = TABLENAME
tx_news_pi1.news = tx_news_domain_model_news
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment