Changeset 115305 in spip-zone
- Timestamp:
- May 10, 2019, 8:52:43 AM (2 years ago)
- Location:
- _plugins_/scssphp/trunk
- Files:
-
- 2 added
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/scssphp/trunk/lang/paquet-scssphp_fr.php
r101227 r115305 9 9 10 10 // S 11 'scssphp_description' => 'Intégration de l’implémentation php de SCSS [->http://leafo.github.io/scssphp/]. Il faut avoir au minimum PHP 5. 4pour le bon fonctionnement de cette intégration.',11 'scssphp_description' => 'Intégration de l’implémentation php de SCSS [->http://leafo.github.io/scssphp/]. Il faut avoir au minimum PHP 5.6 pour le bon fonctionnement de cette intégration.', 12 12 'scssphp_titre' => 'SCSS PHP' 13 13 ); -
_plugins_/scssphp/trunk/lib/scssphp/scss.inc.php
r114936 r115305 1 1 <?php 2 if (version_compare(PHP_VERSION, '5. 4') < 0) {3 throw new \Exception('scssphp requires PHP 5. 4or above');2 if (version_compare(PHP_VERSION, '5.6') < 0) { 3 throw new \Exception('scssphp requires PHP 5.6 or above'); 4 4 } 5 5 -
_plugins_/scssphp/trunk/paquet.xml
r115301 r115305 2 2 prefix="scssphp" 3 3 categorie="outil" 4 version=" 1.9.2"5 etat=" test"6 compatibilite="[ 2.1.0;3.2.*]"7 logo="scssphp .png"4 version="2.0.0" 5 etat="stable" 6 compatibilite="[3.1.0;3.2.*]" 7 logo="scssphp-32.png" 8 8 documentation="https://contrib.spip.net/ScssPhp" 9 9 > … … 19 19 <pipeline nom="scss_variables" action=''/> 20 20 21 <pipeline nom="insert_head" action="insert_head"/>22 <pipeline nom="formulaire_admin" inclure="scssphp_pipelines.php"/>21 <pipeline nom="insert_head" /> 22 <pipeline nom="formulaire_admin" /> 23 23 24 24 <procure nom="scssphp" version="0.8.2.1" /> 25 25 26 <spip compatibilite="[3.1.0;["> 27 <necessite nom="php" compatibilite="[5.4.0;[" /> 28 </spip> 26 <necessite nom="php" compatibilite="[5.6.0;[" /> 29 27 </paquet> -
_plugins_/scssphp/trunk/scssphp_options.php
r109313 r115305 15 15 // http://leafo.github.io/scssphp/docs/#source-maps 16 16 // define('_SCSS_SOURCE_MAP', true); 17 18 19 /** 20 * les boutons d'administration : ajouter le bouton var_mode=css 21 * 22 * @pipeline formulaire_admin 23 * @param array $flux 24 * @return $flux 25 */ 26 function scssphp_formulaire_admin($flux) { 27 if (autoriser('configurer', 'scssphp')) { 28 $btn = recuperer_fond('prive/bouton/calculer_css'); 29 $flux['data'] = preg_replace('%(<!--extra-->)%is', $btn.'$1', $flux['data']); 30 } 31 32 return $flux; 33 }
Note: See TracChangeset
for help on using the changeset viewer.