This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
forked from WHMCS/templates-six
-
Notifications
You must be signed in to change notification settings - Fork 2
/
contact.tpl
52 lines (45 loc) · 2.14 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>
<div class="row">
<div class="col-sm-offset-3 col-sm-9">
{include file="$template/includes/captcha.tpl"}
</div>
</div>
<div class="form-group">
<div class="text-center">
<button type="submit" class="btn btn-primary">{$LANG.contactsend}</button>
</div>
</div>
</form>
{/if}