[SPIP Zone] r4422 - in /_plugins_branche_stable_/_spip_1_9_0_/spip-meteo: img_pack/ inc/

Author: pierre.basson@gmail.com
Date: Sun Aug 6 14:34:04 2006
New Revision: 4422

Log:
ajout de quelques icônes

Added:
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/brouillard.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/inconnu.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuage.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuages.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/neige.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/nuages.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/orage.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/pluie.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuage.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuages.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/vent.png (with props)
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/verglas.png (with props)
Modified:
    _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/inc/meteo_fonctions.php

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/brouillard.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/brouillard.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/inconnu.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/inconnu.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuage.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuage.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuages.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune-nuages.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/lune.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/neige.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/neige.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/nuages.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/nuages.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/orage.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/orage.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/pluie.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/pluie.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuage.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuage.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuages.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil-nuages.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/soleil.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/vent.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/vent.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/verglas.png

Binary file - no diff available.

Propchange: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/img_pack/verglas.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/inc/meteo_fonctions.php

--- _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/inc/meteo_fonctions.php (original)
+++ _plugins_branche_stable_/_spip_1_9_0_/spip-meteo/inc/meteo_fonctions.php Sun Aug 6 14:34:04 2006
@@ -313,8 +313,8 @@

       $tmp_var = substr(md5(join('', $requete)), 0, 4);
       $deb_aff = intval(_request('t_' .$tmp_var));
- $largeurs = array('100', '100', '50', '50');
- $styles = array('arial2', 'arial2', 'arial1', 'arial1');
+ $largeurs = array('18', '100', '100', '50', '50');
+ $styles = array('', 'arial2', 'arial2', 'arial1', 'arial1');
     $col = 4;
     return affiche_tranche_bandeau($requete, '../'._DIR_PLUGIN_METEO.'/img_pack/previsions.png', $col, 'white', 'black', $tmp_var, $deb_aff, $titre_table, false, $largeurs, $styles, 'meteo_afficher_previsions_boucle');
   }
@@ -338,8 +338,11 @@
     $minima = $row['minima'];
     $maxima = $row['maxima'];
   
+ // L'icone du temps
+ $vals[] = http_img_pack('../'._DIR_PLUGIN_METEO.'/img_pack/'.$tableau_meteo[$id_temps].'.png', _T('meteo:meteo_'.$tableau_meteo[$id_temps]), "");
+
     // La date
- $vals[] = affdate_jourcourt($date);
+ $vals[] = nom_jour($date).' '.affdate_jourcourt($date);
   
     // Le temps
     $vals[] = _T('meteo:meteo_'.$tableau_meteo[$id_temps]);