|
@@ 302-308 (lines=7) @@
|
| 299 |
|
$cpt2[$row['statut']] = $defaut; |
| 300 |
|
} |
| 301 |
|
if ($cpt) { |
| 302 |
|
if ($where) { |
| 303 |
|
$q = sql_select("COUNT(*) AS cnt, statut", 'spip_articles', $where, "statut"); |
| 304 |
|
while($row = sql_fetch($q)) { |
| 305 |
|
$r = $row['statut']; |
| 306 |
|
$cpt2[$r] = intval($row['cnt']) . '/'; |
| 307 |
|
} |
| 308 |
|
} |
| 309 |
|
$res .= afficher_plus(generer_url_ecrire("articles_page",""))."<b>"._T('info_articles')."</b>"; |
| 310 |
|
$res .= "<ul style='margin:0px; padding-$spip_lang_left: 20px; margin-bottom: 5px;'>"; |
| 311 |
|
if (isset($cpt['prepa'])) $res .= "<li>"._T("texte_statut_en_cours_redaction").": ".$cpt2['prepa'] . $cpt['prepa'] .'</li>'; |
|
@@ 328-334 (lines=7) @@
|
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
if ($cpt) { |
| 328 |
|
if ($where) { |
| 329 |
|
$q = sql_select("COUNT(*) AS cnt, statut", 'spip_breves', $where, "statut"); |
| 330 |
|
while($row = sql_fetch($q)) { |
| 331 |
|
$r = $row['statut']; |
| 332 |
|
$cpt2[$r] = intval($row['cnt']) . '/'; |
| 333 |
|
} |
| 334 |
|
} |
| 335 |
|
$res .= afficher_plus(generer_url_ecrire("breves",""))."<b>"._T('info_breves_02')."</b>"; |
| 336 |
|
$res .= "<ul style='margin:0px; padding-$spip_lang_left: 20px; margin-bottom: 5px;'>"; |
| 337 |
|
if (isset($cpt['prop'])) $res .= "<li>"._T("texte_statut_attente_validation").": ".$cpt2['prop'].$cpt['prop'] . '</li>'; |