inc_calendrier.php 1.7 1.8

Update of /home/spip-cvs/spip/ecrire
In directory alan:/tmp/cvs-serv28628

Modified Files:
  inc_calendrier.php
Log Message:
Changement d'echelle plus progressif

Index: inc_calendrier.php

RCS file: /home/spip-cvs/spip/ecrire/inc_calendrier.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- inc_calendrier.php 18 Jul 2004 19:08:23 -0000 1.7
+++ inc_calendrier.php 18 Jul 2004 19:28:39 -0000 1.8
@@ -277,10 +277,10 @@
    if ($type != "mois") {
     $retour .= "    ";
     $retour .= http_calendrier_href($script . "type=$type&set_echelle=" .
- ($echelle+$echelle) . "&$args",
+ floor($echelle * 1.5) . "&$args",
         "<img src='$img_dir/loupe.gif' alt='zoom-' />");
     $retour .= http_calendrier_href(($script . "type=$type&set_echelle=" .
- (($echelle > 2) ? floor($echelle / 2) : 1) .
+ floor($echelle / 1.5) .
       "&$args"),
           "<img src='$img_dir/loupe.gif' alt='zoom-' />");