/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2013 *
+ * Copyright (c) 2001-2014 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
if ($old==$new)
$out = ($format!='complet'?'':$new);
else {
-
+ if($f = charger_fonction($champ,'afficher_diff'))
+ return $f($champ,$old,$new,$format='diff');
$diff = new Diff(new DiffTexte);
$n = preparer_diff($new);
$o = preparer_diff($old);