X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fpublic.php;fp=www%2Fecrire%2Fpublic.php;h=0653d163cd64bae333401788ce5298140785ba3c;hp=5deb4515681bc869e55d5b453298d158b5934967;hb=e99f0878011913365e49b30d90e496c24c301393;hpb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed diff --git a/www/ecrire/public.php b/www/ecrire/public.php index 5deb451..0653d16 100644 --- a/www/ecrire/public.php +++ b/www/ecrire/public.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2010 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -122,7 +122,7 @@ if (isset($GLOBALS['_INC_PUBLIC'])) { $debug = ((_request('var_mode') == 'debug') OR $tableau_des_temps) ? array(1) : array(); // Mettre le Content-Type Html si manquant - // Idem si debug, avec retrait du Content-Diposition pour voir le voir + // Idem si debug, avec retrait du Content-Disposition pour voir le voir if ($debug OR !isset($page['entetes']['Content-Type'])) { $page['entetes']['Content-Type'] = @@ -133,26 +133,14 @@ if (isset($GLOBALS['_INC_PUBLIC'])) { $html = preg_match(',^\s*text/html,',$page['entetes']['Content-Type']); } - if ($var_preview AND $html) { - include_spip('inc/filtres'); // pour http_img_pack - $x = _T('previsualisation'); - $x = http_img_pack('naviguer-site.png', $x) . ' ' . majuscules($x); - $x = "