diff --git a/dist/style_prive.html b/dist/style_prive.html index a6167d7c1d0c9125b7fbf59c696c80e848ed3278..f8951259455695212114063c059d019fef461758 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -1673,3 +1673,18 @@ div.rub-ouverte, a.rub-ouverte { height: 10px; width: 10px; } + +td.pense-bete, a.pense-bete { + background: url(#EVAL{_DIR_IMG_PACK}wrapper.php?file=m_envoi_bleu[(#ENV{ltr}|choixsiegal{left,'',_rtl})].gif) center left no-repeat; + padding-left: 20px; +} + +td.annonce, a.annonce { + background: url(#EVAL{_DIR_IMG_PACK}wrapper.php?file=m_envoi_jaune[(#ENV{ltr}|choixsiegal{left,'',_rtl})].gif) center left no-repeat; + padding-left: 20px; +} + +td.message, a.message { + background: url(#EVAL{_DIR_IMG_PACK}wrapper.php?file=m_envoi[(#ENV{ltr}|choixsiegal{left,'',_rtl})].gif) center left no-repeat; + padding-left: 20px; +} diff --git a/ecrire/inc/agenda.php b/ecrire/inc/agenda.php index 9b6df33861db5814947f06aebc232063ab8c960c..d21624693be2c125877f1e1cc88f29ef20d8f3f1 100644 --- a/ecrire/inc/agenda.php +++ b/ecrire/inc/agenda.php @@ -1257,54 +1257,46 @@ function calendrier_categories($table, $num, $objet) } } - -// icones standards, fonction de la direction de la langue - -global $bleu, $vert, $jaune, $spip_lang_rtl; -$bleu = http_img_pack("m_envoi_bleu$spip_lang_rtl.gif", 'B', "class='calendrier-icone'"); -$vert = http_img_pack("m_envoi$spip_lang_rtl.gif", 'V', "class='calendrier-icone'"); -$jaune= http_img_pack("m_envoi_jaune$spip_lang_rtl.gif", 'J', "class='calendrier-icone'"); - // http://doc.spip.org/@http_calendrier_ics_message function http_calendrier_ics_message($annee, $mois, $jour, $large) { - global $bleu, $vert,$jaune, $connect_login; + global $connect_login; $b = _T("lien_nouvea_pense_bete"); $v = _T("lien_nouveau_message"); $j= _T("lien_nouvelle_annonce"); if (!$connect_login) return ''; - return + return " " . http_href(generer_action_auteur("editer_message","pb/$annee-$mois-$jour"), - $bleu . ($large ? $b : ''), + ($large ? $b : ' '), $b, 'color: blue;', - 'calendrier-arial10') . + 'calendrier-arial10 pense-bete') . "\n" . http_href(generer_action_auteur("editer_message","normal/$annee-$mois-$jour"), - $vert . ($large ? $v : ''), + ($large ? $v : ' '), $v, 'color: green;', - 'calendrier-arial10') . + 'calendrier-arial10 message') . (($GLOBALS['connect_statut'] != "0minirezo") ? "" : ("\n" . http_href(generer_action_auteur("editer_message","affich/$annee-$mois-$jour"), - $jaune . ($large ? $j : ''), + ($large ? $j : ' '), $j, 'color: #ff9900;', - 'calendrier-arial10'))); + 'calendrier-arial10 annonce'))); } // http://doc.spip.org/@http_calendrier_aide_mess function http_calendrier_aide_mess() { - global $bleu, $vert, $jaune, $spip_lang_left, $connect_login; + global $spip_lang_left, $connect_login; if (!$connect_login) return ''; return "\n<br /><br /><br />\n<table width='700' class='arial1 spip_xx-small'>\n<tr><th style='text-align: $spip_lang_left; font-weight: bold;'> " . _T('info_aide'). - "</th></tr><tr><td>$bleu\n"._T('info_symbole_bleu')."\n" . - "</td></tr><tr><td>$vert\n"._T('info_symbole_vert')."\n" . - "</td></tr><tr><td>$jaune\n"._T('info_symbole_jaune')."\n" . + "</th></tr><tr><td class='pense-bete'>" ._T('info_symbole_bleu')."\n" . + "</td></tr><tr><td class='message'>" . _T('info_symbole_vert')."\n" . + "</td></tr><tr><td class='annonce'>" . _T('info_symbole_jaune')."\n" . "</td></tr>\n</table>\n"; }