WP File Manager
Current Path:
/
home
/
argothem
/
www
/
organecyberpresse
/
plugins
/
auto
/
crayons
/
v3.3.0
/
Name
Action
..
CHANGELOG.md
Edit
README.md
Edit
action
controleurs
crayons.js.html
Edit
crayons.js_fonctions.php
Edit
crayons_options.php
Edit
css
formulaires
images
inc
install.log
Edit
js
lang
modeles
paquet.xml
Edit
prive
vues
Editing: crayons.js_fonctions.php
<?php /** * Crayons * plugin for spip * (c) Fil, toggg 2006-2019 * licence GPL * */ if (!defined('_ECRIRE_INC_VERSION')) { return; } // // Les crayons ont leur propre copie du pack de Dean Edwards // pour compatibilite avec SPIP < [9717] // function pack_cQuery($chemin) { if (!$chemin) { return; } $flux = spip_file_get_contents($chemin); $flux = str_replace('jQuery', 'cQuery', $flux); $flux = str_replace('cQuery.spip', 'jQuery.spip', $flux); // On ne compacte PAS deux fois (c'est inutile et en plus ca bugge) if (!strlen($flux) || _request('debug_crayons') || !function_exists('minifier')) { return $flux; } return minifier($flux, 'js'); }