Commit Graph

29 Commits

Author SHA1 Message Date
Ralf Becker
cb59056b85 fixed wrong unit-label 2005-08-17 11:04:21 +00:00
Ralf Becker
ef3e6bc4f4 New widget for durations: floating point input with an optional selectbox to specify a unit (hours or days). The storage format is configurabe and can be either minutes (integer) or hours or days as float 2005-06-02 22:43:44 +00:00
Ralf Becker
7a39be36b6 some bugfixes:
- date-time: empty date not recogniced
- date-timeonly, date-houronly: use only seconds, no timezone converstation between server-time and UTC (default for mktime())
2005-04-10 21:25:42 +00:00
Ralf Becker
6b3eda15a6 fix to allow setting needed attribute for dates 2005-03-05 14:56:30 +00:00
Ralf Becker
ac060de053 docu update 2005-02-22 22:11:00 +00:00
Ralf Becker
e0a0cfc9fe first step to a new eTemplate editor:
- based on existing show function the template can be edited in place
- dblclicked widgets will be edited in a popup
- new editor supports not only one grid, but a hirachical tree of widgets
still missing:
- editing and operations of grid rows and columns
- type-specific templates for the popup, to make the options more intuitiv
In the meantime the old editor is still functional
2005-02-15 23:22:10 +00:00
Ralf Becker
22f7aaf56c fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
also added input-validation for dates
2005-02-09 10:15:49 +00:00
Ralf Becker
33f5cb30c8 added two new widgets:
- hour with 12/24 preference
- day of week
2004-10-07 21:58:33 +00:00
Ralf Becker
ff47845902 added option to suppress time in the readonly display if it's 0h0 2004-08-28 17:57:44 +00:00
Ralf Becker
2f7c4cb8fc removed tz-converstation:
- to fix tz-probs in infolog
- in my belive tz-conversation should always be done in the bo-layer and not in ui (eTemplate)
2004-08-28 17:56:27 +00:00
Ralf Becker
bd460d0ea1 fixed readonly display 2004-02-05 13:27:20 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
Ralf Becker
5d922e91f1 fixed jscalendar to work with date-format 'd-M-Y', for multibyte charsets this needs mbstring and mbstring_overload & 2 (!) to work fully, thought it is usable without 2003-11-03 12:03:17 +00:00
Ralf Becker
3c7811e45a fixed translation of the date-widget's label 2003-10-25 21:02:16 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
940249850e added the jsCalendar to the date_widget 2003-08-18 23:15:59 +00:00
Ralf Becker
99c2ae7f92 added readonly-display for date-time and date-only_time 2003-04-27 08:50:20 +00:00
Ralf Becker
5da28cbdb2 1min steps for minutes via parameter or fallback vi value is not in 5min steps 2003-04-14 21:59:24 +00:00
Ralf Becker
38c7e3d145 fix for the date-widget of the today button and javascript 2003-04-13 21:47:03 +00:00
Ralf Becker
3e73fa66d8 added time and date+time to date_widget and select-number to select_widget 2003-04-13 19:14:50 +00:00
Ralf Becker
74248930c5 date_widget has now an option to show an input for the year instead a select-box, datefield_widget is no longer used 2002-10-12 22:34:50 +00:00
Ralf Becker
7a07eef5b5 if date_widget is readonly: just generate a label with the Date in the form spec. in the user-prefs 2002-10-12 16:39:10 +00:00
Ralf Becker
ee4ac7ac0b new coded useing select-day, -month, -year 2002-10-06 00:15:14 +00:00
Ralf Becker
290ba0b094 completly rewritten uietemplate::process_show to not longer need to work recursively and be able to do input-checks later on 2002-10-01 18:26:30 +00:00
Ralf Becker
ed81de3f86 big performance improvment by using references (droped php3 compatibility) 2002-09-27 16:17:39 +00:00
Ralf Becker
7bd87b1180 changed interface for extensions to:
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
post_process(&$cell,&$value,&$extension_data,&$loop)
2002-09-24 21:57:15 +00:00
Ralf Becker
569a3672b0 some corrections for the inline-doc-parser 2002-09-02 11:14:30 +00:00
Ralf Becker
370eb1a638 change in the params of the extension-interface 2002-06-09 21:36:06 +00:00
Ralf Becker
daceac54ad Added interface to extend eTemplates with new widgets.
The widget got automaticaly loaded from the app's inc dir (or etemplate's inc dir).
Two examples ilustrate how to use the interface:
 - date: class.date_widget.inc.php reads dates via sbox.getDate
 - datefield: class.datefield_widget.inc.php reads dates via 3 textfields
2002-05-13 21:30:46 +00:00