forked from spip/statistiques
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
771 B
PHP
32 lines
771 B
PHP
<?php
|
|
|
|
/**
|
|
* Déclarations des configurations qui peuvent être sauvegardées
|
|
*
|
|
* @plugin Statistiques pour SPIP
|
|
* @license GNU/GPL
|
|
* @package SPIP\Stats\Pipelines
|
|
**/
|
|
|
|
if (!defined("_ECRIRE_INC_VERSION")) {
|
|
return;
|
|
}
|
|
|
|
/**
|
|
* Ajoute les metas sauvegardables de Statistiques pour le plugin IEConfig
|
|
*
|
|
* @pipeline ieconfig_metas
|
|
*
|
|
* @param array $table
|
|
* Déclaration des sauvegardes
|
|
* @return array
|
|
* Déclaration des sauvegardes complétées
|
|
**/
|
|
function stats_ieconfig_metas($table) {
|
|
$table['statistiques_meta']['titre'] = _T('statistiques:info_forum_statistiques');
|
|
$table['statistiques_meta']['icone'] = 'statistique-16.png';
|
|
$table['statistiques_meta']['metas_brutes'] = 'activer_statistiques,activer_captures_referers';
|
|
|
|
return $table;
|
|
}
|