diff --git a/dist/inc-pied.html b/dist/inc-pied.html index c674482ca48a47493df6acd0432d0bb90cd5b5ab..2b216e6a666406825f47fd2275c1b93897112442 100644 --- a/dist/inc-pied.html +++ b/dist/inc-pied.html @@ -1,4 +1,4 @@ <br class="nettoyeur" /> <div id="pied"> - <small><a href="#URL_PAGE{backend}" title="<:syndiquer_site:>"><img src="#CHEMIN{feed.png}" alt="<:icone_suivi_activite:>" width="16" height="16" class="format_png" /> RSS 2.0</a> | <a href="#URL_PAGE{plan}"><:plan_site:></a> | <a href="ecrire/"><:espace_prive:></a> | <a href="http://www.spip.net" title="<:site_realise_avec_spip:>"><img src="#CHEMIN{spip.png}" alt="SPIP" width="48" height="16" class="format_png" /></a></small> + <small><a href="#URL_PAGE{backend}" title="<:syndiquer_site:>"><img src="#CHEMIN{feed.png}" alt="<:icone_suivi_activite:>" width="16" height="16" class="format_png" /> RSS 2.0</a> | <a href="#URL_PAGE{plan}"><:plan_site:></a> | <a href="ecrire/"><:espace_prive:></a> | <a href="http://www.spip.net" title="<:site_realise_avec_spip:>"><img src="#CHEMIN{spip.png}" alt="SPIP" width="48" height="16" class="format_png" /> #SPIP_VERSION</a></small> </div> \ No newline at end of file diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index f5a1c3bbf60d2f783310c533e42b2a9259bb10d7..e0671dcd21334a8bbcd297cfc31ad8de682992bd 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -64,6 +64,13 @@ function filtrer($filtre) { } } + +// http://doc.spip.org/@spip_version +function spip_version($texte) { + global $spip_version_affichee; + return $spip_version_affichee; +} + // // Fonctions graphiques // @@ -912,7 +919,7 @@ function agenda_memo($date=0 , $descriptif='', $titre='', $url='', $cal='') // Cette fonction recoit: // - un nombre d'evenements, -// - une chaine à afficher si ce nombre est nul, +// - une chaine � afficher si ce nombre est nul, // - un type de calendrier // -- et une suite de noms N. // Elle demande a la fonction precedente son tableau diff --git a/ecrire/public/balises.php b/ecrire/public/balises.php index c6f51a160e217e739f4052cb1aef62881dbcd663..dd6436bbca6fc5f7929551b949ea2e0901b90912 100644 --- a/ecrire/public/balises.php +++ b/ecrire/public/balises.php @@ -145,6 +145,11 @@ function balise_SQUELETTE_dist($p) { return $p; } +// http://doc.spip.org/@balise_SPIP_VERSION_dist +function balise_SPIP_VERSION_dist($p) { + $p->code = "spip_version('')"; + return $p; +} // http://doc.spip.org/@balise_URL_SITE_SPIP_dist function balise_URL_SITE_SPIP_dist($p) {