Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (43 sloc) 2.764 kb
bfc8940 @yellowled The contact form container should probably be an article.
authored
1 <article class="clearfix serendipity_staticpage{if $plugin_contactform_articleformat} serendipity_entry{/if}">
2 <h2>{if $plugin_contactform_articleformat}{$plugin_contactform_name}{else}{$plugin_contactform_pagetitle}{/if}</h2>
997bd48 @yellowled Removed trailing spaces.
authored
3
bfc8940 @yellowled The contact form container should probably be an article.
authored
4 <div class="clearfix content serendpity_preface">
5 {$plugin_contactform_preface}
6 </div>
7 {if $is_contactform_sent}
8 <p class="serendipity_msg_notice">{$plugin_contactform_sent}</p>
9 {else}
10 {if $is_contactform_error}
11 <p class="serendipity_msg_important">{$plugin_contactform_error}</p>
12 {foreach from=$comments_messagestack item="message"}
13 <p class="serendipity_msg_important">{$message}</p>
14 {/foreach}
15 {/if}
da9748f Initial version.
Matthias Mees authored
16
bfc8940 @yellowled The contact form container should probably be an article.
authored
17 <div class="serendipityCommentForm">
18 <a id="serendipity_CommentForm"></a>
997bd48 @yellowled Removed trailing spaces.
authored
19
bfc8940 @yellowled The contact form container should probably be an article.
authored
20 <form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
21 <div>
22 <input type="hidden" name="serendipity[subpage]" value="{$commentform_sname}">
23 <input type="hidden" name="serendipity[commentform]" value="true">
24 </div>
25 <div class="form_field">
26 <label for="serendipity_commentform_name">{$CONST.NAME}{if $required_fields.name}*{/if}</label>
27 <input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$CONST.TWOK11_PLACE_NAME}"{if $required_fields.name} required{/if}>
28 </div>
997bd48 @yellowled Removed trailing spaces.
authored
29
bfc8940 @yellowled The contact form container should probably be an article.
authored
30 <div class="form_field">
31 <label for="serendipity_commentform_email">{$CONST.EMAIL}{if $required_fields.email}*{/if}</label>
32 <input id="serendipity_commentform_email" name="serendipity[email]" type="email" value="{$commentform_email}" placeholder="{$CONST.TWOK11_PLACE_MAIL}"{if $required_fields.email} required{/if}>
33 </div>
997bd48 @yellowled Removed trailing spaces.
authored
34
bfc8940 @yellowled The contact form container should probably be an article.
authored
35 <div class="form_field">
36 <label for="serendipity_commentform_url">{$CONST.HOMEPAGE}{if $required_fields.url}*{/if}</label>
37 <input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$CONST.TWOK11_PLACE_URL}"{if $required_fields.url} required{/if}>
38 </div>
997bd48 @yellowled Removed trailing spaces.
authored
39
bfc8940 @yellowled The contact form container should probably be an article.
authored
40 <div class="form_tarea">
41 <label for="serendipity_commentform_comment">{$plugin_contactform_message}{if $required_fields.comment}*{/if}</label>
42 <textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" placeholder="{$CONST.TWOK11_PLACE_MESSAGE}"{if $required_fields.comment} required{/if}>{$commentform_data}</textarea>
da9748f Initial version.
Matthias Mees authored
43 </div>
bfc8940 @yellowled The contact form container should probably be an article.
authored
44 {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
45 <input id="serendipity_submit" name="serendipity[submit]" type="submit" value="{$CONST.TWOK11_SEND_MAIL}">
46 </form>
403b4d9 Making the contact form tpl more robust.
Matthias Mees authored
47 </div>
bfc8940 @yellowled The contact form container should probably be an article.
authored
48 {/if}
49 </article>
Something went wrong with that request. Please try again.