<@input type='hidden' name='token' value='${token}' /> <@formGroup labelKey='#i18n{whatsnew.modify_portlet_whatsnew.labelTypes}'> <@checkBox orientation='switch' id='show_portlets' name='show_portlets' value='1' labelKey='#i18n{whatsnew.portlet.type.portlets}' checked=portlet.showPortlets disabled=!portlet.dynamic /> <@checkBox orientation='switch' id='show_pages' name='show_pages' value='1' labelKey='#i18n{whatsnew.portlet.type.pages}' checked=portlet.showPages disabled=!portlet.dynamic /> <#if plugin_document_activated> <@checkBox orientation='switch' id='show_documents' name='show_documents' value='1' labelKey='#i18n{whatsnew.portlet.type.documents}' checked=portlet.showDocuments disabled=!portlet.dynamic /> <@formGroup labelFor='text_period' labelKey='#i18n{whatsnew.modify_portlet_whatsnew.labelPeriod}' mandatory=true> <@select id='text_period' name='text_period' items=combo_period default_value='${whatsnew_portlet.period}' disabled=!portlet.dynamic /> <#if !portlet.dynamic> <@alert color='warning' title='#i18n{whatsnew.modify_portlet_whatsnew.labelModifyPeriodAndTypeWarning}' /> <@formGroup labelFor='text_nbElements' labelKey='#i18n{whatsnew.modify_portlet_whatsnew.labelNbElements}' mandatory=true> <@input type='text' id='text_nbElements' name='text_nbElements' value='${whatsnew_portlet.nbElementsMax}' maxlength=2 /> <@formGroup labelKey='#i18n{whatsnew.modify_portlet_whatsnew.labelDisplayOrder}' mandatory=true> <@radioButton orientation='inline' id='display_order_date' name='display_order' value='${display_order_date}' labelKey='#i18n{whatsnew.portlet.order.timesequential}' checked=(whatsnew_portlet.elementsOrder == display_order_date) /> <@radioButton orientation='inline' id='display_order_alpha' name='display_order' value='${display_order_alpha}' labelKey='#i18n{whatsnew.portlet.order.alphabetical}' checked=(whatsnew_portlet.elementsOrder == display_order_alpha) /> <@select id='display_order_asc_desc' name='display_order_asc_desc'> <@option value='${display_order_asc}' label='#i18n{whatsnew.portlet.order.ascending}' selected=whatsnew_portlet.ascSort /> <@option value='${display_order_desc}' label='#i18n{whatsnew.portlet.order.descending}' selected=!whatsnew_portlet.ascSort /> <@formGroup> <@checkBox orientation='switch' id='is_dynamic' name='is_dynamic' value='1' labelKey='#i18n{whatsnew.modify_portlet_whatsnew.labelIsDynamic}' checked=whatsnew_portlet.dynamic /> <#if whatsnew_portlet.dynamic> <@alert color='info' title='#i18n{whatsnew.modify_portlet_whatsnew.labelIsDynamicComment} #i18n{whatsnew.modify_portlet_whatsnew.labelIsDynamicWarning}' /> <#if !whatsnew_portlet.dynamic> <#if portlet.showPortlets> <@input type='hidden' name='show_portlets' value='1' /> <#if portlet.showPages> <@input type='hidden' name='show_pages' value='1' /> <#if portlet.showDocuments> <@input type='hidden' name='show_documents' value='1' /> <@input type='hidden' name='text_period' value='${whatsnew_portlet.period}' /> ${moderated_elements_list}