-
Notifications
You must be signed in to change notification settings - Fork 65
/
configuredomains.tpl
204 lines (181 loc) · 10.5 KB
/
configuredomains.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
{include file="orderforms/standard_cart/common.tpl"}
<script>
var _localLang = {
'addToCart': '{$LANG.orderForm.addToCart|escape}',
'addedToCartRemove': '{$LANG.orderForm.addedToCartRemove|escape}'
}
</script>
<div id="order-standard_cart">
<div class="row">
<div class="cart-sidebar">
{include file="orderforms/standard_cart/sidebar-categories.tpl"}
</div>
<div class="cart-body">
<div class="header-lined">
<h1 class="font-size-36">{$LANG.cartdomainsconfig}</h1>
</div>
{include file="orderforms/standard_cart/sidebar-categories-collapsed.tpl"}
<form method="post" action="{$smarty.server.PHP_SELF}?a=confdomains" id="frmConfigureDomains">
<input type="hidden" name="update" value="true" />
<p>{$LANG.orderForm.reviewDomainAndAddons}</p>
{if $errormessage}
<div class="alert alert-danger" role="alert">
<p>{$LANG.orderForm.correctErrors}:</p>
<ul>
{$errormessage}
</ul>
</div>
{/if}
{foreach $domains as $num => $domain}
<div class="sub-heading">
<span class="primary-bg-color">{$domain.domain}</span>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label>{$LANG.orderregperiod}</label>
<br />
{$domain.regperiod} {$LANG.orderyears}
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label>{$LANG.hosting}</label>
<br />
{if $domain.hosting}<span style="color:#009900;">[{$LANG.cartdomainshashosting}]</span>{else}<a href="{$WEB_ROOT}/cart.php" style="color:#cc0000;">[{$LANG.cartdomainsnohosting}]</a>{/if}
</div>
</div>
{if $domain.eppenabled}
<div class="col-sm-12">
<div class="form-group prepend-icon">
<input type="text" name="epp[{$num}]" id="inputEppcode{$num}" value="{$domain.eppvalue}" class="field" placeholder="{$LANG.domaineppcode}" />
<label for="inputEppcode{$num}" class="field-icon">
<i class="fas fa-lock"></i>
</label>
<span class="field-help-text">
{$LANG.domaineppcodedesc}
</span>
</div>
</div>
{/if}
</div>
{if $domain.dnsmanagement || $domain.emailforwarding || $domain.idprotection}
<div class="row addon-products">
{if $domain.dnsmanagement}
<div class="col-sm-{math equation="12 / numAddons" numAddons=$domain.addonsCount} mb-3">
<div class="panel panel-default panel-addon{if $domain.dnsmanagementselected} panel-addon-selected{/if}">
<div class="panel-body">
<label>
<input type="checkbox" name="dnsmanagement[{$num}]"{if $domain.dnsmanagementselected} checked{/if} />
{$LANG.domaindnsmanagement}
</label><br />
{$LANG.domainaddonsdnsmanagementinfo}
</div>
<div class="panel-price">
{$domain.dnsmanagementprice} / {$domain.regperiod} {$LANG.orderyears}
</div>
<div class="panel-add">
<i class="fas fa-plus"></i>
{$LANG.orderForm.addToCart}
</div>
</div>
</div>
{/if}
{if $domain.idprotection}
<div class="col-sm-{math equation="12 / numAddons" numAddons=$domain.addonsCount} mb-3">
<div class="panel panel-default panel-addon{if $domain.idprotectionselected} panel-addon-selected{/if}">
<div class="panel-body">
<label>
<input type="checkbox" name="idprotection[{$num}]"{if $domain.idprotectionselected} checked{/if} />
{$LANG.domainidprotection}
</label><br />
{$LANG.domainaddonsidprotectioninfo}
</div>
<div class="panel-price">
{$domain.idprotectionprice} / {$domain.regperiod} {$LANG.orderyears}
</div>
<div class="panel-add">
<i class="fas fa-plus"></i>
{$LANG.orderForm.addToCart}
</div>
</div>
</div>
{/if}
{if $domain.emailforwarding}
<div class="col-sm-{math equation="12 / numAddons" numAddons=$domain.addonsCount} mb-3">
<div class="panel panel-default panel-addon{if $domain.emailforwardingselected} panel-addon-selected{/if}">
<div class="panel-body">
<label>
<input type="checkbox" name="emailforwarding[{$num}]"{if $domain.emailforwardingselected} checked{/if} />
{$LANG.domainemailforwarding}
</label><br />
{$LANG.domainaddonsemailforwardinginfo}
</div>
<div class="panel-price">
{$domain.emailforwardingprice} / {$domain.regperiod} {$LANG.orderyears}
</div>
<div class="panel-add">
<i class="fas fa-plus"></i>
{$LANG.orderForm.addToCart}
</div>
</div>
</div>
{/if}
</div>
{/if}
{foreach from=$domain.fields key=domainfieldname item=domainfield}
<div class="form-group row">
<div class="col-sm-4 text-sm-right"">{$domainfieldname}:</div>
<div class="col-sm-8">{$domainfield}</div>
</div>
{/foreach}
{/foreach}
{if $atleastonenohosting}
<div class="sub-heading">
<span class="primary-bg-color">{$LANG.domainnameservers}</span>
</div>
<p>{$LANG.cartnameserversdesc}</p>
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<label for="inputNs1">{$LANG.domainnameserver1}</label>
<input type="text" class="form-control" id="inputNs1" name="domainns1" value="{$domainns1}" />
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="inputNs2">{$LANG.domainnameserver2}</label>
<input type="text" class="form-control" id="inputNs2" name="domainns2" value="{$domainns2}" />
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="inputNs3">{$LANG.domainnameserver3}</label>
<input type="text" class="form-control" id="inputNs3" name="domainns3" value="{$domainns3}" />
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="inputNs1">{$LANG.domainnameserver4}</label>
<input type="text" class="form-control" id="inputNs4" name="domainns4" value="{$domainns4}" />
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="inputNs5">{$LANG.domainnameserver5}</label>
<input type="text" class="form-control" id="inputNs5" name="domainns5" value="{$domainns5}" />
</div>
</div>
</div>
{/if}
<div class="text-center pt-4">
<button type="submit" class="btn btn-primary btn-lg">
{$LANG.continue}
<i class="fas fa-arrow-circle-right"></i>
</button>
</div>
</form>
</div>
</div>
</div>
{include file="orderforms/standard_cart/recommendations-modal.tpl"}