@tform action='jsp/admin/plugins/suggest/DoModifySuggest.jsp' method='post' enctype='multipart/form-data'>
<@input type='hidden' name='id_suggest' value='${suggest.idSuggest}' />
<@input type='hidden' name='plugin_name' value='suggest' />
<@input type='hidden' name='panel' id='panel_id' value='${panel!"#panel1"}' />
<@row>
<@columns>
<@box>
<@boxHeader title='${suggest.title!}'>
<@btnGroup>
<@button type='submit' name='save' buttonIcon='save' title='#i18n{suggest.createSuggest.buttonSave}' size='sm' hideTitle=['xs','sm'] />
<@button type='submit' name='apply' buttonIcon='check' title='#i18n{suggest.modifySuggest.buttonApply}' size='sm' hideTitle=['xs','sm'] />
@btnGroup>
@boxHeader>
<@boxBody>
<@tabs>
<@tabList>
<@tabLink href='#panel4' title='#i18n{suggest.creatSuggest.navTab.labelGeneral}' />
<@tabLink active=true href='#panel1' title='#i18n{suggest.modifySuggest.navTab.labelEntries}' />
<@tabLink href='#panel2' title='#i18n{suggest.modifySuggest.navTab.labelCategories}' />
<@tabLink href='#panel3' title='#i18n{suggest.modifySuggest.navTab.labelSuggestSubmitTypes}' />
<@tabLink href='#panel5' title='#i18n{suggest.creatSuggest.navTab.labelPresentation}' />
<@tabLink href='#panel6' title='#i18n{suggest.creatSuggest.navTab.labelPermission} / #i18n{suggest.creatSuggest.navTab.labelNotification}' />
<@tabLink href='#panel8' title='#i18n{suggest.creatSuggest.navTab.labelAdvancedParameters}' />
@tabList>
<@tabContent>
<@tabPanel id='panel4'>
<@formGroup labelFor='title' labelKey='#i18n{suggest.createSuggest.labelTitle}' helpKey='#i18n{suggest.createSuggest.labelTitleComment}' mandatory=true>
<@input type='text' name='title' id='title' value='${suggest.title!}' maxlength=255 />
@formGroup>
<@formGroup labelFor='libelle_contribution' labelKey='#i18n{suggest.createSuggest.labelLibelleContribution}' helpKey='#i18n{suggest.createSuggest.labelLibelleContributionComment}' mandatory=true>
<#if suggest.libelleContribution?exists>
<#assign value = suggest.libelleContribution />
<#else>
<#assign value = default_message.libelleContribution! />
#if>
<@input type='text' name='libelle_contribution' id='libelle_contribution' value=value maxlength=255 />
@formGroup>
<@formGroup labelFor='libelle_validate_button' labelKey='#i18n{suggest.createSuggest.labelLibelleValidateButton}' mandatory=true>
<#if suggest.libelleValidateButton?exists>
<#assign value = suggest.libelleValidateButton />
<#else>
<#assign value = default_message.libelleValidateButton />
#if>
<@input type='text' name='libelle_validate_button' id='libelle_validate_button' value=value maxlength=255 />
@formGroup>
<@formGroup labelFor='number_suggest_submit_caracters_shown' labelKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitCaractersShown}' helpKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitCaractersShownComment}' mandatory=true>
<#if suggest.numberSuggestSubmitCaractersShown!=-1>
<#assign value = suggest.numberSuggestSubmitCaractersShown />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_suggest_submit_caracters_shown' id='number_suggest_submit_caracters_shown' value=value maxlength=10 />
@formGroup>
<@formGroup labelFor='id_vote_type' labelKey='#i18n{suggest.createSuggest.labelVoteType}' helpKey='#i18n{suggest.createSuggest.labelVoteTypeComment}'>
<#if suggest.voteType?exists>
<@select name='id_vote_type' items=vote_type_list default_value='suggest.voteType.idVoteType' />
<#else>
<@select name='id_vote_type' items=vote_type_list default_value='-1' />
#if>
@formGroup>
<@formGroup helpKey='#i18n{suggest.createSuggest.labelDisableVoteComment}'>
<@checkBox labelFor='disable_vote' labelKey='#i18n{suggest.createSuggest.labelDisableVote}' name='disable_vote' id='disable_vote' value='disable_vote' checked=suggest.disableVote />
@formGroup>
<@formGroup helpKey='#i18n{suggest.createSuggest.labelAuthorizedCommentSubmitComment}'>
<@checkBox labelFor='authorized_comment' labelKey='#i18n{suggest.createSuggest.labelAuthorizedCommentSubmit}' name='authorized_comment' id='authorized_comment' checked=suggest.authorizedComment params='onclick="displayAuthorizedComment()"' />
@formGroup>
<@formGroup labelFor='unavailability_message' labelKey='#i18n{suggest.createSuggest.labelUnavailabilityMessage}' mandatory=true>
<@input type='textarea' name='unavailability_message' id='unavailability_message' rows=4 richtext=true><#if suggest.unavailabilityMessage?exists>${suggest.unavailabilityMessage}<#else>${default_message.unavailabilityMessage}#if>@input>
@formGroup>
@tabPanel>
<@tabPanel id='panel1' active=true>
<@tform method='post' action='jsp/admin/plugins/suggest/CreateEntry.jsp'>
<@formGroup labelKey='#i18n{suggest.modifySuggest.manageEnter.labelInsertEntry}'>
<@inputGroup>
<@select name='id_type' items=entry_type_list default_value='-1' />
<@inputGroupItem>
<@button type='submit' params='formmethod="POST" formaction="jsp/admin/plugins/suggest/CreateEntry.jsp"' buttonIcon='plus-square' title='#i18n{suggest.modifySuggest.manageEnter.buttonInsertEntry}' hideTitle=['all'] />
@inputGroupItem>
@inputGroup>
@formGroup>
@tform>
<@table>
<@tr>
<@th>#i18n{suggest.modifySuggest.manageEnter.rowTitle}@th>
<@th>#i18n{suggest.modifySuggest.manageEnter.rowType}@th>
<@th>#i18n{suggest.modifySuggest.manageEnter.rowActions}@th>
@tr>
<#list entry_list as entry>
<@tr>
<@td>${entry.title}@td>
<@td>${entry.entryType.title}@td>
<@td>
<@aButton href='jsp/admin/plugins/suggest/ModifyEntry.jsp?id_entry=${entry.idEntry}' title='' buttonIcon='pencil' size='sm' hideTitle=['all'] />
<#if id_entry_first_in_the_list!=entry.idEntry>
<@aButton href='jsp/admin/plugins/suggest/DoMoveUpEntry.jsp?id_entry=${entry.idEntry}#panel1' title='#i18n{suggest.modifySuggest.manageEnter.titleMoveUp}' buttonIcon='chevron-up' size='sm' hideTitle=['all'] />
#if>
<#if id_entry_last_in_the_list!=entry.idEntry>
<@aButton href='jsp/admin/plugins/suggest/DoMoveDownEntry.jsp?id_entry=${entry.idEntry}#panel1' title='#i18n{suggest.modifySuggest.manageEnter.titleMoveDown}' buttonIcon='chevron-down' size='sm' hideTitle=['all'] />
#if>
<@aButton href='jsp/admin/plugins/suggest/DoCopyEntry.jsp?id_entry=${entry.idEntry}#panel1' title='#i18n{suggest.modifySuggest.manageEnter.titleCopy}' buttonIcon='copy' size='sm' hideTitle=['all'] />
<@aButton href='jsp/admin/plugins/suggest/ConfirmRemoveEntry.jsp?id_entry=${entry.idEntry}#panel1' title='#i18n{suggest.modifySuggest.manageEnter.titleDelete}' buttonIcon='trash' color='danger' size='sm' hideTitle=['all'] />
@td>
@tr>
#list>
@table>
@tabPanel>
<@tabPanel id='panel2'>
#i18n{suggest.modifySuggest.labelCategoryTitleList}
<@tform method='post' action='jsp/admin/plugins/suggest/DoInsertCategoryAssociation.jsp#panel2'>
<@input type='hidden' name='id_suggest' value='${suggest.idSuggest}' />
<@input type='hidden' name='panel' value='panel2' />
<#if category_list?size >= 1>
<@formGroup labelKey=' '>
<@inputGroup>
<@select name='id_category' items=category_list default_value='-1' />
<@inputGroupItem>
<@button type='submit' name='insert_category' title='#i18n{suggest.modifySuggest.buttonInsertCategory}' buttonIcon='plus' hideTitle=['all'] />
@inputGroupItem>
@inputGroup>
@formGroup>
#if>
@tform>
<@table>
<@tr>
<@th>@th>
<@th>#i18n{suggest.modifySuggest.labelCategoryRowTitle}@th>
<@th>#i18n{suggest.modifySuggest.labelCategoryRowAction}@th>
@tr>
<#if suggest.categories?exists>
<#list suggest.categories as category>
<@tr>
<@td params='style="background-color:${category.color!};width:5px;"'> @td>
<@td>${category.title}@td>
<@td>
<@aButton href='jsp/admin/plugins/suggest/DoRemoveCategoryAssociation.jsp?id_suggest=${suggest.idSuggest}&id_category=${category.idCategory}#panel2' title='#i18n{suggest.modifySuggest.titleDeleteCategory}' buttonIcon='trash' color='danger' size='sm' hideTitle=['all'] />
@td>
@tr>
#list>
#if>
@table>
@tabPanel>
<@tabPanel id='panel3'>
#i18n{suggest.modifySuggest.labelSuggestSubmitTypeTitleList}
<@tform method='post' action='jsp/admin/plugins/suggest/DoInsertSuggestSubmitTypeAssociation.jsp#panel3'>
<@input type='hidden' name='id_suggest' value='${suggest.idSuggest}' />
<@input type='hidden' name='panem' value='panel3' />
<@formGroup labelKey=' '>
<@inputGroup>
<@select name='id_suggest_submit_type' items=suggest_submit_type_list default_value='-1' />
<@inputGroupItem>
<@button type='submit' name='insert_suggest_submit_type' title='#i18n{suggest.modifySuggest.buttonInsertSuggestSubmitType}' buttonIcon='plus-square' hideTitle=['all'] />
@inputGroupItem>
@inputGroup>
@formGroup>
@tform>
<@table>
<@tr>
<@th>@th>
<@th>#i18n{suggest.modifySuggest.labelSuggestSubmitTypeRowTitle}@th>
<@th>#i18n{suggest.modifySuggest.labelSuggestSubmitTypeRowAction}@th>
@tr>
<#if suggest.suggestSubmitTypes?exists>
<#list suggest.suggestSubmitTypes as suggestSubmitType>
<@tr>
<@td params='style="background-color:${suggestSubmitType.color!};width:5px;"'> @td>
<@td>${suggestSubmitType.name}@td>
<@td>
<@aButton href='jsp/admin/plugins/suggest/DoRemoveSuggestSubmitTypeAssociation.jsp?id_suggest=${suggest.idSuggest}&id_suggest_submit_type=${suggestSubmitType.idType}#panel8' title='#i18n{suggest.modifySuggest.titleDeleteSuggestSubmitType}' buttonIcon='trash' size='sm' hideTitle=['all'] color='danger' />
@td>
@tr>
#list>
#if>
@table>
@tabPanel>
<@tabPanel id='panel5'>
<@formGroup>
<@checkBox labelFor='active_suggest_submit_paginator' labelKey='#i18n{suggest.createSuggest.labelActiveSuggestSubmitPaginator}' name='active_suggest_submit_paginator' id='active_suggest_submit_paginator' value='${yes_value}' checked=suggest.activeSuggestSubmitPaginator />
@formGroup>
<@formGroup id='nb_submit_per_page' labelFor='number_suggest_submit_per_page' labelKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitPerPage}' helpKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitPerPageComment}'>
<#if suggest.numberSuggestSubmitPerPage!=-1 >
<#assign value = suggest.numberSuggestSubmitPerPage />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_suggest_submit_per_page' id='number_suggest_submit_per_page' value=value maxlength=10 />
@formGroup>
<@formGroup>
<@checkBox labelFor='show_category_block' labelKey='#i18n{suggest.createSuggest.labelCategoryBlock}' name='show_category_block' id='show_category_block' value='show_category_block' checked=suggest.showCategoryBlock />
@formGroup>
<@formGroup>
<@checkBox labelFor='show_top_score_block' labelKey='#i18n{suggest.createSuggest.labelTopScoreBlock}' name='show_top_score_block' id='show_top_score_block' value='show_top_score_block' checked=suggest.showTopScoreBlock />
@formGroup>
<@formGroup id='nb_top_score' labelFor='number_suggest_submit_in_top_score' labelKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitInTopScore}' helpKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitInTopScoreComment}'>
<#if suggest.numberSuggestSubmitInTopScore!=-1>
<#assign value = suggest.numberSuggestSubmitInTopScore />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_suggest_submit_in_top_score' id='number_suggest_submit_in_top_score' value=value maxlength=10 />
@formGroup>
<@formGroup>
<@checkBox labelFor='show_top_comment_block' labelKey='#i18n{suggest.createSuggest.labelTopCommentBlock}' name='show_top_comment_block' id='show_top_comment_block' value='show_top_comment_block' checked=suggest.showTopCommentBlock />
@formGroup>
<@formGroup id='nb_top_comment' labelFor='number_suggest_submit_in_top_comment' labelKey='#i18n{suggest.createSuggest.labelNumberSuggestSubmitInTopComment}' helpKey='#i18n{suggest.createSuggest.labelShowBlockComment}'>
<#if suggest.numberSuggestSubmitInTopComment!=-1 >
<#assign value = suggest.numberSuggestSubmitInTopComment />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_suggest_submit_in_top_comment' id='number_suggest_submit_in_top_comment' value=value maxlength=10 />
@formGroup>
<@formGroup helpKey='#i18n{suggest.createSuggest.labelDisplayCommentInSuggestSubmitListComment}'>
<@checkBox labelFor='display_comment_in_suggest_submit_list' labelKey='#i18n{suggest.createSuggest.labelDisplayCommentInSuggestSubmitList}' name='display_comment_in_suggest_submit_list' id='display_comment_in_suggest_submit_list' value='display_comment_in_suggest_submit_list' checked=suggest.displayCommentInSuggestSubmitList />
@formGroup>
<@formGroup class='nb_comment_in_list' labelFor='number_comment_display_in_suggest_submit_list' labelKey='#i18n{suggest.createSuggest.labelNumberCommentDisplayInSuggestSubmitList}' helpKey='#i18n{suggest.createSuggest.labelNumberCommentDisplayInSuggestSubmitListComment}'>
<#if suggest.numberCommentDisplayInSuggestSubmitList?has_content && suggest.numberCommentDisplayInSuggestSubmitList!=-1>
<#assign value = suggest.numberCommentDisplayInSuggestSubmitList />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_comment_display_in_suggest_submit_list' id='number_comment_display_in_suggest_submit_list' value=value maxlength=10 />
@formGroup>
<@formGroup class='nb_comment_in_list' labelFor='number_char_comment_display_in_suggest_submit_list' labelKey='#i18n{suggest.createSuggest.labelNumberCharCommentDisplayInSuggestSubmitList}' helpKey='#i18n{suggest.createSuggest.labelNumberCharCommentDisplayInSuggestSubmitListComment}'>
<#if suggest.numberCharCommentDisplayInSuggestSubmitList?has_content && suggest.numberCharCommentDisplayInSuggestSubmitList!=-1 >
<#assign value = suggest.numberCharCommentDisplayInSuggestSubmitList />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_char_comment_display_in_suggest_submit_list' id='number_char_comment_display_in_suggest_submit_list' value=value maxlength=10 />
@formGroup>
<@formGroup labelFor='id_default_sort' labelKey='#i18n{suggest.createSuggest.labelDefaultSort}' helpKey='#i18n{suggest.createSuggest.labelDefaultSortComment}'>
<@select name='id_default_sort' items=suggest_submit_sort_list default_value='${suggest.idDefaultSort}' />
@formGroup>
<@formGroup labelFor='id_theme_list' labelKey='#i18n{suggest.createSuggest.labelThemeXpage}' helpKey='#i18n{suggest.createSuggest.labelThemeXpageComment}'>
<@select name='id_theme_list' items=theme_list default_value='${suggest.codeTheme!\'\'}' />
@formGroup>
<@formGroup labelFor='header' labelKey='#i18n{suggest.createSuggest.labelHeader}' helpKey='#i18n{suggest.createSuggest.labelHeaderComment}'>
<@input type='textarea' name='header' id='header' rows=4 richtext=true><#if suggest.header?exists>${suggest.header}#if>@input>
@formGroup>
<@formGroup labelFor='confirmation_message' labelKey='#i18n{suggest.createSuggest.labelConfirmationMessage}' helpKey='#i18n{suggest.createSuggest.labelConfirmationMessageComment}'>
<@input type='textarea' name='confirmation_message' id='' rows=4 richtext=true><#if suggest.confirmationMessage?exists >${suggest.confirmationMessage}#if>@input>
@formGroup>
<@formGroup labelFor='terms_of_use' labelKey='#i18n{suggest.createSuggest.labelTermsOfUse}' helpKey='#i18n{suggest.createSuggest.labelTermsOfUseComment}'>
<@input type='textarea' name='terms_of_use' id='terms_of_use' rows=4 richtext=true>${suggest.termsOfUse!}@input>
@formGroup>
@tabPanel>
<@tabPanel id='panel6'>
<@fieldSet>
<@formGroup labelFor='workgroup' labelKey='#i18n{suggest.createSuggest.labelWorkgroup}' helpKey='#i18n{suggest.createSuggest.labelWorkgroupComment}'>
<@select name='workgroup' default_value='${suggest.workgroup!}' items=user_workgroup_list />
@formGroup>
<@formGroup labelFor='role' labelKey='#i18n{suggest.createSuggest.labelRole}' helpKey='#i18n{suggest.createSuggest.labelRoleComment}'>
<@select name='role' default_value='${suggest.role!\'none\'}' items=role_list />
@formGroup>
<@formGroup labelKey='#i18n{suggest.createSuggest.labelEnableReports}'>
<@checkBox labelFor='enable_reports' labelKey='#i18n{suggest.createSuggest.labelEnableReportsComment}' name='enable_reports' id='enable_reports' value='${yes_value}' checked=suggest.enableReports />
@formGroup>
<@formGroup labelKey='#i18n{suggest.createSuggest.labelEnableTermsOfUse}'>
<@checkBox labelFor='enable_terms_of_use' labelKey='#i18n{suggest.createSuggest.labelEnableTermsOfUseComment}' name='enable_terms_of_use' id='enable_terms_of_use' value='${yes_value}' checked=suggest.enableTermsOfUse />
@formGroup>
<@formGroup labelKey='#i18n{suggest.createSuggest.labelLimitNumberVote}'>
<@checkBox labelFor='limit_number_vote' labelKey='#i18n{suggest.createSuggest.labelLimitNumberVoteComment}' name='limit_number_vote' id='limit_number_vote' value='${yes_value}' checked=suggest.limitNumberVote />
@formGroup>
<#if authentification_enable>
<@formGroup labelKey='#i18n{suggest.createSuggest.labelRequiredAuthentification}' helpKey='#i18n{suggest.createSuggest.labelRequiredAuthentificationComment}'>
<@checkBox orientation='inline' labelFor='active_suggest_submit_authentification' labelKey='#i18n{suggest.createSuggest.labelRequiredAuthentificationCreation}' id='active_suggest_submit_authentification' name='active_suggest_submit_authentification' value='${yes_value}' checked=suggest.activeSuggestSubmitAuthentification />
<@checkBox orientation='inline' labelFor='active_vote_authentification' labelKey='#i18n{suggest.createSuggest.labelRequiredAuthentificationVote}' id='active_vote_authentification' name='active_vote_authentification' value='${yes_value}' checked=suggest.activeVoteAuthentification />
<@checkBox orientation='inline' labelFor='active_comment_authentification' labelKey='#i18n{suggest.createSuggest.labelRequiredAuthentificationCommentSubmit}' id='active_comment_authentification' name='active_comment_authentification' value='active_comment_authentification' checked=suggest.activeCommentAuthentification />
@formGroup>
#if>
@fieldSet>
<@fieldSet legend='#i18n{suggest.createSuggest.labelDisableNewSuggestSubmit}' legendIcon='gavel'>
<@formGroup>
<@checkBox labelFor='disable_new_suggest_submit' labelKey='#i18n{suggest.createSuggest.labelDisableNewSuggestSubmitComment}' id='disable_new_suggest_submit' name='disable_new_suggest_submit' value='${yes_value}' checked=suggest.disableNewSuggestSubmit />
@formGroup>
<@div class='proposal-notif'>
<@formGroup labelKey='#i18n{suggest.createSuggest.labelMailSuggestSubmit}'>
<@checkBox labelFor='enable_mail_new_suggest_submit' labelKey='#i18n{suggest.createSuggest.labelMailNewSuggestSubmit}' name='enable_mail_new_suggest_submit' id='enable_mail_new_suggest_submit' value='${yes_value}' checked=suggest.enableMailNewSuggestSubmit />
<@checkBox labelFor='enable_mail_new_comment_submit' labelKey='#i18n{suggest.createSuggest.labelMailNewCommentSubmit}' name='enable_mail_new_comment_submit' id='enable_mail_new_comment_submit' value='${yes_value}' checked=suggest.enableMailNewCommentSubmit />
<@checkBox labelFor='enable_mail_new_reported_submit' labelKey='#i18n{suggest.createSuggest.labelMailNewReportedSubmit}' name='enable_mail_new_reported_submit' id='enable_mail_new_reported_submit' value='${yes_value}' checked=suggest.enableMailNewReportedSubmit />
@formGroup>
<@formGroup labelFor='notification_new_suggest_submit_sender_name' labelKey='#i18n{suggest.createSuggest.labelNotificationNewSuggestSubmitSenderName}'>
<@input type='text' name='notification_new_suggest_submit_sender_name' id='notification_new_suggest_submit_sender_name' maxlength=255 value='${suggest.notificationNewSuggestSubmitSenderName!}' />
@formGroup>
<@formGroup labelFor='notification_new_suggest_submit_title' labelKey='#i18n{suggest.createSuggest.labelNotificationNewSuggestSubmitTitle}' mandatory=true>
<@input type='textarea' name='notification_new_suggest_submit_title' id='notification_new_suggest_submit_title' rows=10 richtext=true>${suggest.notificationNewSuggestSubmitTitle!}@input>
@formGroup>
<@formGroup labelFor='notification_new_suggest_submit_body' labelKey='#i18n{suggest.createSuggest.labelNotificationNewSuggestSubmitBody}' mandatory=true>
<@input type='textarea' name='notification_new_suggest_submit_body' id='notification_new_suggest_submit_body' rows=5 richtext=true>${suggest.notificationNewSuggestSubmitBody!}@input>
@formGroup>
@div>
@fieldSet>
<@fieldSet legend='#i18n{suggest.createSuggest.labelDisableNewCommentSubmit}' legendIcon='comments'>
<@formGroup>
<@checkBox labelFor='disable_new_comment' labelKey='#i18n{suggest.createSuggest.labelDisableNewCommentSubmitComment}' name='disable_new_comment' id='disable_new_comment' value='${yes_value}' checked=suggest.disableNewComment />
@formGroup>
<@div class='comment-notif clearfix'>
<@formGroup labelFor='notification_new_comment_sender_name' labelKey='#i18n{suggest.createSuggest.labelNotificationNewCommentSenderName}'>
<@input type='text' name='notification_new_comment_sender_name' id='notification_new_comment_sender_name' maxlength=255 value='${suggest.notificationNewCommentSenderName!}' />
@formGroup>
<@formGroup labelFor='notification_new_comment_title' labelKey='#i18n{suggest.createSuggest.labelNotificationNewCommentTitle}' mandatory=true>
<@input type='textarea' name='notification_new_comment_title' id='notification_new_comment_title' rows=5 richtext=true>${suggest.notificationNewCommentTitle!}@input>
@formGroup>
<@formGroup labelFor='notification_new_comment_body' labelKey='#i18n{suggest.createSuggest.labelNotificationNewCommentBody}' mandatory=true>
<@input type='textarea' name='notification_new_comment_body' id='notification_new_comment_body' rows=5 richtext=true>${suggest.notificationNewCommentBody!}@input>
@formGroup>
@div>
<@formGroup labelFor='id_mailing_list_suggest_submit' labelKey='#i18n{suggest.createSuggest.labelMailingList}' helpKey='#i18n{suggest.createSuggest.labelMailingListComment}'>
<@inputGroup>
<@select name='id_mailing_list_suggest_submit' default_value=suggest.idMailingListSuggestSubmit?string items=mailing_list />
<@inputGroupItem>
<@aButton href='jsp/admin/mailinglist/ModifyMailingList.jsp?id_mailinglist=${suggest.idMailingListSuggestSubmit}' buttonIcon='check' title='#i18n{suggest.modifySuggest.legendGoToNotificationList}' hideTitle=['all'] />
@inputGroupItem>
@inputGroup>
@formGroup>
@fieldSet>
@tabPanel>
<@tabPanel id='panel8'>
<@formGroup labelFor='description' labelKey='#i18n{suggest.createSuggest.labelDescription}'>
<@input type='textarea' name='description' id='description' rows=4 richtext=true>${suggest.description!}@input>
@formGroup>
<@formGroup labelFor='image_source' labelKey='#i18n{suggest.createSuggest.labelImage}'>
<@input type='file' id='image_source' name='image_source' maxlength=100 />
@formGroup>
<@formGroup>
<@checkBox labelFor='update_file' labelKey='#i18n{suggest.createSuggest.labelUpdateFile}' id='update_file' name='update_file' />
<#if suggest.idImageResource?has_content && suggest.idImageResource!=-1 >
#if>
@formGroup>
<@formGroup labelFor='number_day_required' labelKey='#i18n{suggest.createSuggest.labelNumberDayRequired}' helpKey='#i18n{suggest.createSuggest.labelNumberDayRequiredComment}'>
<#if suggest.numberDayRequired!=-1>
<#assign value = suggest.numberDayRequired />
<#else>
<#assign value = '' />
#if>
<@input type='text' name='number_day_required' id='number_day_required' value=value />
@formGroup>
<#if is_active_captcha>
<@formGroup helpKey='#i18n{suggest.createSuggest.labelActiveCaptchaComment}'>
<@checkBox labelFor='active_captcha' labelKey='#i18n{suggest.createSuggest.labelActiveCaptcha}' id='active_captcha' name='active_captcha' value='${yes_value}' checked=suggest.activeCaptcha />
@formGroup>
#if>
<@formGroup>
<@checkBox labelFor='active_editor_bbcode_on_comment' labelKey='#i18n{suggest.createSuggest.labelActiveEditorBbcodeOnComment}' id='active_editor_bbcode_on_comment' name='active_editor_bbcode_on_comment' value='${yes_value}' checked=suggest.activeEditorBbcode />
@formGroup>
@tabPanel>
@tabContent>
@tabs>
@boxBody>
<@boxFooter>
<@formGroup>
<@button type='submit' name='save' title='#i18n{suggest.createSuggest.buttonSave}' buttonIcon='save' />
<@button type='submit' name='apply' title='#i18n{suggest.modifySuggest.buttonApply}' buttonIcon='check' />
@formGroup>
@boxFooter>
@box>
@columns>
@row>
@tform>
<#include "/admin/util/editor/editor.html" />
<@initEditor />