Changeset 115261 in spip-zone
- Timestamp:
- May 6, 2019, 3:07:47 PM (2 years ago)
- Location:
- _plugins_/bootstrap/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/bootstrap/trunk/bootstrap4_fonctions.php
r115121 r115261 90 90 } 91 91 92 function bootstrap4_affichage_final($flux){93 if (94 $GLOBALS['html']95 AND isset($GLOBALS['visiteur_session']['statut'])96 AND $GLOBALS['visiteur_session']['statut']=='0minirezo'97 AND $GLOBALS['visiteur_session']['webmestre']=='oui'98 AND strpos($flux,"<!-- insert_head -->")!==false99 AND $p=stripos($flux,"</body>")100 AND $f = find_in_path("js/hashgrid.js")101 ){102 $flux = substr_replace($flux,'<script type="text/javascript" src="'.$f.'"></script>',$p,0);103 }104 return $flux;105 }106 107 92 108 93 /** -
_plugins_/bootstrap/trunk/bootstrap4_options.php
r114918 r115261 5 5 $GLOBALS['puce'] = '<span class="spip-puce ltr"><b>?</b></span>'; 6 6 $GLOBALS['puce_rtl'] = '<span class="spip-puce rtl"><b>?</b></span>'; 7 8 9 function bootstrap4_affichage_final($flux){ 10 if ( 11 $GLOBALS['html'] 12 AND isset($GLOBALS['visiteur_session']['statut']) 13 AND $GLOBALS['visiteur_session']['statut']=='0minirezo' 14 AND $GLOBALS['visiteur_session']['webmestre']=='oui' 15 AND strpos($flux,"<!-- insert_head -->")!==false 16 AND $p=stripos($flux,"</body>") 17 AND $f = find_in_path("js/hashgrid.js") 18 ){ 19 $flux = substr_replace($flux,'<script type="text/javascript" src="'.$f.'"></script>',$p,0); 20 } 21 return $flux; 22 } -
_plugins_/bootstrap/trunk/paquet.xml
r115121 r115261 2 2 prefix="bootstrap4" 3 3 categorie="outil" 4 version="4.1. 0"4 version="4.1.1" 5 5 etat="test" 6 6 compatibilite="[3.2.0;3.3.*]" … … 18 18 <licence>GNU/GPL</licence> 19 19 20 <pipeline nom="affichage_final" inclure="bootstrap4_fonctions.php"/>20 <pipeline nom="affichage_final" /> 21 21 22 22 <necessite nom="scssphp" compatibilite="[1.5.1;1.*.*]" />
Note: See TracChangeset
for help on using the changeset viewer.