porte_plume_ieconfig.php 760 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Déclarations des configurations qui peuvent être sauvegardées
  4. *
  5. * @plugin Porte Plume pour SPIP
  6. * @license GPL
  7. * @package SPIP\PortePlume\Pipelines
  8. **/
  9. if (!defined("_ECRIRE_INC_VERSION")) return;
  10. /**
  11. * Ajoute les metas sauvegardables du porte plume pour le plugin IEConfig
  12. *
  13. * @pipeline ieconfig_metas
  14. *
  15. * @param array $table
  16. * Déclaration des sauvegardes
  17. * @return array
  18. * Déclaration des sauvegardes complétées
  19. **/
  20. function porte_plume_ieconfig_metas($table){
  21. $table['porte_plume']['titre'] = _T('barreoutils:info_barre_outils_public');
  22. $table['porte_plume']['icone'] = 'porte-plume-16.png';
  23. $table['porte_plume']['metas_brutes'] = 'barre_outils_public';
  24. return $table;
  25. }
  26. ?>