Pour un comportement identique dans IE et FF.
div.alaune_box { text-align: center; margin-right: 5px; } div.alaune_box a img { margin: 0 auto; } div.alaune_box p { text-align: center; } div.alaune_box a img { margin-bottom: 2px; } div.alaune_box p a img { margin-top: 4px; }
<?php slot('search-nb-results'); ?> Element.update('search-nb-results', '<?php echo $pager->getNbResults(); ?>'); Element.update('search-nb-results-offers', '<?php echo $count_offers; ?>'); <?php end_slot(); ?> <?php echo javascript_tag(get_slot('search-nb-results')); ?>
Avec echappage du js:
<?php // Maj javascript par slot ?> <?php $slot_name = 'old_match_bar_'. $old_bar_match_id; ?> <?php slot($slot_name); ?> <?php $html = escape_javascript(get_component('member_match', 'barSummaryLeft', array( 'match_bar_id' => $old_bar_match_id, ))); ?> Element.update('membres-going-matchbar<?php echo $old_bar_match_id; ?>', '<?php echo $html; ?>'); <?php echo javascript_tag(get_slot($slot_name)); ?>
logs
8038.2 KB