[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / porte_plume / barre_outils / forum.php
1 <?php
2 /**
3 * Déclaration de la barre d'outil de forum de SPIP
4 *
5 * @plugin Porte Plume pour SPIP
6 * @license GPL
7 * @package SPIP\PortePlume\BarreOutils
8 */
9 if (!defined("_ECRIRE_INC_VERSION")) return;
10
11
12
13 /**
14 * Définition de la barre 'forum' pour markitup
15 *
16 * @return Barre_outils La barre d'outil
17 */
18 function barre_outils_forum(){
19 // on modifie simplement la barre d'edition
20 $edition = charger_fonction('edition','barre_outils');
21 $barre = $edition();
22 $barre->nameSpace = 'forum';
23 $barre->cacherTout();
24 $barre->afficher(array(
25 'bold','italic',
26 'sepLink','link',
27 'sepGuillemets', 'quote',
28 'sepCaracteres','guillemets', 'guillemets_simples',
29 'guillemets_de', 'guillemets_de_simples',
30 'guillemets_autres', 'guillemets_autres_simples',
31 'A_grave', 'E_aigu', 'E_grave', 'aelig', 'AElig', 'oe', 'OE', 'Ccedil',
32 ));
33 return $barre;
34 }
35
36
37 ?>