| 54 | | echo $html->formTag('/comentnews/add/','post', array("onsubmit"=>"return validateNew()")); |
| 55 | | echo $html->hiddenTag('Comentnews/new_id', $data['News']['id']); |
| 56 | | echo $html->hiddenTag('Comentnews/level', 1); |
| 57 | | echo $html->hiddenTag('Comentnews/comentnew_id', 1); |
| | 54 | echo $html->formTag('/commentnews/add/','post', array("onsubmit"=>"return validateNew()")); |
| | 55 | echo $html->hiddenTag('Commentnews/new_id', $data['News']['id']); |
| | 56 | echo $html->hiddenTag('Commentnews/level', 1); |
| | 57 | echo $html->hiddenTag('Commentnews/comentnew_id', 1); |
| 73 | | echo $html->hiddenTag('Comentnews/user_id', 0); |
| 74 | | echo $html->input('Comentnews/name', array("size" => 25, "maxlength" => 50)); |
| 75 | | echo $form->labelTag( 'Comentnews/name', ' Nombre (requerido)' ); |
| 76 | | echo $html->tagErrorMsg('Comentnews/name', 'Name is required.'); |
| | 73 | echo $html->hiddenTag('Commentnews/user_id', 0); |
| | 74 | echo $html->input('Commentnews/name', array("size" => 25, "maxlength" => 50)); |
| | 75 | echo $form->labelTag( 'Commentnews/name', ' Nombre (requerido)' ); |
| | 76 | echo $html->tagErrorMsg('Commentnews/name', 'Name is required.'); |
| 84 | | <?php echo $form->labelTag( 'Comentnews/comment', 'Comentario:' );?><br /> |
| 85 | | <?php echo $html->textarea('Comentnews/comment', array("cols"=>70, "rows"=>10)) ?> |
| 86 | | <?php echo $html->tagErrorMsg('Comentnews/comment', 'Comment is required.'); ?> |
| | 84 | <?php echo $form->labelTag( 'Commentnews/comment', 'Comentario:' );?><br /> |
| | 85 | <?php echo $html->textarea('Commentnews/comment', array("cols"=>70, "rows"=>10)) ?> |
| | 86 | <?php echo $html->tagErrorMsg('Commentnews/comment', 'Comment is required.'); ?> |