29 lines
691 B
PHP
29 lines
691 B
PHP
<?php
|
|
/**
|
|
* Options au chargement du plugin GamuTable
|
|
*
|
|
* @plugin GamuTable
|
|
* @copyright 2020
|
|
* @author tofulm
|
|
* @licence GNU/GPL
|
|
* @package SPIP\Gamutable\Options
|
|
*/
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
return;
|
|
}
|
|
/*
|
|
* Global pour indiquer le numero de version de gamutable
|
|
*/
|
|
// $GLOBALS['gamutable_version_demandee'] = 1;
|
|
|
|
if (_request('var_mode') == 'gamutable') {
|
|
include_spip('inc/invalideur');
|
|
suivre_invalideur("id='gamutable/1'");
|
|
}
|
|
|
|
function inc_crayons_preparer_page(&$page, $droits, $wdgcfg = [], $mode = 'page') {
|
|
$droits = '*';
|
|
include_spip('inc/crayons_preparer_page');
|
|
return inc_crayons_preparer_page_dist($page, $droits, $wdgcfg, $mode);
|
|
}
|