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 | <li> |
---|
36 | <label> |
---|
37 | <input type="text" name="cf_redirect_url" value="{if $cf_redirect_url}{$cf_redirect_url}{else}http://{/if}" size="50"> |
---|
38 | {'Redirect after sending email (optional)'|@translate} |
---|
39 | </label> |
---|
40 | </li> |
---|
41 | </ul> |
---|
42 | </fieldset> |
---|
43 | |
---|
44 | <fieldset> |
---|
45 | <legend>{'E-mail configuration'|@translate}</legend> |
---|
46 | <ul> |
---|
47 | <li> |
---|
48 | {'E-mail format :'|@translate} |
---|
49 | <label> |
---|
50 | <input type="radio" name="cf_mail_type" value="text/html" {if $cf_mail_type == 'text/html'}checked="checked"{/if}> |
---|
51 | HTML |
---|
52 | </label> |
---|
53 | <label> |
---|
54 | <input type="radio" name="cf_mail_type" value="text/plain" {if $cf_mail_type == 'text/plain'}checked="checked"{/if}> |
---|
55 | {'Plain text'|@translate} |
---|
56 | </label> |
---|
57 | </li> |
---|
58 | <li> |
---|
59 | <label> |
---|
60 | <input type="text" name="cf_default_subject" value="{$cf_default_subject}" size="50"> |
---|
61 | {'Default e-mail subject'|@translate} ({'can be translated with LocalFiles Editor plugin'|@translate}) |
---|
62 | </label> |
---|
63 | </li> |
---|
64 | <li> |
---|
65 | <label> |
---|
66 | <input type="text" name="cf_subject_prefix" value="{$cf_subject_prefix}" size="50"> |
---|
67 | {'Prefix of the sent e-mail subject'|@translate} ({'you can use "%gallery_title%"'|@translate}) |
---|
68 | </label> |
---|
69 | </li> |
---|
70 | </ul> |
---|
71 | </fieldset> |
---|
72 | |
---|
73 | <fieldset> |
---|
74 | <legend>{'Text before the contact form'|@translate}</legend> |
---|
75 | <textarea rows="4" cols="80" class="description" name="cf_before">{$cf_before}</textarea> |
---|
76 | </fieldset> |
---|
77 | |
---|
78 | <fieldset> |
---|
79 | <legend>{'Text after the contact form'|@translate}</legend> |
---|
80 | <textarea rows="4" cols="80" class="description" name="cf_after">{$cf_after}</textarea> |
---|
81 | </fieldset> |
---|
82 | |
---|
83 | <p style="text-align:left;"><input type="submit" name="save_config" value="{'Submit'|@translate}" class="submit"></p> |
---|
84 | </form> |
---|