?>
</td>
                      </tr>
                  </table>
                </td>
                <td>
<?php 
        if (is_cert_revoked($cert)) {
            ?>
                  <b><?php 
            echo gettext('Revoked');
            ?>
</b><br />
<?php 
        }
        if (is_webgui_cert($cert['refid'])) {
            ?>
                  <?php 
            echo gettext('webConfigurator');
            ?>
<br />
<?php 
        }
        if (is_user_cert($cert['refid'])) {
            ?>
                  <?php 
            echo gettext('User Cert');
            ?>
<br />
<?php 
        }
Exemple #2
0
					CA: <b><?=$purpose['ca']?></b>, Server: <b><?=$purpose['server']?></b>
				<?php endif?>
			</td>
			<td><?=$caname?></td>
			<td>
				<?=$subj?>
				<br />
				<small>
					<?=gettext("Valid From")?>: <b><?=$startdate ?></b><br /><?=gettext("Valid Until")?>: <b><?=$enddate ?></b>
				</small>
			</td>
			<td>
				<?php if (is_cert_revoked($cert)): ?>
					<i>Revoked </i>
				<?php endif?>
				<?php if (is_webgui_cert($cert['refid'])): ?>
					webConfigurator
				<?php endif?>
				<?php if (is_user_cert($cert['refid'])): ?>
					User Cert
				<?php endif?>
				<?php if (is_openvpn_server_cert($cert['refid'])): ?>
					OpenVPN Server
				<?php endif?>
				<?php if (is_openvpn_client_cert($cert['refid'])): ?>
					OpenVPN Client
				<?php endif?>
				<?php if (is_ipsec_cert($cert['refid'])): ?>
					IPsec Tunnel
				<?php endif?>
				<?php if (is_captiveportal_cert($cert['refid'])): ?>