Remove unnecessary <td> and tidy code
This commit is contained in:
@@ -69,18 +69,18 @@ case 'dl-confirm':
|
|||||||
<h3><font color=red>DO NOT DISTRIBUTE THIS FILE TO THE PUBLIC!</font></h3>
|
<h3><font color=red>DO NOT DISTRIBUTE THIS FILE TO THE PUBLIC!</font></h3>
|
||||||
<form action="<?php echo $PHP_SELF.'?stage=download&serial='.$serial.'&'.$qstr_sort.'&'.$qstr_filter?>" method=post>
|
<form action="<?php echo $PHP_SELF.'?stage=download&serial='.$serial.'&'.$qstr_sort.'&'.$qstr_filter?>" method=post>
|
||||||
<strong>File type: </strong>
|
<strong>File type: </strong>
|
||||||
<td><select name=dl_type>
|
<select name=dl_type>
|
||||||
<option value="PKCS#12">PKCS#12 Bundle</option>
|
<option value="PKCS#12">PKCS#12 Bundle</option>
|
||||||
<option value="PEMCERT">PEM Certificate</option>
|
<option value="PEMCERT">PEM Certificate</option>
|
||||||
<option value="PEMKEY">PEM Key</option>
|
<option value="PEMKEY">PEM Key</option>
|
||||||
<option value="PEMBUNDLE">PEM Bundle</option>
|
<option value="PEMBUNDLE">PEM Bundle</option>
|
||||||
<option value="PEMCABUNDLE">PEM Bundle w/Root</option>
|
<option value="PEMCABUNDLE">PEM Bundle w/Root</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<input type=submit name=submit value="Download">
|
<input type=submit name=submit value="Download">
|
||||||
or
|
or
|
||||||
<input type=submit name=submit value="Go Back">
|
<input type=submit name=submit value="Go Back">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@@ -117,7 +117,7 @@ case 'revoke-form':
|
|||||||
printHeader('ca');
|
printHeader('ca');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h4>You are about to <font color=red>REVOKE</font> the following certificate:</hr>
|
<h4>You are about to <font color=red>REVOKE</font> the following certificate:<hr>
|
||||||
<table width=500><tr>
|
<table width=500><tr>
|
||||||
<td width=25% style='white-space: nowrap'>
|
<td width=25% style='white-space: nowrap'>
|
||||||
<p align=right>
|
<p align=right>
|
||||||
@@ -165,8 +165,7 @@ case 'revoke':
|
|||||||
print "<form action=\"$PHP_SELF?stage=revoke-form&serial=$serial&$qstr_sort&$qstr_filter\" method=post>";
|
print "<form action=\"$PHP_SELF?stage=revoke-form&serial=$serial&$qstr_sort&$qstr_filter\" method=post>";
|
||||||
?>
|
?>
|
||||||
<font color=#ff0000>
|
<font color=#ff0000>
|
||||||
<h2>There was an error revoking your certificate
|
<h2>There was an error revoking your certificate.</h2></font><br>
|
||||||
.</h2></font><br>
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<h3>Debug Info:</h3>
|
<h3>Debug Info:</h3>
|
||||||
<pre><?php echo $errtxt?></pre>
|
<pre><?php echo $errtxt?></pre>
|
||||||
@@ -204,7 +203,7 @@ case 'renew-form':
|
|||||||
|
|
||||||
printHeader('ca');
|
printHeader('ca');
|
||||||
?>
|
?>
|
||||||
<body onLoad="self.focus();document.form.passwd.focus()">
|
<body onLoad="self.focus();document.form.passwd.focus();">
|
||||||
|
|
||||||
<form action="<?php echo $PHP_SELF.'?'.$qstr_sort.'&'.$qstr_filter?>" method=post name=form>
|
<form action="<?php echo $PHP_SELF.'?'.$qstr_sort.'&'.$qstr_filter?>" method=post name=form>
|
||||||
<table width=99%>
|
<table width=99%>
|
||||||
@@ -265,11 +264,10 @@ case 'renew-form':
|
|||||||
</select></td>
|
</select></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td> </td>
|
||||||
<td>
|
<td>
|
||||||
<center><input type=submit name=submit value="Submit Request"> 
|
<input type=submit name=submit value="Submit Request"> 
|
||||||
<input type=submit name=submit value="Back"></center>
|
<input type=submit name=submit value="Back">
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input type=hidden name=stage value=renew>
|
<input type=hidden name=stage value=renew>
|
||||||
<input type=hidden name=serial value=<?php echo $serial?>>
|
<input type=hidden name=serial value=<?php echo $serial?>>
|
||||||
</td>
|
</td>
|
||||||
@@ -292,8 +290,8 @@ case 'renew':
|
|||||||
print "<form action=\"$PHP_SELF?stage=renew-form&serial=$serial&$qstr_sort&$qstr_filter\" method=post>";
|
print "<form action=\"$PHP_SELF?stage=renew-form&serial=$serial&$qstr_sort&$qstr_filter\" method=post>";
|
||||||
?>
|
?>
|
||||||
<font color=#ff0000>
|
<font color=#ff0000>
|
||||||
<h2>There was an error creating your certificate
|
<h2>There was an error creating your certificate.</h2>
|
||||||
.</h2></font><br>
|
</font><br>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<h3>Debug Info:</h3>
|
<h3>Debug Info:</h3>
|
||||||
<pre><?php echo $errtxt?></pre>
|
<pre><?php echo $errtxt?></pre>
|
||||||
@@ -315,14 +313,13 @@ default:
|
|||||||
printHeader('ca');
|
printHeader('ca');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<body onLoad="self.focus();document.filter.search.focus()">
|
<body onLoad="self.focus();document.filter.search.focus();">
|
||||||
<table>
|
<table>
|
||||||
<tr><th colspan=8><big>CERTIFICATE MANAGEMENT CONTROL PANEL</big></th></tr>
|
<tr><th colspan=8><big>CERTIFICATE MANAGEMENT CONTROL PANEL</big></th></tr>
|
||||||
<tr><td colspan=8><center>
|
<tr><td colspan=8><center>
|
||||||
<form action="<?php echo "$PHP_SELF?$qstr_sort"?>" method=get name=filter>
|
<form action="<?php echo "$PHP_SELF?$qstr_sort"?>" method=get name=filter>
|
||||||
Search: <input type=text name=search value="<?php echo htvar($search)?>" style="font-size: 11px;" maxlength=60 size=30>
|
Search: <input type=text name=search value="<?php echo htvar($search)?>" style="font-size: 11px;" maxlength=60 size=30>
|
||||||
      <input type=checkbox name=show_valid value="V" <?php echo ($show_valid?'checked'
|
      <input type=checkbox name=show_valid value="V" <?php echo ($show_valid?'checked':'')?>>Valid
|
||||||
:'')?>>Valid
|
|
||||||
  <input type=checkbox name=show_revoked value="R" <?php echo ($show_revoked?'checked':'')?>>Revoked
|
  <input type=checkbox name=show_revoked value="R" <?php echo ($show_revoked?'checked':'')?>>Revoked
|
||||||
  <input type=checkbox name=show_expired value="E" <?php echo ($show_expired?'checked':'')?>>Expired
|
  <input type=checkbox name=show_expired value="E" <?php echo ($show_expired?'checked':'')?>>Expired
|
||||||
     <input type=submit name=submit value="Apply Filter" style="font-size: 11px;">
|
     <input type=submit name=submit value="Apply Filter" style="font-size: 11px;">
|
||||||
|
Reference in New Issue
Block a user