X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fplugins-dist%2Fforum%2Fbase%2Fforum.php;h=55a45cb7c16d13041625b6e4bad690fa9df0a093;hb=f08ec3a19775a7a173534b2d5cb7e9920b6253a6;hp=049b754e79423b504ddb8dee4e499029706db4f3;hpb=58a2baa86ad2e12b4ff338d137f826a0a10ccbd7;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins-dist/forum/base/forum.php b/www/plugins-dist/forum/base/forum.php index 049b754e..55a45cb7 100644 --- a/www/plugins-dist/forum/base/forum.php +++ b/www/plugins-dist/forum/base/forum.php @@ -39,12 +39,12 @@ function forum_declarer_tables_interfaces($interfaces){ $interfaces['table_statut']['spip_forum'][] = array('champ'=>'statut','publie'=>'publie','previsu'=>'publie,prop','exception'=>'statut'); $interfaces['table_des_traitements']['PARAMETRES_FORUM'][]= 'htmlspecialchars(%s)'; - $interfaces['table_des_traitements']['TEXTE']['forums']= "safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_RACCOURCIS).")"; - $interfaces['table_des_traitements']['TITRE']['forums']= "safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_TYPO).")"; - $interfaces['table_des_traitements']['NOTES']['forums']= "safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_RACCOURCIS).")"; - $interfaces['table_des_traitements']['NOM_SITE']['forums']= "safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_TYPO).")"; + $interfaces['table_des_traitements']['TEXTE']['forums']= "liens_nofollow(safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_RACCOURCIS)."))"; + $interfaces['table_des_traitements']['TITRE']['forums']= "liens_nofollow(safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_TYPO)."))"; + $interfaces['table_des_traitements']['NOTES']['forums']= "liens_nofollow(safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_RACCOURCIS)."))"; + $interfaces['table_des_traitements']['NOM_SITE']['forums']= "liens_nofollow(safehtml(".str_replace("%s","interdit_html(%s)",_TRAITEMENT_TYPO)."))"; $interfaces['table_des_traitements']['URL_SITE']['forums']= 'safehtml(vider_url(%s))'; - $interfaces['table_des_traitements']['AUTEUR']['forums']= 'safehtml(vider_url(%s))'; + $interfaces['table_des_traitements']['AUTEUR']['forums']= 'liens_nofollow(safehtml(vider_url(%s)))'; $interfaces['table_des_traitements']['EMAIL_AUTEUR']['forums']= 'safehtml(vider_url(%s))'; return $interfaces;