Html->script('tiny_mce/tiny_mce.js',array('inline'=>false));?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins: 'inlinepopups', theme_advanced_buttons1:'image', theme_advanced_buttons2:'', theme_advanced
data){ if(data == 'success'){ $("#resultat").html(" La page a bien été enregistrée "); } else{ $("#resultat").html(" Erreur lors de l'enregistrement "); } }, 'text' ); return false; }); }); Merci de votre aide !
html = ''; foreach ($projects as $project) { $html .= $this->renderView('resume.html.twig', array( 'project' => $project, )); } if ($html == '') { $this->addFlash('error', 'warn.project.check'); return $this->redirect($this->generateUrl('project_list')); } // Génération du pdf $html2pdf = $this
HTML $message.= "Content-Type: text/html; charset=\"ISO-8859-1\"".$passage_ligne; $message.= "Content-Transfer-Encoding: 8bit".$passage_ligne; $message.= $passage_ligne.$message_html.$passage_ligne; //========== $message.= $passage_ligne."--".$boundary."--".$passage
html){ if(html){ $("#statut_middle").append(html); $("#loader_reload_statut").hide(); }else{ $("#loader_reload_statut").html("Il n'y a plus de statut à télécharger."); } }, error: function(){ alert('Une erreur
Html->link(__('Liste des cadences'), array('action' => 'index')); ?> [/code] Mon index.ctp [code]
HTML $pageTitle $stylesBundle $viewStyle $viewHead $viewContent $viewFooter $scriptsBundle $localScript HTML; ?> ``` Et voici le code qui appèle le précédent ```
Html->css('bootstrap'); ?> body { padding-top: 60px; padding-bottom: 40px; } Project name Home About Contact Dropdown Action Another action Something else here Nav header Separated link One more separated
html(' +1€ / clic '); } else { $("#upgrades").html(''); } $("#upgrade1").click(function(){ cbPerClick = cbPerClick + 1; monnaie = monnaie - coutUpgrade; coutUpgrade = coutUpgrade * 5; showMonnaie(); showCps(); $("#upgrades").html(); console.log(coutUpgrade) }); }); // fin clickhere click ``` Genre... **POURQUOI** ? J'ai beau
html = renderToString(); const preloadedState = store.getState() res.send(renderFullHtml(html, preloadedState)); }) console.log("=== SERVER STARTED ===") app.listen(8080) function renderFullHtml (html, preloadedState) { return ` Ma page ${html} window.__PRELOADED_STATE__ = ${JSON.stringify(preloadedState).replace(/