From: Peter L. <pal...@gm...> - 2011-08-28 03:41:58
|
Update 392 implements the suggestion Isabelle made re selecting just month and year for monthly type forms. I have only implemented it for monthly.php so far. There is a small bug in the datetimepicker.js when used in monthly.php. It puts "undefined" at the top of the date picking popup, and I haven't worked out where that is coming from. If someone can help fix that error it would be much appreciated. Once the bug is fixed, i will propagate the change to other monthly type forms. Peter On 08/27/2011 07:18 AM, Isabelle Vergely wrote: > Hello, > > In this revision: > > - minor changes: utf8_encode added for correct display of dates; use of the utf-8 charset for meta tag of popup_template.php > > - modification of datetimepicker_css.js for translation of month names and week day names: > o removal of MonthName, WeekDayName1 and WeekDayName2 in datetimepicker_css.js > o new corresponding values of these variables in language files > o new file include/language/datetimepicker_lang.inc to set variables using the language files > o before each use of datetimepicker_css.js in PHP files, addition of require_once for datetimepicker_lang.inc > > I think what the datetimepicker is only needed for forms about a short period of time (less than a month) as for: daily, weekly, simple, weekly and half-month reports. > For other forms where the period of time is a month (monthly, submit, absence, ...), I suggest a small calendar displaying only month and year or the use of two "selects" (month, year). What is your opinion? > > Isabelle. > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers |