diff --git a/ecrire/articles_edit.php3 b/ecrire/articles_edit.php3
index 70a3d33b42edc2d2f7af1a4c93792ea33bebbf23..f37edde0eac5c36191024578d48512b577128be1 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 30883a71cdcdb3f3ce37aa08c928b9c13376e398..69c3c608a2a05e53afdfa2a9fdd51e361ffd085b 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 3cc4d918499b8c22ce8bd2b64486ecbcb84bfbf0..ea3da84b9bed02fd22e8021767367eca90bd435b 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 620d31668e2c931dfd077a9adce69a5a78c5d124..b422e5ae6c47b5b111a9162a270342eaac4de9a4 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;
 		}