Changeset 10085 in spip-zone


Ignore:
Timestamp:
Mar 3, 2007, 11:41:09 AM (13 years ago)
Author:
bertrand@…
Message:

Formulaire de recherche dès que 2 auteurs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/spip-listes/spip-listes_1_9_2/exec/abonnes_tous.php

    r8999 r10085  
    104104        echo"</div>";
    105105       
    106         $result = spip_query("SELECT * FROM spip_auteurs WHERE statut!='5poubelle' AND statut!='nouveau' ORDER BY statut, nom");
    107         if (spip_num_rows($result) > 0) {
     106        $result = spip_query("SELECT id_auteur FROM spip_auteurs WHERE statut!='5poubelle' AND statut!='nouveau' LIMIT 2");
     107        if (spip_num_rows($result) > 1) {
    108108                echo "<form action='?exec=abonnes_tous' METHOD='post'>";
    109109                echo "<div align=center>\n";
Note: See TracChangeset for help on using the changeset viewer.