#assign masonryRowParams>data-masonry='{"percentPosition": true }'#assign> <@tform action='jsp/admin/DoModifyProperties.jsp' class='mt-2'> <@pageContainer> <@pageColumn> <@pageHeader title='#i18n{portal.system.modify_properties.boxTitle}'> <@tform> <@formGroup labelFor='plugin_type' labelKey='#i18n{portal.system.manage_plugins.buttonFilter}' hideLabel=['all'] formStyle='inline'> <@inputGroup> <@input name='search_prop' type='search' id='search_prop' placeHolder='#i18n{portal.system.manage_plugins.buttonFilter}' params='autocomplete="off" addons' /> <@button color='primary' title='#i18n{portal.system.manage_plugins.buttonFilter}' buttonIcon='filter' hideTitle=['all'] /> @inputGroup> @formGroup> @tform> @pageHeader> <@tabs> <@tabList> <#list groups_list as group> <#assign index = group?index> <#if index == 0 ><#assign tabactive = true><#else><#assign tabactive = false>#if> <#assign groups = group.localizedDataList?map( prop -> prop.group )> <#assign groupList = []> <#list groups?sort as groupGroup><#if !groupList?seq_contains(groupGroup)><#assign groupList = groupList + [groupGroup]>#if>#list> <#if groupList?size gt 0> <@tabLink active=tabactive href='#group-${index}' title=group.description tabLabel=group.name /> #if> #list> @tabList> <@tabContent> <#list groups_list as group> <#assign index = group?index> <#if index == 0 ><#assign tabactive = true><#else><#assign tabactive = false>#if> <@tabPanel active=tabactive id='group-${index}'> <@input type='hidden' name='token' value='${token}' /> <#assign groups = group.localizedDataList?map( prop -> prop.group )> <#assign groupList = []> <#list groups?sort as groupGroup><#if !groupList?seq_contains(groupGroup)><#assign groupList = groupList + [groupGroup]>#if>#list> <#if groupList?size gt 0> <@row class='g-3' params=masonryRowParams> <#list groupList?sort as groupCol> <#if groupCol?trim !=''> <@columns xs=12 sm=6 md=4 class='mb-3' params='data-prop="${groupCol}"'> <@box class='properties-group'> <@boxBody> <#assign groupName=''> <#list group.localizedDataList?filter( groupItem -> groupItem.group = groupCol ) as groupItem> <#if groupName=''> <#assign prefix=groupItem.key?keep_before(".site_property") > <#if groupCol?trim !=''> <#assign groupName>#i18n{${prefix}.site_property.${groupCol}.group.title}#assign> <#if groupName?trim !=''><@h level=3>${groupName!}@h>#if> #if> #if> <#if groupItem.key?ends_with( ".select.options" ) || groupItem.key?ends_with( ".radio.options" )> <@input type='hidden' class='hidden-options' name=groupItem.key value=groupItem.value?html /> <#else> <#assign labelText=groupItem.label> <#if groupItem.key?ends_with( ".checkbox" )><#assign labelText=''>#if> <#assign helpText=groupItem.help!''> <@box id='box_${groupItem.key}' class=boxClass> <@boxBody class='searchable'> <@formGroup class='property' labelKey=labelText labelFor=groupItem.key helpKey=helpText params=' data-property="${groupItem.key}"' rows=2> <#if groupItem.key?ends_with( ".textblock" )> <@input type='textarea' name=groupItem.key id=groupItem.key>${groupItem.value?html}@input> <#elseif groupItem.key?ends_with( ".htmlblock" )> <@input type='textarea' name=groupItem.key id=groupItem.key class='richtext'>${groupItem.value?html}@input> <#elseif groupItem.key?ends_with( ".checkbox" )> <#if groupItem.value == "1"> <@checkBox orientation='switch' name=groupItem.key id=groupItem.key labelKey=groupItem.label value='1' checked=true /> <#else> <@checkBox orientation='switch' name=groupItem.key id=groupItem.key labelKey=groupItem.label value='1' checked=false /> #if> <@input type='hidden' name='${groupItem.key}' value='0' /> <#elseif groupItem.key?ends_with( ".select" )> <#assign optionsKey = groupItem.key + ".options"> <#assign optionsRaw = dskey(optionsKey)!''> <#if optionsRaw?starts_with('DS')><#assign optionsRaw = ''>#if> <@input type='hidden' name='${groupItem.key}' value=groupItem.value?html id='${groupItem.key}_value' /> <#elseif groupItem.key?ends_with( ".radio" )> <#assign optionsKey = groupItem.key + ".options"> <#assign optionsRaw = dskey(optionsKey)!''> <#if optionsRaw?starts_with('DS')><#assign optionsRaw = ''>#if> <@input type='hidden' name='${groupItem.key}' value=groupItem.value?html id='${groupItem.key}_value' />