<#include "/admin/plugins/directory/commons.html" /> <@row> <@columns id='main'> <@box color='primary'> <@boxHeader title='#i18n{directory.create_entry.title_field} : "${entry.directory.title}"' boxTools=true> <@button type='button' buttonIcon='cogs' title='#i18n{directory.create_directory.label_advancedsettings}' id='advanced' /> <@boxBody> <@tform action='jsp/admin/plugins/directory/DoCreateEntry.jsp#list'>
<@formGroup labelFor='entry_type' labelKey='#i18n{directory.create_entry.label_type}'> <@tag color='info' title='#i18n{directory.create_entry.label_type}'>#i18n{${entry.entryType.titleI18nKey}} <@formGroup labelFor='title' labelKey='#i18n{directory.create_entry.label_title}' helpKey='#i18n{directory.create_entry.label_title_comment}' mandatory=true> <@input type='text' name='title' id='title' maxlength=255 /> <@formGroup> <@checkBox labelFor='mandatory' labelKey='#i18n{directory.create_entry.label_mandatory}' name='mandatory' id='mandatory' value='1' checked=getChecked('mandatory',list_param_default_values) /> <@formGroup labelFor='file_max_size' labelKey='#i18n{directory.create_entry.label_file_max_size}' mandatory=true> <@input type='text' name='file_max_size' id='file_max_size' value=getName('file_max_size',list_param_default_values) /> <@formGroup labelFor='max_files' labelKey='#i18n{directory.create_entry.label_max_files}' mandatory=true> <@input type='text' name='max_files' value=getName('max_files',list_param_default_values) maxlength=2 /> <@formGroup labelFor='width' labelKey='#i18n{directory.create_entry.label_width}' mandatory=true> <@input type='text' name='width' id='width' value=getName('width',list_param_default_values) /> <@formGroup labelFor='display_width' labelKey='#i18n{directory.create_entry.label_width_display}'> <@input type='text' name='display_width' id='display_width' value=getName('width',list_param_default_values) /> <@formGroup labelFor='display_height' labelKey='#i18n{directory.create_entry.label_height_display}'> <@input type='text' name='display_height' id='display_height' value=getName('height',list_param_default_values) /> <@formGroup labelKey='#i18n{directory.create_entry.label_image_full_size}'> <@checkBox labelFor='image_shown_in_result_list' labelKey='#i18n{directory.create_entry.label_shown_in_result_list}' name='image_shown_in_result_list' id='image_shown_in_result_list' value='1' orientation='horizontal' /> <@checkBox labelFor='image_shown_in_result_record' labelKey='#i18n{directory.create_entry.label_shown_in_result_record}' name='image_shown_in_result_record' id='image_shown_in_result_record' value='1' checked=true /> <@formGroup labelKey='#i18n{directory.create_entry.label_thumbnail}'> <@checkBox labelFor='create_thumbnail' labelKey='#i18n{directory.create_entry.label_thumbnail_comment}' name='create_thumbnail' id='create_thumbnail' value='1' checked=true /> <@checkBox labelFor='create_big_thumbnail' labelKey='#i18n{directory.create_entry.label_big_thumbnail_comment}' name='create_big_thumbnail' id='create_big_thumbnail' value='1' /> <@formGroup id='thumbnail'> <@card header=true headerIcon=true headerTitle='#i18n{directory.create_entry.label_thumbnail}' headerTitleIcon='picture-o'> <@formGroup> <@checkBox labelFor='thbnail_shown_in_result_list' labelKey='#i18n{directory.create_entry.label_shown_in_result_list}' name='thbnail_shown_in_result_list' id='thbnail_shown_in_result_list' value='1' checked=true /> <@checkBox labelFor='thbnail_shown_in_result_record' labelKey='#i18n{directory.create_entry.label_shown_in_result_record}' name='thbnail_shown_in_result_record' id='thbnail_shown_in_result_record' value='1' /> <@formGroup labelFor='thumbnail_width' labelKey='#i18n{directory.create_entry.label_thumbnail_width}' mandatory=true> <@input type='text' name='thumbnail_width' id='thumbnail_width' value='' /> <@formGroup labelFor='thumbnail_height' labelKey='#i18n{directory.create_entry.label_thumbnail_height}' mandatory=true> <@input type='text' name='thumbnail_height' id='thumbnail_height' value='' /> <@formGroup id='thumbnail_big'> <@card header=true headerIcon=true headerTitle='#i18n{directory.create_entry.label_big_thumbnail}' headerTitleIcon='picture-o'> <@formGroup> <@checkBox labelFor='big_thbnail_shown_in_result_list' labelKey='#i18n{directory.create_entry.label_shown_in_result_list}' name='big_thbnail_shown_in_result_list' id='big_thbnail_shown_in_result_list' value='1' /> <@checkBox labelFor='big_thbnail_shown_in_result_record' labelKey='#i18n{directory.create_entry.label_shown_in_result_record}' name='big_thbnail_shown_in_result_record' id='big_thbnail_shown_in_result_record' value='1' /> <@formGroup labelFor='thumbnail_big_width' labelKey='#i18n{directory.create_entry.label_thumbnail_width}'> <@input type='text' name='thumbnail_big_width' id='thumbnail_big_width' value='' /> <@formGroup labelFor='thumbnail_big_height' labelKey='#i18n{directory.create_entry.label_thumbnail_height}'> <@input type='text' name='thumbnail_big_height' id='thumbnail_big_height' value='' />
<@formGroup labelFor='help_message' labelKey='#i18n{directory.create_entry.label_help_message}' helpKey='#i18n{directory.create_entry.label_help_message_comment}'> <@input type='textarea' name='help_message' id='help_message' rows=2> <@formGroup helpKey='#i18n{directory.create_entry.label_shown_in_result_list_comment}'> <@checkBox labelFor='shown_in_result_list' labelKey='#i18n{directory.create_entry.label_shown_in_result_list}' name='shown_in_result_list' id='shown_in_result_list' value='1' checked=getChecked('shown_in_result_list',list_param_default_values) /> <@formGroup helpKey='#i18n{directory.create_entry.label_shown_in_result_record_comment}'> <@checkBox labelFor='shown_in_result_record' labelKey='#i18n{directory.create_entry.label_shown_in_result_record}' name='shown_in_result_record' id='shown_in_result_record' value='1' checked=getChecked('shown_in_result_record',list_param_default_values) /> <@formGroup helpKey='#i18n{directory.create_entry.label_shown_in_history_comment}'> <@checkBox labelFor='shown_in_history' labelKey='#i18n{directory.create_entry.label_shown_in_history}' name='shown_in_history' id='shown_in_history' value='1' checked=getChecked('shown_in_history',list_param_default_values) /> <@formGroup helpKey='#i18n{directory.create_entry.label_shown_in_export_comment}'> <@checkBox labelFor='shown_in_export' labelKey='#i18n{directory.create_entry.label_shown_in_export}' name='shown_in_export' id='shown_in_export' value='1' checked=getChecked('shown_in_export',list_param_default_values) /> <@formGroup helpKey='#i18n{directory.create_entry.label_shown_in_completeness_comment}'> <@checkBox labelFor='shown_in_completeness' labelKey='#i18n{directory.create_entry.label_shown_in_completeness}' name='shown_in_completeness' id='shown_in_completeness' value='1' checked=getChecked('shown_in_completeness',list_param_default_values) /> <@formGroup labelFor='comment' labelKey='#i18n{directory.create_entry.label_comment}'> <@input type='textarea' name='comment' rows=2>
<@formGroup> <@button type='submit' name='save' buttonIcon='save' title='#i18n{directory.create_entry.button_save}' size='' /> <@aButton href='jsp/admin/plugins/directory/ModifyDirectory.jsp?id_directory=${entry.directory.idDirectory}' buttonIcon='remove' title='#i18n{directory.create_entry.button_cancel}' size='' color='btn-secondary' />