module config et role webmaster
[mtweb] / mw / app / out / default / views / forms / contact / index.php
index 147c044..659a7fb 100644 (file)
@@ -1,7 +1,9 @@
 <form action="<?php echo $this->url("forms/contact"); ?>" method="post">
   <fieldset>
     <legend>Contact</legend>
+    <?php if($this->config("captcha")) : ?>
     <?php echo PtitCaptchaHelper::generateHiddenTags(); ?>
+    <?php endif; ?>
     <ul>
       <li>
         <label for="email">email</label>