-
Notifications
You must be signed in to change notification settings - Fork 279
/
contact.tpl
52 lines (45 loc) · 2.17 KB
/
contact.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{if $sent}
{include file="$template/includes/alert.tpl" type="success" msg=$LANG.contactsent textcenter=true}
{/if}
{if $errormessage}
{include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage}
{/if}
{if !$sent}
<form method="post" action="contact.php" class="form-horizontal" role="form">
<input type="hidden" name="action" value="send" />
<div class="form-group">
<label for="inputName" class="col-sm-3 control-label">{$LANG.supportticketsclientname}</label>
<div class="col-sm-7">
<input type="text" name="name" value="{$name}" class="form-control" id="inputName" />
</div>
</div>
<div class="form-group">
<label for="inputEmail" class="col-sm-3 control-label">{$LANG.supportticketsclientemail}</label>
<div class="col-sm-7">
<input type="email" name="email" value="{$email}" class="form-control" id="inputEmail" />
</div>
</div>
<div class="form-group">
<label for="inputSubject" class="col-sm-3 control-label">{$LANG.supportticketsticketsubject}</label>
<div class="col-sm-7">
<input type="subject" name="subject" value="{$subject}" class="form-control" id="inputSubject" />
</div>
</div>
<div class="form-group">
<label for="inputMessage" class="col-sm-3 control-label">{$LANG.contactmessage}</label>
<div class="col-sm-9">
<textarea name="message" rows="7" class="form-control" id="inputMessage">{$message}</textarea>
</div>
</div>
{if $captcha}
<div class="text-center margin-bottom">
{include file="$template/includes/captcha.tpl"}
</div>
{/if}
<div class="form-group">
<div class="text-center">
<button type="submit" class="btn btn-primary{$captcha->getButtonClass($captchaForm)}">{$LANG.contactsend}</button>
</div>
</div>
</form>
{/if}