|
88 | 88 | printHeader();
|
89 | 89 | ?>
|
90 | 90 |
|
91 |
| - <form action='<?=$PHP_SELF?>' method=post> |
| 91 | + <form action='<?php echo $PHP_SELF?>' method=post> |
92 | 92 | <input type=submit name=submit value='Go Back'>
|
93 |
| - <font color=#ff0000><?=$er?></font> |
| 93 | + <font color=#ff0000><?php echo $er?></font> |
94 | 94 | <br><input type=submit name=submit value='Go Back'>
|
95 | 95 |
|
96 |
| - <? |
| 96 | + <?php |
97 | 97 | print $hidden_fields;
|
98 | 98 | print "</form>";
|
99 | 99 |
|
|
122 | 122 | </td>
|
123 | 123 |
|
124 | 124 | <td>
|
125 |
| - <? |
| 125 | + <?php |
126 | 126 | print htvar($common_name) . '<br>';
|
127 | 127 | print htvar($email) . '<br>';
|
128 | 128 | print htvar($organization) . '<br>';
|
|
139 | 139 | </tr></table>
|
140 | 140 |
|
141 | 141 | <h4>Are you sure?</h4>
|
142 |
| - <p><form action='<?=$PHP_SELF?>' method=post> |
143 |
| - <?= $hidden_fields ?> |
| 142 | + <p><form action='<?php echo $PHP_SELF?>' method=post> |
| 143 | + <?php echo $hidden_fields ?> |
144 | 144 | <input type=hidden name=form_stage value=final>
|
145 | 145 | <input type=submit name=submit value='Yes! Create and Download' >
|
146 | 146 | <input type=submit name=submit value='Go Back'>
|
147 | 147 | </form>
|
148 | 148 |
|
149 |
| - <? |
| 149 | + <?php |
150 | 150 | printFooter();
|
151 | 151 |
|
152 | 152 | # Save user's defaults
|
|
174 | 174 | printHeader();
|
175 | 175 |
|
176 | 176 | ?>
|
177 |
| - <form action=<?=$PHP_SELF?> method=post> |
| 177 | + <form action=<?php echo $PHP_SELF?> method=post> |
178 | 178 | <font color=#ff0000>
|
179 | 179 | <h2>There was an error creating your certificate.</h2></font><br>
|
180 | 180 | <blockquote>
|
181 | 181 | <h3>Debug Info:</h3>
|
182 |
| - <pre><?=$errtxt?></pre> |
| 182 | + <pre><?php echo $errtxt?></pre> |
183 | 183 | </blockquote>
|
184 | 184 | <p>
|
185 |
| - <?=$hidden_fields?> |
| 185 | + <?php echo $hidden_fields?> |
186 | 186 | <input type=submit name=submit value=Back>
|
187 | 187 | <p>
|
188 | 188 | </form>
|
189 |
| - <? |
| 189 | + <?php |
190 | 190 |
|
191 | 191 | printFooter();
|
192 | 192 | break;
|
|
231 | 231 | printHeader();
|
232 | 232 | ?>
|
233 | 233 | <body onLoad="self.focus();document.request.common_name.focus()">
|
234 |
| - <form action="<?=$PHP_SELF?>" method=post name=request> |
| 234 | + <form action="<?php echo $PHP_SELF?>" method=post name=request> |
235 | 235 | <table width=99%>
|
236 | 236 | <th colspan=2><h3>Certificate Request Form</h3></th>
|
237 | 237 |
|
238 | 238 | <tr>
|
239 | 239 | <td width=30%>Common Name<br>(i.e. User real name or computer hostname) </td>
|
240 |
| - <td><input type=text name=common_name value="<?= htvar($common_name)?>" size=50 maxlength=60></td> |
| 240 | + <td><input type=text name=common_name value="<?php echo htvar($common_name)?>" size=50 maxlength=60></td> |
241 | 241 | </tr>
|
242 | 242 |
|
243 | 243 | <tr>
|
244 | 244 | <td>E-mail Address </td>
|
245 |
| - <td><input type=text name=email value="<?=htvar($email)?>" size=50 maxlength=60></td> |
| 245 | + <td><input type=text name=email value="<?php echo htvar($email)?>" size=50 maxlength=60></td> |
246 | 246 | </tr>
|
247 | 247 |
|
248 | 248 | <tr>
|
249 | 249 | <td>Organization (Company/Agency)</td>
|
250 |
| - <td><input type=text name=organization value="<?=htvar($organization)?>" size=60 maxlength=60></td> |
| 250 | + <td><input type=text name=organization value="<?php echo htvar($organization)?>" size=60 maxlength=60></td> |
251 | 251 | </tr>
|
252 | 252 |
|
253 | 253 | <tr>
|
254 |
| - <td>Department/Unit </td><td><input type=text name=unit value="<?= htvar($unit) ?>" size=40 maxlength=60></td> |
| 254 | + <td>Department/Unit </td><td><input type=text name=unit value="<?php echo htvar($unit) ?>" size=40 maxlength=60></td> |
255 | 255 | </tr>
|
256 | 256 |
|
257 | 257 | <tr>
|
258 |
| - <td>Locality (City/County)</td><td><input type=text name=locality value="<?= htvar($locality) ?>" size=30 maxlength=30></td> |
| 258 | + <td>Locality (City/County)</td><td><input type=text name=locality value="<?php echo htvar($locality) ?>" size=30 maxlength=30></td> |
259 | 259 | </tr>
|
260 | 260 |
|
261 | 261 | <tr>
|
262 |
| - <td>State/Province</td><td><input type=text name=province value="<?= htvar($province) ?>" size=30 maxlength=30></td> |
| 262 | + <td>State/Province</td><td><input type=text name=province value="<?php echo htvar($province) ?>" size=30 maxlength=30></td> |
263 | 263 | </tr>
|
264 | 264 |
|
265 | 265 | <tr>
|
266 | 266 | <td>Country</td>
|
267 |
| - <td><input type=text name=country value="<?= htvar($country) ?>" size=2 maxlength=2></td> |
| 267 | + <td><input type=text name=country value="<?php echo htvar($country) ?>" size=2 maxlength=2></td> |
268 | 268 | </tr>
|
269 | 269 |
|
270 | 270 | <tr>
|
271 | 271 | <td>Certificate Password </td>
|
272 |
| - <td><input type=password name=passwd value="<?= htvar($passwd) ?>" size=30> Again <input type=password name=passwdv value="<?= htvar($passwdv) ?>" size=30></td> |
| 272 | + <td><input type=password name=passwd value="<?php echo htvar($passwd) ?>" size=30> Again <input type=password name=passwdv value="<?php echo htvar($passwdv) ?>" size=30></td> |
273 | 273 | </tr>
|
274 | 274 |
|
275 | 275 | <tr>
|
276 | 276 | <td>Certificate Life </td>
|
277 | 277 | <td><select name=expiry>
|
278 |
| - <? |
| 278 | + <?php |
279 | 279 |
|
280 | 280 | print "<option value=0.083 " . ($expiry == 1 ? "selected='selected'" : "") . " >1 Month</option>\n" ;
|
281 | 281 | print "<option value=0.25 " . ($expiry == 1 ? "selected='selected'" : "") . " >3 Months</option>\n" ;
|
|
305 | 305 | <tr>
|
306 | 306 | <td>Certificate Use: </td>
|
307 | 307 | <td><select name=cert_type>
|
308 |
| - <? |
| 308 | + <?php |
309 | 309 | print '<option value="email" '.($cert_type=='email'?'selected':'').'>E-mail, SSL Client</option>';
|
310 | 310 | print '<option value="email_signing" '.($cert_type=='email_signing'?'selected':'').'>E-mail, SSL Client, Code Signing</option>';
|
311 | 311 | print '<option value="server" '.($cert_type=='server'?'selected':'').'>SSL Server</option>';
|
|
322 | 322 | </tr>
|
323 | 323 | </table>
|
324 | 324 | </form>
|
325 |
| - <? |
| 325 | + <?php |
326 | 326 |
|
327 | 327 | printFooter();
|
328 | 328 | }
|
|
0 commit comments