Changeset 110075 in spip-zone
- Timestamp:
- May 3, 2018, 9:47:26 AM (3 years ago)
- Location:
- _plugins_/acces_restreint_ip/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/acces_restreint_ip/trunk/accesrestreintip_pipelines.php
r88897 r110075 30 30 if ($flux['args']['type'] == 'zone') { 31 31 $champ_ips = recuperer_fond('formulaires/inc-editer_zone-ips', $flux['args']['contexte']); 32 $flux['data'] = preg_replace(' |(<li[^>]*editer_descriptif[^>]*>.*?</li>)|is', "$1\n$champ_ips", $flux['data']);32 $flux['data'] = preg_replace('%(<(li|div)[^>]*editer_descriptif[^>]*>.*?</\2>)%is', "$1\n$champ_ips", $flux['data']); 33 33 } 34 34 -
_plugins_/acces_restreint_ip/trunk/paquet.xml
r104018 r110075 2 2 prefix="accesrestreintip" 3 3 categorie="auteur" 4 version="1.0. 2"4 version="1.0.3" 5 5 schema="1.0.0" 6 6 etat="stable"
Note: See TracChangeset
for help on using the changeset viewer.