diff --git a/dist/style_prive.html b/dist/style_prive.html index 167e65c66d92f15114d60ff7e2b8d1ed713a7adb..c5623b393bc7ba77730933d8162d4d6ac8cf5a45 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -1790,4 +1790,7 @@ td.message, a.message { .jour_dimanche { background:#GET{claire};} .jour_encours { background:#fff;} .jour_gris { background:#eee;} -.calendrier-cadreagenda { background:#GET{claire};} \ No newline at end of file +.calendrier-cadreagenda { background:#GET{claire};} + +/* lang_raccourcis */ +#raccourcis .titrem {background:#GET{claire};} \ No newline at end of file diff --git a/ecrire/exec/breves.php b/ecrire/exec/breves.php index c5563645c4a8ecf608c68fce39b07ba07c7e057d..72c86145f4806fa6bc628b8ee741d14b28051d50 100644 --- a/ecrire/exec/breves.php +++ b/ecrire/exec/breves.php @@ -47,7 +47,6 @@ function exec_breves_dist() echo $res ; if ($editable) { - if (!$res) echo bandeau_titre_boite2($titre, "breve-24.gif", 'toile_foncee', "ligne_blanche"); echo "<div style='float:$spip_lang_right'>" . icone_inline(_T('icone_nouvelle_breve'), generer_url_ecrire("breves_edit","new=oui&id_rubrique=$id_rubrique"), "breve-24.gif", "creer.gif", $spip_lang_right) . "</div><br class='nettoyeur' />"; diff --git a/ecrire/exec/lang_raccourcis.php b/ecrire/exec/lang_raccourcis.php index d71eeff63f335eab4e39781db4b41c44f587d103..c4383acabd631dbfbc94aaf7277c0a0bdef0e68b 100644 --- a/ecrire/exec/lang_raccourcis.php +++ b/ecrire/exec/lang_raccourcis.php @@ -46,8 +46,7 @@ function exec_lang_raccourcis_dist() { debut_gauche(); if (count($modules) > 1) { - echo debut_cadre_relief(); - echo "<div class='verdana3 toile_foncee' style='color: white; padding: 3px;'><b>"._T('module_fichiers_langues').":</b></div><br />\n"; + echo debut_cadre_relief('',true,'',_T('module_fichiers_langues')); foreach ($modules as $nom_module) { if ($nom_module == $module) echo "<div style='padding-$spip_lang_left: 10px;' class='verdana3'><b>$nom_module</b></div>"; @@ -94,16 +93,17 @@ function afficher_raccourcis($module = "public") { echo "</div><div> </div>"; } - echo "\n<table cellpadding='3' cellspacing='1' border='0'>"; - echo "\n<tr class='toile_foncee' style='color:white;'><td class='verdana1'><b>"._T('module_raccourci')."</b></td>\n<td class='verdana2'><b>"._T('module_texte_affiche')."</b></td></tr>\n"; + echo debut_cadre_relief('',true,'','','raccourcis'); + echo "\n<table class='spip' style='border:0;'>"; + echo "\n<tr class='titrem'><th class='verdana1'>"._T('module_raccourci')."</th>\n<th class='verdana2'>"._T('module_texte_affiche')."</th></tr>\n"; $i = 0; foreach ($tableau as $raccourci => $val) { - $bgcolor = alterner($i++, '#eeeeee','white'); - echo "\n<tr style='background-color: $bgcolor'><td class='verdana2'><b><:$aff_nom_module$raccourci:></b></td>\n<td class='arial2'>".$val."</td></tr>"; + $bgcolor = alterner(++$i, 'row_even','row_odd'); + echo "\n<tr class='$bgcolor'><td class='verdana2'><b><:$aff_nom_module$raccourci:></b></td>\n<td class='arial2'>".$val."</td></tr>"; } - echo "</table>"; + echo "</table>",fin_cadre_relief(true); } ?>