Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
export de config , img ref
Browse files Browse the repository at this point in the history
maj todo
ajout des images pour les refs
ajout de l'export de config avec ieConfig
  • Loading branch information
mistergraphx committed Oct 17, 2017
1 parent cd91e60 commit 37dd665
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -77,7 +77,7 @@ Tout retour est apprécié : suggestions, tests, bugs, idées d'amélioration, p
## TODO

- [X] ajouter la possibilitée de ne pas afficher les titres référence dans la barre d'outil sur globale ou config ?
- [ ] ajout d'anchre avec url pour permettre d'inclure des liens facilement vers une partie du texte :
- [ ] ajout d'ancre avec url pour permettre d'inclure des liens facilement vers une partie du texte :
https://assortment.io/posts/simple-automated-jumplinks-with-jquery
ou anchor.js

Expand All @@ -86,7 +86,7 @@ Tout retour est apprécié : suggestions, tests, bugs, idées d'amélioration, p
$GLOBALS['debut_intertitre'] = '<h3 class="spip">';
$GLOBALS['fin_intertitre'] = '</h3>';
```
- [ ] Afficher l'icone correspondant au niveau de titre réelle en fonction de la globale debut_intertitre
- [X] Afficher l'icone correspondant au niveau de titre réelle en fonction de la globale debut_intertitre

## CHANGELOGS

Expand Down
Binary file modified icones_barre/ref4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icones_barre/ref5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icones_barre/ref6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions lang/porte_plume_intertitres_fr.php
Expand Up @@ -20,4 +20,6 @@

// P
'porte_plume_intertitres_titre' => 'Intertitres hierarchiques',
'porte_plume_intertitres' => 'Intertitres',

);
6 changes: 4 additions & 2 deletions paquet.xml
Expand Up @@ -13,11 +13,13 @@

<licence>GNU/GPL</licence>

<pipeline nom="pre_propre" inclure="porte_plume_intertitres_pipelines.php" />
<pipeline nom="ieconfig_metas" inclure="porte_plume_intertitres_pipelines.php" />

<pipeline nom="pre_propre" inclure="porte_plume_intertitres_pipelines.php" />
<pipeline nom="porte_plume_barre_pre_charger" inclure="porte_plume_intertitres_pipelines.php" />
<pipeline nom="porte_plume_lien_classe_vers_icone" inclure="porte_plume_intertitres_pipelines.php" />



<necessite nom="tw" compatibilite="[0.3.1;[" />

</paquet>
7 changes: 6 additions & 1 deletion porte_plume_intertitres_pipelines.php
Expand Up @@ -12,7 +12,12 @@
if (!defined('_ECRIRE_INC_VERSION')) return;



function porte_plume_intertitres_ieconfig_metas($table){
$table['porte_plume_intertitres']['titre'] = _T('porte_plume_intertitres:porte_plume_intertitres');
$table['porte_plume_intertitres']['icone'] = 'prive/themes/spip/images/porte_plume_intertitres-16.png';
$table['porte_plume_intertitres']['metas_serialize'] = 'porte_plume_intertitres';
return $table;
}

// http://www.spip-contrib.net/Porte-Plume-documentation-technique
function porte_plume_intertitres_porte_plume_barre_pre_charger($barres){
Expand Down

0 comments on commit 37dd665

Please sign in to comment.