diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index 318f3a072a74f6cb4fee28fc544d3fd9e9e58250..15b77a1dbf5814b36533409804d23fd7ffb61a06 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -2676,6 +2676,8 @@ function pagination_item($num, $txt, $pattern, $lien_base, $debut, $ancre) { function calcul_pagination($total, $nom, $pas, $liste = true) { static $ancres = array(); + if ($pas<1) return; + if (function_exists("pagination")) return pagination($total, $nom, $pas, $liste); diff --git a/ecrire/public/composer.php b/ecrire/public/composer.php index 9a2b2b646b4da1aefe0e76f3122ada642b927e6f..6e9b0b5f74f460b6efbaa8897f119b1daeae2a57 100644 --- a/ecrire/public/composer.php +++ b/ecrire/public/composer.php @@ -73,6 +73,7 @@ function public_composer_dist($squelette, $mime_type, $gram, $sourcefile) { return $nom; } else { erreur_squelette($sourcefile, _L('Erreur de compilation')); + #var_dump($skel_code); } } } diff --git a/ecrire/public/interfaces.php b/ecrire/public/interfaces.php index acc0f735def334247f3d7eda4aead6ade4f7f229..44fbb825613f76a3355ad39564480e8b3e8c1ef7 100644 --- a/ecrire/public/interfaces.php +++ b/ecrire/public/interfaces.php @@ -276,7 +276,7 @@ $table_des_traitements['SOUSTITRE'][]= 'typo(%s)'; $table_des_traitements['SURTITRE'][]= 'typo(%s)'; $table_des_traitements['TAGS'][]= '%s'; $table_des_traitements['TEXTE'][]= 'propre(%s)'; -$table_des_traitements['TITRE'][]= 'typo(%s)'; +$table_des_traitements['TITRE'][]= 'typo(supprimer_numero(%s))'; $table_des_traitements['TYPE'][]= 'typo(%s)'; $table_des_traitements['URL_ARTICLE'][]= 'htmlspecialchars(vider_url(%s))'; $table_des_traitements['URL_BREVE'][]= 'htmlspecialchars(vider_url(%s))';