Example #1
0
    <h1>Certificates list</h1>
    <p><a href="create" class="btn-new">Issue new certificate</a></p>
</div>

<table>
    <thead>
    <tr>
        <th>Domain (CN)</th>
        <th>Other domains (SAN)</th>
        <th>Expiration</th>
        <th></th>
    </tr>
    </thead>
    <tbody>
    <?php 
foreach ($ch->getAll() as $certificate) {
    ?>
    <tr>
        <th>
            <a href="detail?domain=<?php 
    e($certificate->getName());
    ?>
">
                <?php 
    e($certificate->getName());
    ?>
            </a>
        </th>
        <td><?php 
    e(mb_strimwidth(join(", ", $certificate->getSAN()), 0, 40, '...'));
    ?>