Ignore:
Timestamp:
Dec 11, 2018, 8:39:50 AM (2 years ago)
Author:
abelass@…
Message:

adapter regex pour effectivement cacher le block de l'agenda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/reservation_evenement/trunk/reservation_evenement_pipelines.php

    r109365 r112721  
    216216
    217217                if (!$afficher_inscription_agenda) {
    218                         $flux['data']['texte'] = preg_replace('/(<div\sclass="champ contenu_places)([^<]|<.+>.*<\/.+>)+(<\/div>)/i', '', $flux['data']['texte']);
     218                        $flux['data']['texte'] = preg_replace('/(\<div\ class="champ contenu_places"\>)(.+)(<\/div>)/si', '', $flux['data']['texte']);
    219219                }
    220220        }
Note: See TracChangeset for help on using the changeset viewer.