html = ob_get_contents(); ob_end_clean(); return MAIL::send($mail,$html,$object); } public static function send($mail,$html,$subject){ if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail
Html->script('tiny_mce/tiny_mce.js',array('inline'=>false)); ?> tinyMCE.init({ mode : "textareas", theme: "advanced", plugins : "inlinepopups,paste,image", theme_advanced_buttons1 : 'bold,italic,underline,|,bullist
Html->script('bootstrap.js'); ?> et mon header la ou je veux utilisé le dropdown
html .= ' '; }elseif($options'type'] == 'textarea'){ $html .= ' '.$this->controller->request->data->$name.' '; }elseif($options'type'] == 'checkbox'){ $html .= ' '; } $html .= ' '; return $html; } } et voici l'erreur que j'ai: Notice: Trying to get property
options as $k => $v) { if ($k!='type') { # code... $attr .= " $k=\"$v\""; } } if (!isset($options'type'])) { $html .=' '; }elseif ($options'type']=='textarea') { $html .=' '.$this->controller->request->data->$name.' '; }elseif ($options'type']=='checkbox') { $html .=' '; } $html .=' '; return $html; } }
Html->link( 'Ajouter un Animal', array('controller' => 'animaux', 'action' => 'add') ); ?>
html issue d'une vue créer pour l'occasion. ``` $.ajax({ url: "/pages/projets", data: { page: currentPage, categorie: $(this).val() }, dataType: 'html', type: 'get', success: function (html) { $(".list-projet").html(html); } }) ``` Jusque
html .= ' '; }elseif($options['type'] == 'textarea'){ $html .= ' '.$value.' '; }elseif($options['type'] == 'checkbox'){ $html .= ' Mettre en ligne '; } $html .= ' '; return $html; } } ``` PostsController: ```
Html->image("icons/add_message.png",array('alt'=>'Add Message','url' => array('controller' => 'story', 'action' => 'addmessage', $storyAuthor'stories']'id'])));?>
html: html{ height: 100%; } Dans ma tête, je me suis dit que la balise html étant la balise contenant tout mon html et n'ayant pas de balise parent, c'est 100% de quelquechose