Skip to content
Extraits de code Groupes Projets
Valider d7fca3e7 rédigé par Fil's avatar Fil
Parcourir les fichiers

boutons "afficher par tranche" sur les brèves, etc

parent 613b02be
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -192,11 +192,11 @@ if ($id_mot) {
afficher_breves(_T('info_breves_liees_mot'),
"SELECT breves.* FROM spip_breves AS breves, spip_mots_breves AS lien WHERE lien.id_mot='$id_mot'
AND lien.id_breve=breves.id_breve ORDER BY breves.date_heure DESC LIMIT 0,10");
AND lien.id_breve=breves.id_breve ORDER BY breves.date_heure DESC");
afficher_sites(_T('info_sites_lies_mot'),
"SELECT syndic.* FROM spip_syndic AS syndic, spip_mots_syndic AS lien WHERE lien.id_mot='$id_mot'
AND lien.id_syndic=syndic.id_syndic ORDER BY syndic.nom_site DESC LIMIT 0,10");
AND lien.id_syndic=syndic.id_syndic ORDER BY syndic.nom_site DESC");
}
fin_cadre_relief();
......
......@@ -58,10 +58,10 @@ if (strlen($recherche) > 0) {
$where = " 1=2";
$query_articles .= " $where ORDER BY date_modif DESC";
$query_breves .= " $where ORDER BY maj DESC LIMIT 0,10";
$query_rubriques .= " $where ORDER BY maj DESC LIMIT 0,10";
$query_breves .= " $where ORDER BY maj DESC";
$query_rubriques .= " $where ORDER BY maj DESC";
$query_sites .= " $where ORDER BY maj DESC LIMIT 0,10";
$query_sites .= " $where ORDER BY maj DESC";
$query_sites = ereg_replace("titre LIKE", "nom_site LIKE", $query_sites);
$activer_moteur = (lire_meta('activer_moteur') == 'oui');
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter