forked from WHMCS/templates-six
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuressl-stepone.tpl
167 lines (134 loc) · 7.62 KB
/
configuressl-stepone.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
{if !$status}
{include file="$template/includes/alert.tpl" type="warning" msg=$LANG.sslinvalidlink textcenter=true}
<p class="text-center"><input type="button" value="{$LANG.clientareabacklink}" onclick="history.go(-1)" class="btn btn-primary" /></p>
{else}
{if $errormessage}
{include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage}
{/if}
{if $status eq "Awaiting Configuration"}
<form method="post" action="{$smarty.server.PHP_SELF}?cert={$cert}&step=2">
{include file="$template/includes/subheader.tpl" title=$LANG.sslserverinfo}
<p>{$LANG.sslserverinfodetails}</p>
<div class="form-group">
<label for="inputServerType">{$LANG.sslservertype}</label>
<select name="servertype" id="inputServerType" class="form-control">
<option value="" selected>{$LANG.pleasechooseone}</option>
{foreach from=$webservertypes key=webservertypeid item=webservertype}
<option value="{$webservertypeid}"{if $servertype eq $webservertypeid} selected{/if}>
{$webservertype}
</option>
{/foreach}
</select>
</div>
<div class="form-group">
<label for="inputCsr">{$LANG.sslcsr}</label>
<textarea name="csr" id="inputCsr" rows="7" class="form-control">{if $csr}{$csr}{else}-----BEGIN CERTIFICATE REQUEST-----
-----END CERTIFICATE REQUEST-----{/if}</textarea>
</div>
{foreach from=$additionalfields key=heading item=fields}
<p><strong>{$heading}</strong></p>
<fieldset class="form-horizontal">
{foreach from=$fields item=vals}
<div class="form-group">
<label class="col-md-4 control-label" for="inputAdditionalField">{$vals.name}</label>
<div class="col-md-8">
{$vals.input} {$vals.description}
</div>
</div>
{/foreach}
</fieldset>
{/foreach}
{include file="$template/includes/subheader.tpl" title=$LANG.ssladmininfo}
<p>{$LANG.ssladmininfodetails}</p>
<fieldset class="form-horizontal">
<div class="form-group">
<label class="col-sm-4 control-label" for="inputFirstName">{$LANG.clientareafirstname}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="firstname" id="inputFirstName" value="{$firstname}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputLastName">{$LANG.clientarealastname}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="lastname" id="inputLastName" value="{$lastname}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputOrgName">{$LANG.organizationname}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="orgname" id="inputOrgName" value="{$orgname}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputJobTitle">{$LANG.jobtitle}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="jobtitle" id="inputJobTitle" value="{$jobtitle}" />
<p class="help-block">{$LANG.jobtitlereqforcompany}</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputEmail">{$LANG.clientareaemail}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="email" id="inputEmail" value="{$email}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputAddress1">{$LANG.clientareaaddress1}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="address1" id="inputAddress1" value="{$address1}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputAddress2">{$LANG.clientareaaddress2}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="address2" id="inputAddress2" value="{$address2}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputCity">{$LANG.clientareacity}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="city" id="inputCity" value="{$city}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputState">{$LANG.clientareastate}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="state" id="inputState" value="{$state}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputPostcode">{$LANG.clientareapostcode}</label>
<div class="col-sm-8">
<input type="text" class="form-control" name="postcode" id="inputPostcode" value="{$postcode}" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputCountry">{$LANG.clientareacountry}</label>
<div class="col-sm-8">
<select name="country" id="inputCountry" class="form-control">
{foreach from=$clientcountries item=thisCountryName key=thisCountryCode}
<option value="{$thisCountryCode}" {if $thisCountryCode eq $country}selected="selected"{/if}>{$thisCountryName}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="inputPhoneNumber">{$LANG.clientareaphonenumber}</label>
<div class="col-sm-8">
<input type="tel" class="form-control" name="phonenumber" id="inputPhoneNumber" value="{$phonenumber}" />
</div>
</div>
</fieldset>
<p class="text-center">
<input type="submit" value="{$LANG.ordercontinuebutton}" class="btn btn-primary" />
</p>
</form>
{else}
{include file="$template/includes/alert.tpl" type="info" msg=$LANG.sslnoconfigurationpossible textcenter=true}
<form method="post" action="clientarea.php?action=productdetails">
<input type="hidden" name="id" value="{$serviceid}" />
<p>
<input type="submit" value="{$LANG.invoicesbacktoclientarea}" class="btn btn-default" /></p>
</form>
{/if}
{/if}