dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~maj 3.0.10 --> 3.0.14
[lhc/web/www.git]
/
www
/
plugins-dist
/
revisions
/
afficher_diff
/
champ.php
diff --git
a/www/plugins-dist/revisions/afficher_diff/champ.php
b/www/plugins-dist/revisions/afficher_diff/champ.php
index
efd968a
..
20a2eab
100644
(file)
--- a/
www/plugins-dist/revisions/afficher_diff/champ.php
+++ b/
www/plugins-dist/revisions/afficher_diff/champ.php
@@
-3,7
+3,7
@@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-201
3
*
+ * Copyright (c) 2001-201
4
*
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@
-28,7
+28,8
@@
function afficher_diff_champ_dist($champ,$old,$new,$format='diff'){
if ($old==$new)
$out = ($format!='complet'?'':$new);
else {
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);
$diff = new Diff(new DiffTexte);
$n = preparer_diff($new);
$o = preparer_diff($old);