]> WPIA git - gigi.git/commitdiff
Create "codesign" if-statement in Mail-cert template.
authorFelix Dörre <felix@dogcraft.de>
Sat, 12 Jul 2014 14:20:36 +0000 (16:20 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sat, 12 Jul 2014 14:20:36 +0000 (16:20 +0200)
src/org/cacert/gigi/pages/account/MailCertificateAdd.templ

index e974bec520c94502368575677dcaa807418d3dcf..51a7e6958f73fa262a4aea09a02db2d7fbe6ef77 100644 (file)
@@ -78,7 +78,7 @@
     </td>
   </tr>
 
-<!-- if codesign -->
+<? if($codesign) { ?>
   <tr class="expert">
     <td>
       <input type="checkbox" id="codesign" name="codesign" value="1" />
@@ -88,7 +88,7 @@
       <?=_Please note: By ticking this box you will automatically have your name included in the certificate.?></label>
     </td>
   </tr>
-<!-- if codesign -->
+<? } ?>
 
   <tr class="expert">
     <td>