diff --git a/ecrire/exec/statistiques_visites.php b/ecrire/exec/statistiques_visites.php index f9b4ac3fbff2ed834dab77bf1e49a5425a27597b..834af1a8ed052c7dd25f4b9864922d495cce7898 100644 --- a/ecrire/exec/statistiques_visites.php +++ b/ecrire/exec/statistiques_visites.php @@ -134,7 +134,7 @@ else { echo "<div class='iconeoff' style='padding: 5px;'>\n"; echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; echo typo(_T('info_visites_plus_populaires')); - echo "<ol style='padding-left:25px; font-size:x-small;color:#666666;'>"; + echo "<ol style='padding-left:40px; font-size:x-small;color:#666666;'>"; $liste = 0; while ($row = spip_fetch_array($result)) { $titre = typo($row['titre']); @@ -195,9 +195,9 @@ else { creer_colonne_droite(); echo "<br /><div class='iconeoff' style='padding: 5px;'>"; - echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;overflow:hidden;'>"; echo typo(_T('info_affichier_visites_articles_plus_visites')); - echo "<ol style='padding-left:25px; font-size:x-small;color:#666666;'>"; + echo "<ol style='padding-left:40px; font-size:x-small;color:#666666;'>"; while ($row = spip_fetch_array($result)) { $titre = typo($row['titre']); @@ -764,7 +764,7 @@ $result = spip_query("SELECT referer, $vis AS vis FROM $table_ref WHERE $where O echo "<br /><br /><br />"; gros_titre(_T("onglet_origine_visites")); -echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'><br />"; +echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;overflow:hidden;'><br />"; echo aff_referers ($result, $limit, generer_url_ecrire('statistiques_visites', ('limit=' . strval($limit+200)))); echo "<br /></div>"; diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php index 58b483c4c368b9e0c3095dae1320786e7e630ee6..2fd49f5bb10383ca8fb7f265cb608e86bc6a7f08 100644 --- a/ecrire/inc/presentation.php +++ b/ecrire/inc/presentation.php @@ -120,7 +120,7 @@ function debut_cadre($style, $icone = "", $fonction = "", $titre = "") { $ret .= "</div>"; - $ret .= "<div class='cadre-padding'>"; + $ret .= "<div class='cadre-padding' style='overflow:hidden;'>"; return $ret; @@ -2598,7 +2598,7 @@ function debut_corps_page($rubrique='') { } if ($activer_imessage != "non") { - $result_auteurs = spip_query("SELECT id_auteur, nom FROM spip_auteurs WHERE id_auteur!=$connect_id_auteur AND imessage!='non' AND en_ligne>DATE_SUB(NOW(),INTERVAL 15 MINUTE)"); + $result_auteurs = spip_query("SELECT id_auteur, nom FROM spip_auteurs WHERE id_auteur!=$connect_id_auteur AND imessage!='non' AND en_ligne>DATE_SUB(NOW(),INTERVAL 15 MINUTE) AND statut IN ('0minirezo','1comite')"); $nb_connectes = spip_num_rows($result_auteurs); }