From aa577b0d974fae8502d98cecc22b8eb5ad70d365 Mon Sep 17 00:00:00 2001
From: ARNO* <arno@rezo.net>
Date: Tue, 17 Sep 2002 14:15:28 +0000
Subject: [PATCH] Correction bug #URL_SITE_SPIP

---
 backend-breves-dist.html | 4 ++--
 backend-dist.html        | 4 ++--
 distrib-dist.html        | 2 +-
 forum-dist.html          | 2 +-
 hierarchie-dist.html     | 2 +-
 inc-calcul-squel.php3    | 2 +-
 pied-dist.html           | 2 +-
 plan-dist.html           | 2 +-
 recherche-dist.html      | 2 +-
 resume-dist.html         | 2 +-
 sommaire-dist.html       | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/backend-breves-dist.html b/backend-breves-dist.html
index 350e27f039..5d3d6997e8 100644
--- a/backend-breves-dist.html
+++ b/backend-breves-dist.html
@@ -5,14 +5,14 @@
 <channel>
 
 	<title>#NOM_SITE_SPIP</title>
-	<link>#URL_SITE_SPIP</link>
+	<link>#URL_SITE_SPIP/</link>
 	<description></description>
 	<language>fr-fr</language>
 
 	<image>
 		<title>#NOM_SITE_SPIP</title>
 		<url>#URL_SITE_SPIP/IMG/ruboff0.gif</url>
-		<link>#URL_SITE_SPIP</link>
+		<link>#URL_SITE_SPIP/</link>
 		<description></description>
 	</image>
 
diff --git a/backend-dist.html b/backend-dist.html
index 8cb5410014..c25aa4bb63 100644
--- a/backend-dist.html
+++ b/backend-dist.html
@@ -4,14 +4,14 @@
 
 <channel>
 	<title>#NOM_SITE_SPIP</title>
-	<link>#URL_SITE_SPIP</link>
+	<link>#URL_SITE_SPIP/</link>
 	<description></description>
 	<language>fr-fr</language>
 
 	<image>
 		<title>#NOM_SITE_SPIP</title>
 		<url>#URL_SITE_SPIP/IMG/ruboff0.gif</url>
-		<link>#URL_SITE_SPIP</link>
+		<link>#URL_SITE_SPIP/</link>
 		<description></description>
 	</image>
 
diff --git a/distrib-dist.html b/distrib-dist.html
index 5777712c44..d8e4a91587 100644
--- a/distrib-dist.html
+++ b/distrib-dist.html
@@ -1,6 +1,6 @@
 document.write('<TABLE border="0" bgcolor="#000000" cellspacing="0" cellpadding="0"><TR><TD>');
 document.write('<TABLE border="0" bgcolor="#FFFFFF" cellspacing="1" cellpadding="2"><TR><TD bgcolor="#D0D0D0" align="center">');
-document.write('<A href="#URL_SITE_SPIP"><B>[(#NOM_SITE_SPIP|addslashes)]</B></A>&nbsp;</TD></TR><TR><TD><SMALL>');
+document.write('<A href="#URL_SITE_SPIP/"><B>[(#NOM_SITE_SPIP|addslashes)]</B></A>&nbsp;</TD></TR><TR><TD><SMALL>');
 <BOUCLE_articles(articles){tout}{par date}{inverse}{0,10}>
 document.write('<LI><A href="#URL_ARTICLE"><FONT color="#000000">[(#TITRE|addslashes)]</FONT></A></LI>\n');
 </BOUCLE_articles>
diff --git a/forum-dist.html b/forum-dist.html
index fbcc5c3601..b26e8917f5 100644
--- a/forum-dist.html
+++ b/forum-dist.html
@@ -10,7 +10,7 @@
 <B_haut>
 	<TR BGCOLOR="#000000">
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	
 	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
diff --git a/hierarchie-dist.html b/hierarchie-dist.html
index 79aee4c004..6486d10c4b 100644
--- a/hierarchie-dist.html
+++ b/hierarchie-dist.html
@@ -3,7 +3,7 @@
 
 	<TR BGCOLOR="#000000" WIDTH=100%>
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	<BOUCLE_hier1(HIERARCHIE){0,1}{doublons}>
 		<TD ALIGN="center" BGCOLOR="#FFFFFF">
diff --git a/inc-calcul-squel.php3 b/inc-calcul-squel.php3
index d3b20bd5ea..07e21b80ec 100644
--- a/inc-calcul-squel.php3
+++ b/inc-calcul-squel.php3
@@ -1323,7 +1323,7 @@ function calculer_champ($id_champ, $id_boucle, $nom_var)
 	//
 
 	case 'URL_SITE_SPIP':
-		$code = "lire_meta('adresse_site').'/'";
+		$code = "lire_meta('adresse_site')";
 		break;
 
 	case 'NOM_SITE_SPIP':
diff --git a/pied-dist.html b/pied-dist.html
index 2bf8e08389..5552767fda 100644
--- a/pied-dist.html
+++ b/pied-dist.html
@@ -7,7 +7,7 @@
 <TD ALIGN="right">
 <A HREF="http://www.uzine.net/spip"><img src="NAVPICS/petit-logo-spip.gif" alt="LOGO SPIP" width="88" height="31" border="0" align="left"></A>
 	<FONT FACE="arial,helvetica,sans-serif" SIZE=1>
-	[<A HREF="#URL_SITE_SPIP">(#NOM_SITE_SPIP|majuscules)</A>]
+	[<A HREF="#URL_SITE_SPIP/">(#NOM_SITE_SPIP|majuscules)</A>]
 	| <A HREF="resume.php3">EN R&Eacute;SUM&Eacute;</A>
 	| <A HREF="plan.php3">PLAN DU SITE</A>
 	| <A HREF="ecrire/">ADMIN</A>
diff --git a/plan-dist.html b/plan-dist.html
index 8259833a41..11e83fa3a7 100644
--- a/plan-dist.html
+++ b/plan-dist.html
@@ -12,7 +12,7 @@
 <B_haut>
 	<TR BGCOLOR="#000000">
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	
 	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
diff --git a/recherche-dist.html b/recherche-dist.html
index e924168b45..2b21e93bed 100644
--- a/recherche-dist.html
+++ b/recherche-dist.html
@@ -12,7 +12,7 @@
 <B_haut>
 	<TR BGCOLOR="#000000">
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	
 	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
diff --git a/resume-dist.html b/resume-dist.html
index 90bb485e49..0e7c8928f2 100644
--- a/resume-dist.html
+++ b/resume-dist.html
@@ -11,7 +11,7 @@
 <B_haut>
 	<TR BGCOLOR="#000000">
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	
 	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
diff --git a/sommaire-dist.html b/sommaire-dist.html
index 3e84902299..4f9ea169ce 100644
--- a/sommaire-dist.html
+++ b/sommaire-dist.html
@@ -11,7 +11,7 @@
 <B_haut>
 	<TR BGCOLOR="#000000">
 	<TD ALIGN="center">
-	<A HREF="#URL_SITE_SPIP"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
+	<A HREF="#URL_SITE_SPIP/"><B><FONT COLOR="#E86519" FACE="arial,helvetica,sans-serif" SIZE=2>#NOM_SITE_SPIP</FONT></B></A>
 	</TD>	
 	
 	<BOUCLE_haut(RUBRIQUES){id_parent=0}{par titre}{0,5}>
-- 
GitLab