Changeset 43238 in spip-zone


Ignore:
Timestamp:
Dec 29, 2010, 10:38:31 PM (10 years ago)
Author:
fil@…
Message:

les plugins typo_caps et typo_mois sont compatibles (ayant le meme prefixe ils etaient mutuellement exclusifs)

Location:
_plugins_/typo_caps
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/typo_caps/plugin.xml

    r34503 r43238  
    11<plugin>
    2         <nom>Corrections typographiques des caps (<code>ONU</code> devient <code><span class="caps">ONU</span></code>)</nom>
     2        <nom>Typographie : CAPS (<code>ONU</code> devient <code><span class="caps">ONU</span></code>)</nom>
    33        <version>1.0</version>
    4         <prefix>typo</prefix>
     4        <prefix>typo_caps</prefix>
    55        <etat>stable</etat>
    66        <auteur>Fil</auteur>
     
    1212        </pipeline>
    1313        <categorie>edition</categorie>
     14        <lien>http://www.spip-contrib.net/typo-caps</lien>
     15        <icon>typo_caps.png</icon>
    1416        <necessite id="SPIP" version="[1.9.0;]" />
    1517</plugin>
  • _plugins_/typo_caps/typo_caps_fonctions.php

    r31303 r43238  
    3333}
    3434
    35 function typo_caps($t){
     35function typo_caps_caps($t){
    3636        // eviter les tags
    3737        $t = preg_split(',(<[^>]+>),UmsS', $t, null, PREG_SPLIT_DELIM_CAPTURE);
Note: See TracChangeset for help on using the changeset viewer.