<@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' 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'] /> <@tabs> <@tabList> <#list groups_list as group> <#assign index = group?index> <#if index == 0 ><#assign tabactive = true><#else><#assign tabactive = false> <@tabLink active=tabactive href='#group-${index}' title='${group.name}' /> <@tabContent> <#list groups_list as group> <#assign index = group?index> <#if index == 0 ><#assign tabactive = true><#else><#assign tabactive = false> <@tabPanel active=tabactive id='group-${index}'> <@tform action='jsp/admin/DoModifyProperties.jsp'> <@input type='hidden' name='token' value='${token}' /> <@row> <@columns class='d-flex justify-content-end'> <@button type='submit' buttonIcon='device-floppy' title='#i18n{portal.system.modify_properties.buttonLabel}' /> <@row class='d-block properties-container'> <#assign groups = group.localizedDataList?map( prop -> prop.group )> <#assign groupList = []> <#list groups?sort as groupGroup> <#if !groupList?seq_contains(groupGroup)> <#assign groupList = groupList + [groupGroup]> <#list groupList?sort as groupCol> <@columns class='col-property' params='data-prop="${groupCol}"'> <#assign groupName=''> <#list group.localizedDataList?filter( groupItem -> groupItem.group = groupCol ) as groupItem> <#if groupName=''> <#assign prefix=groupItem.key?keep_before(".site_property") > <#assign groupName>#i18n{${prefix}.site_property.${groupCol}.group.title}

${groupName}

<#assign labelText=groupItem.label> <#if groupItem.key?ends_with( ".checkbox" )><#assign labelText=''> <#if groupItem.help?length gt 0><#assign helpText = groupItem.help> <@box> <@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} <#elseif groupItem.key?ends_with( ".htmlblock" )> <@input type='textarea' name=groupItem.key id=groupItem.key class='richtext'>${groupItem.value?html} <#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 /> <@input type='hidden' name='${groupItem.key}' value='0' /> <#elseif groupItem.key?contains( "color" )> <@inputGroup class='color-wrapper-input'> <@input type='text' class='color-input' name=groupItem.key id=groupItem.key value=groupItem.value?html /> <@inputGroupItem> <@input type='color' class='color-input' name='color-input' value=groupItem.value?html /> <#else> <@input type='text' name=groupItem.key id=groupItem.key value=groupItem.value?html /> <@row> <@columns> <@button class='mt-3' type='submit' buttonIcon='device-floppy' title='#i18n{portal.system.modify_properties.buttonLabel}' /> <#include "/admin/util/editor/editor.html" /> <@initEditor />