Fixed undefined var in admin/home.tpl

This commit is contained in:
Li Chen 2013-12-01 00:24:53 +01:00
parent 32bb0163c1
commit c067f6dbbe

View File

@ -16,7 +16,7 @@
<li><strong>[emailAddress] :</strong> {$cert['subject']['emailAddress']}</li>
</ul>
<a href="/{$SALT_ADMIN}/certificate/deleteca" class="btn btn-danger">Supprimer</a>
{elseif ! $cert_writable}
{elseif isset($cert_writable) && ! $cert_writable}
<div class="alert alert-danger"><span class="glyphicon glyphicon-warning-sign"></span> Répertoire non accessible en écriture.</div>
<a href="/{$SALT_ADMIN}/certificate/newca" class="btn btn-primary" disabled="disabled">Nouveau</a>
{else}