From 36083bc3f1df92b221bc106ce6acb45221ddc455 Mon Sep 17 00:00:00 2001
From: tetue <tetue@rezo.net>
Date: Sat, 26 Aug 2006 02:04:38 +0000
Subject: [PATCH] =?UTF-8?q?#SPIP=5FVERSION=20affiche=20le=20nume=CC=81ro?=
 =?UTF-8?q?=20de=20la=20version=20de=20SPIP=20utilise=CC=81e=20sur=20le=20?=
 =?UTF-8?q?site=20(a=CC=80=20ame=CC=81liorer=20=3F)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 dist/inc-pied.html        | 2 +-
 ecrire/inc/filtres.php    | 9 ++++++++-
 ecrire/public/balises.php | 5 +++++
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/dist/inc-pied.html b/dist/inc-pied.html
index c674482ca4..2b216e6a66 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" />&nbsp;RSS&nbsp;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" />&nbsp;RSS&nbsp;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" />&nbsp;#SPIP_VERSION</a></small>
 </div>
\ No newline at end of file
diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php
index f5a1c3bbf6..e0671dcd21 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 c6f51a160e..dd6436bbca 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) {
-- 
GitLab