[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / forum / forum_ieconfig.php
1 <?php
2
3 /**
4 * Déclarations des configurations qui peuvent être sauvegardées
5 *
6 * @package SPIP\Forum\Pipelines
7 **/
8
9 if (!defined("_ECRIRE_INC_VERSION")) {
10 return;
11 }
12
13 /**
14 * Ajoute les metas sauvegardables de Forum pour le plugin IEConfig
15 *
16 * @pipeline ieconfig_metas
17 *
18 * @param array $table
19 * Déclaration des sauvegardes
20 * @return array
21 * Déclaration des sauvegardes complétées
22 **/
23 function forum_ieconfig_metas($table) {
24 $table['forums_contenu']['titre'] = _T('forum:titre_forum');
25 $table['forums_contenu']['icone'] = 'forum-public-16.png';
26 $table['forums_contenu']['metas_brutes'] = 'forums_titre,forums_texte,forums_urlref,forums_afficher_barre,formats_documents_forum';
27 $table['forums_notifications']['titre'] = _T('forum:info_envoi_forum');
28 $table['forums_notifications']['icone'] = 'annonce-16.png';
29 $table['forums_notifications']['metas_brutes'] = 'prevenir_auteurs';
30 $table['forums_participants']['titre'] = _T('forum:info_mode_fonctionnement_defaut_forum_public');
31 $table['forums_participants']['icone'] = 'forum-interne-16.png';
32 $table['forums_participants']['metas_brutes'] = 'forums_publics';
33 $table['forums_prives']['titre'] = _T('forum:titre_config_forums_prive');
34 $table['forums_prives']['icone'] = 'forum-interne-16.png';
35 $table['forums_prives']['metas_brutes'] = 'forum_prive_objets,forum_prive,forum_prive_admin';
36
37 return $table;
38 }