no captcha yet

This commit is contained in:
Claude 2012-06-06 14:48:38 +02:00
parent 6ff92a83e3
commit c21d6c3f5a

View File

@ -101,20 +101,7 @@
<?php if($reply){?> <?php if($reply){?>
<input type="hidden" value="<?php echo $reply; ?>" name="reply" /> <input type="hidden" value="<?php echo $reply; ?>" name="reply" />
<?php }?> <?php }?>
<?php
$this->load->helper('captcha');
$vals = array(
'img_path' => './static/asset/',
'img_url' => site_url('static/asset') . '/',
// 'font_path' => './path/to/fonts/texb.ttf',
'img_width' => '150',
'img_height' => 30,
'expiration' => 7200
);
$cap = create_captcha($vals);
echo $cap['image'];
?>
<div><button type="submit" value="submit" name="submit">Create</button></div> <div><button type="submit" value="submit" name="submit">Create</button></div>
<div class="spacer"></div> <div class="spacer"></div>
</form> </form>