Changeset 406
- Timestamp:
- 04/16/08 12:28:48 (9 months ago)
- Location:
- trunk/app
- Files:
-
- 3 modified
-
config/core.php (modified) (1 diff)
-
controllers/discussions_controller.php (modified) (1 diff)
-
views/news/view.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config/core.php
r388 r406 14 14 * In development mode, you need to click the flash message to continue. 15 15 */ 16 Configure::write('debug', 1);16 Configure::write('debug', 2); 17 17 /** 18 18 * Application wide charset encoding -
trunk/app/controllers/discussions_controller.php
r405 r406 20 20 public $helpers = array('Ajax', 'Time', 'Gags'); 21 21 22 //public $components = array('Captcha');22 public $components = array('Captcha'); 23 23 24 24 public function beforeFilter() -
trunk/app/views/news/view.ctp
r404 r406 71 71 echo $form->hidden('Discussion.user_id', array('value'=> 0)); 72 72 echo $form->input('Discussion.name', array('size'=> 25, 'maxlength' => 40)); 73 echo '<br /><br /> <img src="'. $html->url('/discussions/captcha') .'" alt="Captcha" title="Captcha" /> <br />';74 echo $form->input('Discussion.captcha', array("size" => 6, "maxlength" => 6));75 echo $form->label('Discussion.captcha', 'Introduce el código, todas la letras son minúsculas' );73 // echo '<br /><br /> <img src="'. $html->url('/discussions/captcha') .'" alt="Captcha" title="Captcha" /> <br />'; 74 //echo $form->input('Discussion.captcha', array("size" => 6, "maxlength" => 6)); 75 //echo $form->label('Discussion.captcha', 'Introduce el código, todas la letras son minúsculas' ).'<br />'; 76 76 endif; 77 77
