[17483] | 1 | {combine_css path=$CONTACT_FORM_PATH|@cat:"admin/template/style.css"} |
---|
| 2 | |
---|
| 3 | <div class="titrePage"> |
---|
| 4 | <h2>Contact Form</h2> |
---|
| 5 | </div> |
---|
| 6 | |
---|
| 7 | <form method="post" action="{$CONTACT_FORM_ADMIN}-config" class="properties"> |
---|
| 8 | <fieldset> |
---|
| 9 | <legend>{'General configuration'|@translate}</legend> |
---|
| 10 | <ul> |
---|
| 11 | <li> |
---|
| 12 | <label> |
---|
| 13 | <input type="checkbox" name="cf_menu_link" value="1" {if $cf_menu_link}checked="checked"{/if}> |
---|
| 14 | {'Add link in menu'|@translate} |
---|
| 15 | </label> |
---|
| 16 | </li> |
---|
| 17 | <li> |
---|
| 18 | <label> |
---|
| 19 | <input type="checkbox" name="cf_allow_guest" value="1" {if $cf_allow_guest}checked="checked"{/if}> |
---|
| 20 | {'Allow guests to see the form'|@translate} |
---|
| 21 | </label> |
---|
| 22 | </li> |
---|
| 23 | <li> |
---|
| 24 | <label> |
---|
| 25 | <input type="checkbox" name="cf_mandatory_mail" value="1" {if $cf_mandatory_mail}checked="checked"{/if}> |
---|
| 26 | {'E-mail address is mandatory'|@translate} |
---|
| 27 | </label> |
---|
| 28 | </li> |
---|
| 29 | <li> |
---|
| 30 | <label> |
---|
| 31 | <input type="checkbox" name="cf_mandatory_name" value="1" {if $cf_mandatory_name}checked="checked"{/if}> |
---|
| 32 | {'Name is mandatory'|@translate} |
---|
| 33 | </label> |
---|
| 34 | </li> |
---|
| 35 | </ul> |
---|
| 36 | </fieldset> |
---|
| 37 | |
---|
| 38 | <fieldset> |
---|
| 39 | <legend>{'E-mail configuration'|@translate}</legend> |
---|
| 40 | <ul> |
---|
| 41 | <li> |
---|
| 42 | {'E-mail format :'|@translate} |
---|
| 43 | <label> |
---|
| 44 | <input type="radio" name="cf_mail_type" value="text/html" {if $cf_mail_type == 'text/html'}checked="checked"{/if}> |
---|
| 45 | HTML |
---|
| 46 | </label> |
---|
| 47 | <label> |
---|
| 48 | <input type="radio" name="cf_mail_type" value="text/plain" {if $cf_mail_type == 'text/plain'}checked="checked"{/if}> |
---|
| 49 | {'Plain text'|@translate} |
---|
| 50 | </label> |
---|
| 51 | </li> |
---|
| 52 | <li> |
---|
| 53 | <label> |
---|
| 54 | <input type="text" name="cf_default_subject" value="{$cf_default_subject}" size="50"> |
---|
[17945] | 55 | {'Default e-mail subject'|@translate} ({'can be translated with LocalFiles Editor plugin'|@translate}) |
---|
[17483] | 56 | </label> |
---|
| 57 | </li> |
---|
| 58 | <li> |
---|
| 59 | <label> |
---|
| 60 | <input type="text" name="cf_subject_prefix" value="{$cf_subject_prefix}" size="50"> |
---|
[17945] | 61 | {'Prefix of the sent e-mail subject'|@translate} ({'you can use "%gallery_title%"'|@translate}) |
---|
[17483] | 62 | </label> |
---|
| 63 | </li> |
---|
| 64 | </ul> |
---|
| 65 | </fieldset> |
---|
| 66 | |
---|
| 67 | <fieldset> |
---|
| 68 | <legend>{'Text before the contact form'|@translate}</legend> |
---|
| 69 | <textarea rows="4" cols="80" class="description" name="cf_before">{$cf_before}</textarea> |
---|
| 70 | </fieldset> |
---|
| 71 | |
---|
| 72 | <fieldset> |
---|
| 73 | <legend>{'Text after the contact form'|@translate}</legend> |
---|
| 74 | <textarea rows="4" cols="80" class="description" name="cf_after">{$cf_after}</textarea> |
---|
| 75 | </fieldset> |
---|
| 76 | |
---|
| 77 | <p style="text-align:left;"><input type="submit" name="save_config" value="{'Submit'|@translate}" class="submit"></p> |
---|
| 78 | </form> |
---|