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',array('inline'=>false)); ?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins:'inlinepopups,paste,image', theme_advanced_buttons1:'bold,italic,underline,|,bullist
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 .= ' '.$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.=' '; }elseif ($options['type']=='textarea') { $html.=' '.$this->controller->request->data->$name.' '; }elseif ($options['type']=='checkbox') { $html.=' '; } $html .=' '; return $html; } } ?>[/code] admin\_edit.php [code] # Editer Un Article
html .= ' '; }elseif($options['type'] == 'textarea'){ $html .= ' '.$value.' '; }elseif($options['type'] == 'checkbox'){ $html .= ' Mettre en ligne '; } $html .= ' '; return $html; } } ``` PostsController: ```
Html->scriptStart(); ?> $(document).ready(function() { $(".transition-panel").css("display", "none"); $(".transition-panel").fadeIn(1500); $("a.transition").click(function(event){ event.preventDefault(); linkLocation = this.href; $(".transition-panel").fadeOut(1000, function(){window.location = linkLocation;}); }); });
html(' '+position+' ').appendTo('#class'+i); $(' ').html(' '+equipeNom+' ').appendTo('#class'+i); $(' ').html(' '+totalPoint+' ').appendTo('#class'+i); $(' ').html(' '+diff+' ').appendTo('#class'+i); i++; }); } }); } }); }); ``` CSS : ``` .bloc_classement{ height:100%; overflow:auto; } .classement{ width
html = $this->renderView('admin/besoins/epicerie/exportPdf.html.twig', [ 'besoins' => $formValue, ]); $html .= ' '; $html .= ' '; $name = 'test'; $options = new Options(); $options->set('isHtml5ParserEnabled', true); $options->set('isRemoteEnabled', true); $dompdf = new Dompdf($options); $dompdf->loadHtml($html); // (Optional) Setup
Html->url($v'link'], true), // 'link' => $this->Html->url('http://www.hello-web.net', true), 'guid' => array('url' => $this->Html->url($v'link'], true), 'isPermaLink' => 'true'), // Le lien permanent 'description' => $v'location'], // 'pubDate