Html->image("icons/add_message.png",array('alt'=>'Add Message','url' => array('controller' => 'story', 'action' => 'addmessage', $storyAuthor'stories']'id'])));?>
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('Me rappeller mon mot de passe',$this->Html->url($link,true)); ?> et voici celui de l'activation: Bonjour Pour activer ce compte suivez le lien
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_entities($var); } if(is_array($var)) return (object) array_map( __FUNCTION__ , Html_entities($var)); return (object) Html_entities($var); } /** * * **/ function Html_entities($var){ if(!is_callable('filter_var')){ if(is_array
Html->script('tiny_mce/tiny_mce',array('inline'=>false)); ?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins:'inlinepopups,paste,image', theme_advanced_buttons1:'bold,italic,underline,|,bullist
html> par J'utilise donc la fonction replace : $(this).html($(this).html().replace(' ', ' ')); Je me demandais s'il était possible d'utiliser des expressions régulières, du style : $(this).html($(this
html .= $startWrap; while ($allPosts->have_posts()) { $allPosts->the_post(); $post = new Post(get_the_ID(), $this->excerptCharacterNumber, $this->excerptOverflow, $this->dateFormat, $this->template); $html .= $post->display(); } if (!empty($endWrap)) $html
html .= ' '; }elseif($options'type'] == 'textarea'){ $html .= ' '.$this->controller->request->data->$name.' '; }elseif($options'type'] == 'checkbox'){ $html .= ' '; } $html .= ' '; return $html; } } ?> et voici le code de ma fonction dans mon controller : function
html', data: $form.serialize() }).then(function (data) { $("#affiche_mess").html(data); // Mise à jour des messages $.ajax({ url: '/fiche_cli/liste_profil.php', method: 'GET', dataType: 'html', data: $form.serialize() }).then(function (data) { $("#list_profil").html