[kronolith] Feature requests

Jan Schneider janmailing@gmx.de
Mon, 25 Jun 2001 14:28:56 +0200


---------------------- multipart/mixed attachment
Zitat von Jan Kuipers <jrkuipers@lauwerscollege.nl>:

> Hello,
> 
> Some of our users asked for the possibility to switch between a half hour
> grid 
> and hours (i.e. 8.00, 8.30, 9.00, etc.) in dayview, through a user preference
> 
> (hours/half hours).

This one is easy. Attached is the patch. It also fixes some redundant border 
attributes.
 
> It would also be nice if a user can choose a default startscreen, i.e. day,
> 
> workweek, week or month.

Not as easy but is on my todo list.

Jan.
---------------------- multipart/mixed attachment
Index: day.php
===================================================================
RCS file: /cvs/horde/kronolith/day.php,v
retrieving revision 1.27
diff -u -r1.27 day.php
--- day.php	2001/05/23 16:49:23	1.27
+++ day.php	2001/06/23 23:01:26
@@ -12,9 +12,9 @@
 require_once KRONOLITH_BASE . '/lib/base.php';
 require_once KRONOLITH_BASE . '/lib/DayView.php';
 
-$month = (isset($HTTP_GET_VARS['month'])) ? $HTTP_GET_VARS['month'] : '';
-$day = (isset($HTTP_GET_VARS['day'])) ? $HTTP_GET_VARS['day'] : '';
-$year = (isset($HTTP_GET_VARS['year'])) ? $HTTP_GET_VARS['year'] : '';
+$month = Horde::getFormData('month');
+$day = Horde::getFormData('day');
+$year = Horde::getFormData('year');
 $dayOb = new Kronolith_DayView($month, $day, $year);
 $title = $dayOb->Day->getTime('l F j, Y');
 

---------------------- multipart/mixed attachment--