-
Notifications
You must be signed in to change notification settings - Fork 56
/
configuressl-stepone.tpl
189 lines (172 loc) · 5.36 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<div class="page-header">
<h1>{$LANG.sslconfsslcertificate}</h1>
</div>
{if !$status}
<p>{$LANG.sslinvalidlink}</p>
<input type="button" value="{$LANG.clientareabacklink}" class="btn" onclick="history.go(-1)">
{else}
{if $errormessage}
<div class="alert alert-error">
<h4 class="alert-heading">{$LANG.clientareaerrors}</h4>
<ul>
{$errormessage}
</ul>
</div>
{/if}
<div class="page-header">
<h2>{$LANG.sslcertinfo}</h2>
</div>
<ul class="thumbnails">
<li class="span6">
<h4>{$LANG.sslcerttype}:</h4>
{$certtype}
</li>
<li class="span6">
<h4>{$LANG.sslorderdate}:</h4>
{$date}
</li>
{if $domain}
<li class="span6">
<h4>{$LANG.domainname}:</h4>
{$domain}
</li>
{/if}
<li class="span6">
<h4>{$LANG.orderprice}:</h4>
{$price}
</li>
<li class="span6">
<h4>{$LANG.sslstatus}:</h4>
{$status}
</li>
{foreach from=$displaydata key=displaydataname item=displaydatavalue}
<li class="span6">
<h4>{$displaydataname}:</h4>
{$displaydatavalue}
</li>
{/foreach}
</ul>
{if $status eq "Awaiting Configuration"}
<div class="page-header">
<h2>{$LANG.sslserverinfo}</h2>
</div>
<p>{$LANG.sslserverinfodetails}</p>
<form method="post" action="configuressl.php?cert={$cert}&step=2" class="form-horizontal">
<div class="control-group">
<label class="control-label" for="servertype">{$LANG.sslservertype}</label>
<div class="controls">
<select name="servertype" id="servertype">
<option value="" selected>{$LANG.pleasechooseone}</option>
{foreach from=$webservertypes key=webservertypeid item=webservertype}
<option value="{$webservertypeid}"{if $servertype eq $webservertypeid} selected="selected"{/if}>{$webservertype}</option>
{/foreach}
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="csr">{$LANG.sslcsr}</label>
<div class="controls">
<textarea name="csr" id="csr" rows="7" class="span6">-----BEGIN CERTIFICATE REQUEST-----
-----END CERTIFICATE REQUEST-----</textarea>
</div>
</div>
{foreach from=$additionalfields key=heading item=fields}
<h3>{$heading}</h3>
{foreach from=$fields item=vals}
<div class="control-group">
<label class="control-label">{$vals.name}</label>
<div class="controls">
{$vals.input}
<span class="inline-help">{$vals.description}</span>
</div>
</div>
{/foreach}
{/foreach}
<div class="page-header">
<h2>{$LANG.ssladmininfo}</h2>
</div>
<p>{$LANG.ssladmininfodetails}</p>
<div class="control-group">
<label class="control-label" for="firstname">{$LANG.clientareafirstname}</label>
<div class="controls">
<input type="text" name="firstname" id="firstname" value="{$firstname}">
</div>
</div>
<div class="control-group">
<label class="control-label" for="lastname">{$LANG.clientarealastname}</label>
<div class="controls">
<input type="text" name="lastname" id="lastname" value="{$lastname}">
</div>
</div>
<div class="control-group">
<label class="control-label" for="orgname">{$LANG.organizationname}</label>
<div class="controls">
<input type="text" name="orgname" id="orgname" value="{$orgname}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="jobtitle">{$LANG.jobtitle}</label>
<div class="controls">
<input type="text" name="jobtitle" id="jobtitle" value="{$jobtitle}" /> {$LANG.jobtitlereqforcompany}
</div>
</div>
<div class="control-group">
<label class="control-label" for="email">{$LANG.clientareaemail}</label>
<div class="controls">
<input type="text" name="email" id="email" value="{$email}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="address1">{$LANG.clientareaaddress1}</label>
<div class="controls">
<input type="text" name="address1" id="address1" value="{$address1}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="address2">{$LANG.clientareaaddress2}</label>
<div class="controls">
<input type="text" name="address2" id="address2" value="{$address2}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="city">{$LANG.clientareacity}</label>
<div class="controls">
<input type="text" name="city" id="city" value="{$city}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="state">{$LANG.clientareastate}</label>
<div class="controls">
<input type="text" name="state" id="state" value="{$state}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="postcode">{$LANG.clientareapostcode}</label>
<div class="controls">
<input type="text" name="postcode" id="postcode" value="{$postcode}" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="country">{$LANG.clientareacountry}</label>
<div class="controls">
{$countriesdropdown}
</div>
</div>
<div class="control-group">
<label class="control-label" for="phonenumber">{$LANG.clientareaphonenumber}</label>
<div class="controls">
<input type="text" name="phonenumber" id="phonenumber" value="{$phonenumber}" />
</div>
</div>
<div class="form-actions">
<input type="submit" value="{$LANG.ordercontinuebutton}" class="btn btn-primary">
</div>
</form>
{else}
<form method="post" action="clientarea.php">
<input type="hidden" name="action" value="productdetails">
<input type="hidden" name="id" value="{$serviceid}">
<input type="submit" value="{$LANG.invoicesbacktoclientarea}" class="btn">
</form>
{/if}
{/if}