[dev] Re: [cvs] commit: horde/lib/Form Calendar.php nag task.php

Marko Djukic marko at oblo.com
Thu Aug 7 13:30:52 PDT 2003


Quoting Michael M Slusarz <slusarz at bigworm.colorado.edu>:

> slusarz     2003/08/07 12:16:02 PDT
>
>   Modified files:
>     lib/Form             Calendar.php
>     .                    task.php
>   Log:
>   It makes more sense to set the 'selected' values for the
> Horde_Form_Calendar::
>   functions with their actual values rather than a timestamp.
>   In nag, this helps by allowing us to use a single getdate() call instead of
>   five separate date() calls.

you really should have a look at horde_form... i think it will be a lot easier
for you to standardise the apps on a form api that is already done, ie
horde_form. plus it would cut down on a *lot* of code duplication... and i
think you might be going through some reinventing of the wheel at the moment...

marko


More information about the dev mailing list