html = ""; $niveau_precedent = 0; if (!$niveau && !$niveau_precedent){$html .= "\n \n";} if ($array!=NULL) { foreach ($array AS $value) { if ($parent ==$value->parent) { if ($niveau_precedent < $niveau) {$html .= "\n \n";} $html
html .= show_menu($noeud'categorie_id'],($niveau + 1), $array); } } if(($niveau_precedent == $niveau) && ($niveau_precedent !=0)) $html .=' '; else if ($niveau_precedent=$niveau) $html .=' '; else $html .=' '; return $html; } ?> Si quelqu'un a une idée
html') ca ne fonctionne pas: $(".ariane").html('{{ knp_menu_render('breadcrumd',{ 'currentAsLink':false, 'template': 'EcommerceUtilityBundle:Default:knp_menu.html.twig' })|escape('html') }}'); Résultat: (".ariane").html(' Une idée les amis sur cette affichage suspect
Html->script('bootstrap');?> jquery jQuery(function($){ var alert = $('#alert
html .= " {$pc->get_tf('name')} "; } elseif ($levelPrevious > $pc->level) { $html .= str_repeat(' ', ++$levelPrevious - $pc->level); $levelPrevious = $pc->level; $html .= " {$pc->get_tf('name')} "; } else { $html .= " {$pc->get_tf('name')} "; } } $html
html('Compte twitter ok'); } else { $("#twitter").html(' [Cliquez pour relier votre compte twitter]('+p_message.content.split('url=)'); } }; var curRoom = null; window.joinRoom = function(p\_path) { if(curRoom != null) { $mx.\_sendMessage($mx.Message('j\_', \_UNSUB
html = array()) { $options = _parse_attributes($options); $options_html = _parse_attributes($options_html); if (!isset($options'with'])) { $options'with'] = 'Form.serialize(this.form)'; } $options_html'type'] = 'button'; $options_html'onclick'] = remote_function($options
html avec sanitize::html($data, array("remove" => true)). Quelle est la meillieur procédure ? Faire un sanitize::html avant de stocker dans la bdd pour ne garder que le texte brut