Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/unienfants/plugins-dist/porte_plume/barre_outils/ |
<?php /** * Déclaration de la barre d'outil de forum de SPIP * * @plugin Porte Plume pour SPIP * @license GPL * @package SPIP\PortePlume\BarreOutils */ if (!defined('_ECRIRE_INC_VERSION')) { return; } /** * Définition de la barre 'forum' pour markitup * * @return Barre_outils La barre d'outil */ function barre_outils_forum() { // on modifie simplement la barre d'edition $edition = charger_fonction('edition', 'barre_outils'); $barre = $edition(); $barre->nameSpace = 'forum'; $barre->cacherTout(); $barre->afficher([ 'bold', 'italic', 'sepLink', 'link', 'sepGuillemets', 'quote', 'sepCaracteres', 'guillemets', 'guillemets_simples', 'guillemets_de', 'guillemets_de_simples', 'guillemets_autres', 'guillemets_autres_simples', 'A_grave', 'E_aigu', 'E_grave', 'aelig', 'AElig', 'oe', 'OE', 'Ccedil', ]); return $barre; }