From e1a183b0c0d9f70eee4f132d1a8ab6b852b5ce49 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 15 Sep 2004 12:30:37 +0000
Subject: [PATCH] petits bugs (Stephane Laurent)

---
 ecrire/articles_edit.php3     | 2 +-
 ecrire/auteur_messagerie.php3 | 2 +-
 ecrire/inc_texte.php3         | 2 +-
 ecrire/sites_edit.php3        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ecrire/articles_edit.php3 b/ecrire/articles_edit.php3
index 70a3d33b42..f37edde0ea 100644
--- a/ecrire/articles_edit.php3
+++ b/ecrire/articles_edit.php3
@@ -313,7 +313,7 @@ function enfant($leparent){
 		case 5:
 			$style .= "color: #808080;";
 			break;
-		default;
+		default:
 			$style .= "color: #A0A0A0;";
 			break;
 		}
diff --git a/ecrire/auteur_messagerie.php3 b/ecrire/auteur_messagerie.php3
index 30883a71cd..69c3c608a2 100644
--- a/ecrire/auteur_messagerie.php3
+++ b/ecrire/auteur_messagerie.php3
@@ -114,7 +114,7 @@ function mySel($varaut,$variable) {
 		// Fonctionnement de la messagerie interne
 		//
 		$activer_messagerie = "oui";
-		$activer_imessage = "oui"
+		$activer_imessage = "oui";
 		
 		if ($activer_messagerie!="non"){
 			debut_cadre_formulaire();
diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3
index 3cc4d91849..ea3da84b9b 100644
--- a/ecrire/inc_texte.php3
+++ b/ecrire/inc_texte.php3
@@ -788,7 +788,7 @@ function traiter_raccourcis_generale($letexte) {
 			else
 				$url = $url_glossaire_externe.$terme_underscore;
 			$url = str_replace("@lang@", $GLOBALS['spip_lang'], $url);
-			$code = "[$terme->?$url]";
+			$code = '['.$terme.'->?'.$url.']';
 			$letexte = str_replace($regs[0], $code, $letexte);
 		}
 	}
diff --git a/ecrire/sites_edit.php3 b/ecrire/sites_edit.php3
index 620d31668e..b422e5ae6c 100644
--- a/ecrire/sites_edit.php3
+++ b/ecrire/sites_edit.php3
@@ -82,7 +82,7 @@ function enfant($leparent){
 		case 5:
 			$style .= "color: #808080;";
 			break;
-		default;
+		default:
 			$style .= "color: #A0A0A0;";
 			break;
 		}
-- 
GitLab