steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView day.php, 1.5, 1.6
cvs at intevation.de
cvs at intevation.de
Tue Sep 13 00:46:14 CEST 2005
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView
In directory doto:/tmp/cvs-serv15584/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView
Modified Files:
day.php
Log Message:
Fix for issue666 (fbview)
Index: day.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/kronolith/lib/FBView/day.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- day.php 29 Aug 2005 23:52:34 -0000 1.5
+++ day.php 12 Sep 2005 22:46:12 -0000 1.6
@@ -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