X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fecrire%2Finc%2Fformater_article.php;h=40e98cc3963efeaf9a82e7e7652410b657df02bc;hb=e99f0878011913365e49b30d90e496c24c301393;hp=e49259901fe6783ac4f2bfc297ebf1a2eb72b631;hpb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;p=velocampus%2Fweb%2Fwww.git
diff --git a/www/ecrire/inc/formater_article.php b/www/ecrire/inc/formater_article.php
index e492599..40e98cc 100644
--- a/www/ecrire/inc/formater_article.php
+++ b/www/ecrire/inc/formater_article.php
@@ -3,7 +3,7 @@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2011 *
+ * Copyright (c) 2001-2014 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@ -46,33 +46,46 @@ function inc_formater_article_dist($row, $own='')
if ($logo = $chercher_logo($id_article, 'id_article', 'on')) {
list($fid, $dir, $nom, $format) = $logo;
include_spip('inc/filtres_images_mini');
- $logo = image_reduire("", 26, 20);
- }
+ $logo = "" .
+ image_reduire("
", 26, 20) .
+ "";
+ } else $logo = '';
} else $logo ='';
- $titre = sinon($row['titre'], _T('ecrire:info_sans_titre'));
+ $titre = supprime_img($row['titre'],'');
$id_rubrique = $row['id_rubrique'];
$date = $row['date'];
$statut = $row['statut'];
$descriptif = $row['descriptif'];
- $lang_dir = lang_dir(($lang = $row['lang']) ? changer_typo($lang):'');
-
- $lien = "