Version 2.0 du plugin :
* Requiert PHP 5.6+ et SPIP 3.1+ * nouveau logo base sur logo Saas + logo PHP alternatif * petite optimisation en supprimant le fichier _pipelinessvn/attic/tags/v1.0.8/123887
parent
ebe14c4df7
commit
20d4af8761
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Sécurité
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* les boutons d'administration : ajouter le bouton var_mode=css
|
||||
*
|
||||
* @pipeline formulaire_admin
|
||||
* @param array $flux
|
||||
* @return $flux
|
||||
*/
|
||||
function scssphp_formulaire_admin($flux) {
|
||||
if (autoriser('configurer', 'scssphp')) {
|
||||
$btn = recuperer_fond('prive/bouton/calculer_css');
|
||||
$flux['data'] = preg_replace('%(<!--extra-->)%is', $btn.'$1', $flux['data']);
|
||||
}
|
||||
|
||||
return $flux;
|
||||
}
|
Loading…
Reference in New Issue