|
@@ 34-41 (lines=8) @@
|
| 31 |
|
$h = generer_url_ecrire("articles","id_article=$id_article"); |
| 32 |
|
$vos .= "<a class='$statut spip_xx-small' href='$h'>$titre</a>\n"; |
| 33 |
|
} |
| 34 |
|
if ($vos) { |
| 35 |
|
$t = _T('info_en_cours_validation'); |
| 36 |
|
$gadget .= debut_cadre('bandeau-rubriques',"article-24.gif",'',afficher_plus(generer_url_ecrire("articles_page")).$t) |
| 37 |
|
. "\n<div class='plan-articles'>\n" |
| 38 |
|
. $vos |
| 39 |
|
. "</div>" |
| 40 |
|
. fin_cadre('bandeau-rubriques'); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
$vos_articles = sql_select("id_article, id_rubrique, titre, statut", "spip_articles", "statut='prop'", "date", "date DESC", "5"); |
| 44 |
|
$vos = ''; |
|
@@ 52-58 (lines=7) @@
|
| 49 |
|
$h = generer_url_ecrire("articles","id_article=$id_article"); |
| 50 |
|
$vos .= "<a class='$statut' href='$h'>$titre</a>"; |
| 51 |
|
} |
| 52 |
|
if ($vos) { |
| 53 |
|
$gadget .= debut_cadre('bandeau-rubriques',"article-24.gif",'',afficher_plus(generer_url_ecrire())._T('info_articles_proposes')) |
| 54 |
|
. "<div class='plan-articles'>" |
| 55 |
|
. $vos |
| 56 |
|
. "</div>" |
| 57 |
|
. fin_cadre('bandeau-rubriques'); |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
$vos_articles = sql_select("id_breve,titre,statut", "spip_breves", "statut='prop'", "date_heure", "date_heure DESC", "5"); |
| 61 |
|
$vos = ''; |
|
@@ 68-74 (lines=7) @@
|
| 65 |
|
$statut = $row['statut']; |
| 66 |
|
$vos .= "<a class='$statut spip_xx-small' href='" . generer_url_ecrire("breves_voir","id_breve=$id_breve") . "'>$titre</a>"; |
| 67 |
|
} |
| 68 |
|
if ($vos) { |
| 69 |
|
$gadget .= debut_cadre('bandeau-rubriques',"breve-24.gif",'',afficher_plus(generer_url_ecrire("breves"))._T('info_breves_valider')) |
| 70 |
|
. "<div class='plan-articles'>" |
| 71 |
|
. $vos |
| 72 |
|
. "</div>" |
| 73 |
|
. fin_cadre('bandeau-rubriques'); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
$une_rubrique = sql_getfetsel('id_rubrique', 'spip_rubriques', '','','', 1); |
| 77 |
|
if ($une_rubrique) { |