source: spip-zone/_plugins_/smallcaps/smallcaps.php @ 117558

Last change on this file since 117558 was 5548, checked in by fil@…, 14 years ago

rangement des plugins celbataires : comarquage/1_9_0/ console/1_9_0/ csv_import/1_9_0/ desactiver_cache/1_9_0/ desactiver_flash/1_9_0/ dewplayer/1_9_0/ ecard/1_9_1/ marqueur_stats/1_9_0/ modeles_liste/1_9_1/ orientation/1_9_0/ phpmyvisites/1_9_0/ pim_agenda/1_9_0/ profil_etendu/1_9_1/ push/1_9_0/ recherche_etendue/1_9_0/ sitemap/1_9_0/ smallcaps/1_9_0/ spip-lettres/1_9_0/ squelette_profil/1_9_0/ squelettes_par_mots_cle/1_9_0/ squelettes_update/1_9_0/ switcher/1_9_0/ timeline/1_9_0/ toutmulti/1_9_0/ tri_auteurs/1_9_0/ tri_mots/1_9_0/ version_texte/1_9_0/ widget_calendar/1_9_0/

File size: 425 bytes
Line 
1<?php
2
3/*
4 * smallcaps
5 *
6 * introduit le raccourci <sc>...</sc> pour les petites majuscules
7 *
8 * Auteur : arno@scarabee.com
9 * © 2005 - Distribue sous licence GNU/GPL
10 *
11 */
12
13
14
15        // Raccourci typographique <sc></sc>
16        function SmallCaps_post_typo($texte) {
17                $texte = str_replace("<sc>",
18                        "<span style=\"font-variant: small-caps\">", $texte);
19                $texte = str_replace("</sc>", "</span>", $texte);
20                return $texte;
21        }
22 
23
24
25
26?>
Note: See TracBrowser for help on using the repository browser.