[spip-dev] =?iso-8859-1?Q?=5BPATCH=5D_cosm=E9tique_liste_des_articles?=

Le lien souligné, ce n'est pas beau s'il y a une espace avant le texte.

Correction :

ARTICLES :

                        if ($statut=='publie') $puce = 'verte';
                        else if ($statut == 'prepa') $puce = 'blanche';
                        else if ($statut == 'prop') $puce = 'orange';
                        else if ($statut == 'refuse') $puce = 'rouge';
                        else if ($statut == 'poubelle') $puce = 'poubelle';
                        if (acces_restreint_rubrique($id_rubrique))
                                $puce = "puce-$puce-anim.gif";
                        else
                                $puce = "puce-$puce.gif";

                        $s = "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .= "<img src=\"img_pack/$puce\" alt='-' width=\"13\" height=\"14\" border=\"0\"></A>";
                        $s .= "&nbsp;&nbsp;"
                        $s .= "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .=typo($titre)."</A>";
                        if ($petition) $s .= " <Font size=1 color='red'>P&Eacute;TITION</font>";

BREVES :
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">";
                        $s .= "<img src='img_pack/$puce.gif' alt='o' width=\"8\" height=\"9\" border=\"0\"></a>";
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">&nbsp;&nbsp;";
                        $s .= typo($titre);
                        $s .= "</A>";

Euh... tu peux détailler ?

@ Gaetan Ryckeboer <gryckeboer@virtual-net.fr> :

Le lien souligné, ce n'est pas beau s'il y a une espace avant le texte.

Correction :

ARTICLES :

                        if ($statut=='publie') $puce = 'verte';
                        else if ($statut == 'prepa') $puce = 'blanche';
                        else if ($statut == 'prop') $puce = 'orange';
                        else if ($statut == 'refuse') $puce = 'rouge';
                        else if ($statut == 'poubelle') $puce = 'poubelle';
                        if (acces_restreint_rubrique($id_rubrique))
                                $puce = "puce-$puce-anim.gif";
                        else
                                $puce = "puce-$puce.gif";

                        $s = "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .= "<img src=\"img_pack/$puce\" alt='-' width=\"13\" height=\"14\" border=\"0\"></A>";
                        $s .= "&nbsp;&nbsp;"
                        $s .= "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .=typo($titre)."</A>";
                        if ($petition) $s .= " <Font size=1 color='red'>P&Eacute;TITION</font>";

BREVES :
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">";
                        $s .= "<img src='img_pack/$puce.gif' alt='o' width=\"8\" height=\"9\" border=\"0\"></a>";
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">&nbsp;&nbsp;";
                        $s .= typo($titre);
                        $s .= "</A>";

--
"Un homme qui parle trois langues est trilingue. Un homme qui parle deux
langues est bilingue. Un homme qui ne parle qu'une langue est anglais."
-- Claude Gagnère

Gaétan RYCKEBOER Société Virtual-Net
[Tous textes et propos tenus dans cet email sont sous license DMDZZ]
_______________________________________________
spip-dev@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-dev

-- Fil

Ah! Compris !

@ Gaetan Ryckeboer <gryckeboer@virtual-net.fr> :

Le lien souligné, ce n'est pas beau s'il y a une espace avant le texte.

Correction :

ARTICLES :

                        if ($statut=='publie') $puce = 'verte';
                        else if ($statut == 'prepa') $puce = 'blanche';
                        else if ($statut == 'prop') $puce = 'orange';
                        else if ($statut == 'refuse') $puce = 'rouge';
                        else if ($statut == 'poubelle') $puce = 'poubelle';
                        if (acces_restreint_rubrique($id_rubrique))
                                $puce = "puce-$puce-anim.gif";
                        else
                                $puce = "puce-$puce.gif";

                        $s = "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .= "<img src=\"img_pack/$puce\" alt='-' width=\"13\" height=\"14\" border=\"0\"></A>";
                        $s .= "&nbsp;&nbsp;"
                        $s .= "<A HREF=\"articles.php3?id_article=$id_article\">";
                        $s .=typo($titre)."</A>";
                        if ($petition) $s .= " <Font size=1 color='red'>P&Eacute;TITION</font>";

BREVES :
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">";
                        $s .= "<img src='img_pack/$puce.gif' alt='o' width=\"8\" height=\"9\" border=\"0\"></a>";
                        $s = "<a href=\"breves_voir.php3?id_breve=$id_breve\">&nbsp;&nbsp;";
                        $s .= typo($titre);
                        $s .= "</A>";

--
"Un homme qui parle trois langues est trilingue. Un homme qui parle deux
langues est bilingue. Un homme qui ne parle qu'une langue est anglais."
-- Claude Gagnère

Gaétan RYCKEBOER Société Virtual-Net
[Tous textes et propos tenus dans cet email sont sous license DMDZZ]
_______________________________________________
spip-dev@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-dev

-- Fil