Commit Graph

108 Commits

Author SHA1 Message Date
Ralf Becker
3de0d563ca - fixed horizontal alignment of all box-types
- allow to re-enable (by default) disabled cells, via setting the value for their name in $readonlys to false
- class attribute can be a reference into the content (@) and/or contain vars like $row or $col
2005-04-27 20:53:17 +00:00
Ralf Becker
a713f8afac 1) autorepeated colums: only check if the max. column-number, reached so far, is exeeded, otherwise the rows have a differen number of cells and it saved a lot check
2) no <label> tags of readonly widgets or label-widgets
2005-04-22 13:51:59 +00:00
Ralf Becker
851439d0d9 using now class set in cells of a VBOX or HBOX 2005-04-14 22:35:24 +00:00
Ralf Becker
da8ccaa6bb allow to specify the app of an image by giving <app>/<name> instead just a <name> 2005-04-08 18:31:55 +00:00
Ralf Becker
af01149810 fixed to bugs:
1) cat-selection in nextmatch does not switch back to all, after a cat has been selected
2) error when using internal widget type deck
2005-04-06 06:31:27 +00:00
Ralf Becker
88577483bd fixed editing of versions other then the latest version 2005-03-29 14:16:42 +00:00
Ralf Becker
6c4843263f the nextmatch callback can now change or add items to sel_options, eg. to set column-filter contents depending on other column-filters 2005-03-13 23:38:37 +00:00
Ralf Becker
c2bf8d30af allow to specify a target for links on images 2005-03-07 21:56:30 +00:00
Ralf Becker
8c03c0999a - allow to ignore validation-errors of certain fields (for the editor)
- allow to set and promote attributes for process_exec in extensions (needed for date)
- readonly removes file-uploads now
- readonly value for mulitselectbox is in multiple lines now
2005-03-05 14:59:33 +00:00
Ralf Becker
9f525747b4 bugfixes and using the checkbox version for the mutiple selectbox 2005-02-24 21:02:24 +00:00
Ralf Becker
717f53ece2 some bugfixes:
- tab-widgets can be edited (new editor lost template content and onclick_handler, if looping)
- select widgets accept again options via $sel_options[$name]  $name is the name of the widget and not the form_name
- grid-options get loaded again via the old editor
2005-02-23 14:33:00 +00:00
Ralf Becker
8c34e1e04e - style popup is working now: allows to edit the embeded styles of an eTemplate as well of the apps app.css file
- some bugfixes in the editor
- popups can now directly called by a button and you can pass params via the content array
2005-02-22 21:02:26 +00:00
Ralf Becker
21c6ebd17e next step to a new eTemplate editor:
- new editor has now everything the old one had, beside editing of embeded stylesheets
- new possibility to define a confirmation for buttons via javascript
- finetuned the garbadge collection for php4 sessions
2005-02-20 21:45:24 +00:00
Ralf Becker
dfd35114a5 next step to a new eTemplate editor:
- widget editor works quite nice
- beware it can create Templates the old editor cant understand and destroy if you save or export them from the old editor!
=> need to move the other functionality (import, export, dump, ..) of the old editor to the new one, so the old editor can retire ;-)
2005-02-18 22:44:42 +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
bc13c208fe fixed inline documentation, works very nice now 2005-02-13 13:03:36 +00:00
Ralf Becker
ab02fe9ee0 fix for bug [ 1120676 ] Date&Linking Probs in InfoLog:
caused by error in handling of array's when magic_quotes_gpc was on
2005-02-12 13:59:08 +00:00
Ralf Becker
84e89d31be Step #2: Redering and importing (xml) are working now with any tree.
Export and editing still need to be reworked.
More to come ...
2005-02-08 12:29:06 +00:00
Ralf Becker
7c0bce63ed reworked a bit the UI:
- more idots conform (app_header)
- showing im-/exported xml (fixed old debug output)
- return works not in the name-field
2005-02-06 18:12:26 +00:00
Ralf Becker
472733589f fixed translation of groupbox caption 2005-02-06 17:52:43 +00:00
Ralf Becker
52b42e13bb 1) added GroupBox (HTML: fieldset) to group widgets by a frame with an optional caption
2) Step #1 of removing eTemplate's limitation on allowing only a grid as root element of the widget tree (which can NOT directly contain further grids, thought references to other templates/grids are ok). The storage layer allows now a real tree. Redering and editing only works on the old data variable, which is now a reference to the first grid in the tree.
More to come ...
2005-02-06 15:49:50 +00:00
Ralf Becker
60a34f34fc Fixed disapearing backslashes if magic_quotes_gpc=Off. Now stripslashes is only run if it's On. 2005-02-04 13:40:56 +00:00
Ralf Becker
72140f4425 changed documentation to phpdoc standard and added a new output-mode for popups (no navbar) 2004-10-07 21:53:41 +00:00
Ralf Becker
7a28a6bcd0 fix for problem reported by Julius Wehrmann, a single date-picker (no other widgets) does not work 2004-09-20 18:51:31 +00:00
Ralf Becker
9e1dcb9a78 fixed double translation of extra options in selectboxes 2004-08-28 15:52:32 +00:00
Ralf Becker
c7e6cb74fa ability to specify plugins for htmlarea 2004-08-21 08:04:23 +00:00
Ralf Becker
00d45abcfe always use the charset param for htmlspecialchars (via html::htmlspecialchars) 2004-08-02 07:24:44 +00:00
Ralf Becker
6368a36d2c 1) fixed missing translation in validation messages
2) validation only loops now, if a button (not cancle) is pressed, selectboxes with onchange dont get stoped by validation errors ==> fix for bug [ 1001568 ] status is not updated
2004-08-01 19:26:33 +00:00
Ralf Becker
d6bc8096ac *** empty log message *** 2004-07-09 18:21:27 +00:00
Ralf Becker
2cef87570c setting table-cells without align to left, to fix wired inheritance in IE 2004-06-23 15:47:36 +00:00
Ralf Becker
ec1cf301b2 added input-validation:
- needed (= not to be empty) fields are enforced now
- min and max values and format of int and float fields
- validator for text-fields (perl regular expression)
The input-validation is handled completly withing eTemplate, the application dont need to implement any code, just set the right attributes in the template. Validation-errors are displayed in red behind the concerning field, try the template 'etemplate.validation-test' in the editor.
2004-04-05 01:33:23 +00:00
Ralf Becker
d29ea406c2 fixed not translated help-messages if no_lang was checked 2004-03-24 01:20:00 +00:00
Ralf Becker
345db0ee59 use new progressbar for image/buttons with names like xx% 2004-02-29 09:55:48 +00:00
Ralf Becker
3b5d09927e added htmlarea 2004-02-28 22:41:32 +00:00
Ralf Becker
1e1fa5f457 new parameter to label-widget, to activate the links 2004-02-26 15:33:33 +00:00
Ralf Becker
cb7fa13a6f 1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
Ralf Becker
a60285870b 1) preserving app_header if widget loops / reloads
2) size or options field gets now expaned, one can use eg "$row_content[blah]" in it
3) killed a warning in handling of readonly
2004-02-05 13:31:54 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
Ralf Becker
b05fc623e2 some fixes for the improved nextmatch 2003-12-10 01:21:31 +00:00
Ralf Becker
2b7b9e388f sort- and filter-headers for the nextmatch widget 2003-12-09 00:03:41 +00:00
Ralf Becker
e6fdb028ab fix for file-upload off (in php.ini) 2003-12-02 08:02:31 +00:00
Ralf Becker
554a3e93bb - fixed problem with auto-repeated rows not working everytime
- allow for first name-parts for select-options
2003-10-26 19:26:58 +00:00
Ralf Becker
ee7ec2bcd3 moved the html-class to the API 2003-09-14 10:25:05 +00:00
Ralf Becker
9c19f4d33c fix to work with version 0.9.99 2003-09-13 21:07:27 +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
aa22cef37d added parameter to exec to return the html, used for hook_home 2003-07-06 20:07:19 +00:00
Ralf Becker
db98ed31a1 replaced htmlentities with htmlspecialchars 2003-07-06 11:01:40 +00:00
Ralf Becker
7073ae95c2 nextmatch_widget:
- 2 header-templates left and right from the range-display
- optional nextmatch-line with arrows, search, cats, ... after the rows
link_widget:
- new sub-type link-string
Updateted the documenations and lang-files.
2003-06-29 17:00:05 +00:00
Ralf Becker
17ea20cbcc some htmlentities against XSS 2003-06-26 19:16:12 +00:00