steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView day.php, 1.4.2.1, 1.4.2.2

cvs at intevation.de cvs at intevation.de
Tue Sep 13 00:43:36 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView
In directory doto:/tmp/cvs-serv15495/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView

Modified Files:
      Tag: kolab_2_0_branch
	day.php 
Log Message:
Missed this one for Issue666 -- the bug of the beast...

Index: day.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView/day.php,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- day.php	29 Aug 2005 23:53:19 -0000	1.4.2.1
+++ day.php	12 Sep 2005 22:43:33 -0000	1.4.2.2
@@ -56,8 +56,8 @@
             $right = 100;
             $width = $right - $left;
 
-            $template->set('left', $left);
-            $template->set('width', $width);
+            $template->set('left', sprintf("%F", $left));
+            $template->set('width', sprintf("%F", $width));
             $template->set('top', $count++ * 15);
             $template->set('label', _("Unknown"));
             $blocks .= $template->fetch(KRONOLITH_TEMPLATES . '/fbview/unknownblock.tpl');
@@ -66,8 +66,8 @@
             $right = min(100, 100 * (($member->getStart() - $this->_startStamp) / ($this->_endStamp - $this->_startStamp)));
             $width = $right - $left;
 
-            $template->set('left', $left);
-            $template->set('width', $width);
+            $template->set('left', sprintf("%F", $left));
+            $template->set('width', sprintf("%F", $width));
             $template->set('top', $count++ * 15);
             $template->set('label', _("Unknown"));
             $blocks .= $template->fetch(KRONOLITH_TEMPLATES . '/fbview/unknownblock.tpl');





More information about the commits mailing list