forked from TheMaxium69/SolidServ-WHMCS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clientareadomainaddons.tpl
93 lines (70 loc) · 4 KB
/
clientareadomainaddons.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
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
83
84
85
86
87
88
89
90
91
92
93
<div class="card">
<div class="card-body">
<form method="post" action="{$smarty.server.PHP_SELF}?action=domainaddons">
<input type="hidden" name="{$action}" value="{$addon}">
<input type="hidden" name="id" value="{$domainid}">
<input type="hidden" name="confirm" value="1">
<input type="hidden" name="token" value="{$token}">
{if $action eq "buy"}
<input type="hidden" name="buy" value="{$addon}">
{if $addon eq "dnsmanagement"}
<h3 class="card-title">{lang key='domainaddonsdnsmanagement'}</h3>
{include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
<p>{lang key='domainaddonsdnsmanagementinfo'}</p>
<p align="center">
<button type="submit" name="enable" class="btn btn-success btn-lg">
{lang key='domainaddonsbuynow'} {$addonspricing.dnsmanagement}{lang key='domainaddonsperyear'}
</button>
</p>
{elseif $addon eq "emailfwd"}
<h3 class="card-title">{lang key='domainemailforwarding'}</h3>
{include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
<p>{lang key='domainaddonsemailforwardinginfo'}</p>
<p align="center">
<button type="submit" name="enable" class="btn btn-success btn-lg">
{lang key='domainaddonsbuynow'} {$addonspricing.emailforwarding}{lang key='domainaddonsperyear'}
</button>
</p>
{elseif $addon eq "idprotect"}
<h3 class="card-title">{lang key='domainidprotection'}</h3>
{include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
<p>{lang key='domainaddonsidprotectioninfo'}</p>
<p align="center">
<button type="submit" name="enable" class="btn btn-success btn-lg">
{lang key='domainaddonsbuynow'} {$addonspricing.idprotection}{lang key='domainaddonsperyear'}
</button>
</p>
{/if}
{elseif $action eq "disable"}
<input type="hidden" name="disable" value="{$addon}">
<h3 class="card-title">
{if $addon eq "dnsmanagement"}
{lang key='domainaddonsdnsmanagement'}
{elseif $addon eq "emailfwd"}
{lang key='domainemailforwarding'}
{elseif $addon eq "idprotect"}
{lang key='domainidprotection'}
{/if}
</h3>
{include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
{if $success}
{include file="$template/includes/alert.tpl" type="success" msg="{lang key='domainaddonscancelsuccess'}" textcenter=true}
{elseif $error}
{include file="$template/includes/alert.tpl" type="error" msg="{lang key='domainaddonscancelfailed'}" textcenter=true}
{else}
<p class="text-center">
{lang key='domainaddonscancelareyousure'}
</p>
<p class="text-center">
<button type="submit" name="enable" class="btn btn-danger btn-lg">
{lang key='domainaddonsconfirm'}
</button>
</p>
{/if}
{/if}
</form>
</div>
</div>
<a href="clientarea.php?action=domaindetails&id={$domainid}" class="btn btn-default">
{lang key='clientareabacklink'}
</a>