-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclientareacancelrequest.tpl
More file actions
82 lines (62 loc) · 2.82 KB
/
clientareacancelrequest.tpl
File metadata and controls
82 lines (62 loc) · 2.82 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{include file="$template/pageheader.tpl" title=$LANG.clientareacancelrequest}
{if $invalid}
<div class="alert alert-warning">
<p>{$LANG.clientareacancelinvalid}</p>
</div>
<div class="textcenter">
<input type="button" value="{$LANG.clientareabacklink}" class="btn" onclick="window.location='clientarea.php?action=productdetails&id={$id}'" />
</div>
<br /><br /><br />
{elseif $requested}
<div class="alert alert-success">
<p>{$LANG.clientareacancelconfirmation}</p>
</div>
<div class="textcenter">
<input type="button" value="{$LANG.clientareabacklink}" class="btn" onclick="window.location='clientarea.php?action=productdetails&id={$id}'" />
</div>
<br /><br /><br />
{else}
{if $error}
<div class="alert alert-error">
<p class="bold">{$LANG.clientareaerrors}</p>
<ul>
<li>{$LANG.clientareacancelreasonrequired}</li>
</ul>
</div>
{/if}
<div class="alert alert-block alert-info">
<p>{$LANG.clientareacancelproduct}: <strong>{$groupname} - {$productname}</strong>{if $domain} ({$domain}){/if}</p>
</div>
<form method="post" action="{$smarty.server.PHP_SELF}?action=cancel&id={$id}" class="form-stacked">
<input type="hidden" name="sub" value="submit" />
<fieldset class="control-group">
<div class="control-group">
<label class="control-label" for="cancellationreason">{$LANG.clientareacancelreason}</label>
<div class="controls">
<textarea name="cancellationreason" id="cancellationreason" rows="6" class="form-control"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label" for="type">{$LANG.clientareacancellationtype}</label>
<div class="controls">
<select name="type" id="type" class="form-control">
<option value="Immediate">{$LANG.clientareacancellationimmediate}</option>
<option value="End of Billing Period">{$LANG.clientareacancellationendofbillingperiod}</option>
</select>
</div>
</div>
{if $domainid}
<br />
<div class="alert alert-block alert-warn textcenter">
<p><strong>{$LANG.cancelrequestdomain}</strong></p>
<p>{$LANG.cancelrequestdomaindesc|sprintf2:$domainnextduedate:$domainprice:$domainregperiod}</p>
<p><label class="checkbox"><input type="checkbox" name="canceldomain" id="canceldomain" class="btn btn-primary" /> {$LANG.cancelrequestdomainconfirm}</label></p>
</div>
{/if}
<div class="form-actions">
<input type="submit" value="{$LANG.clientareacancelrequestbutton}" class="btn btn-danger" />
<input type="button" value="{$LANG.cancel}" class="btn btn-danger" onclick="window.location='clientarea.php?action=productdetails&id={$id}'" />
</div>
</fieldset>
</form>
{/if}