Cornelius Weiß
be0bce8b40
add types passwd and select-lang
2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85
fix for bug #87 : Infolog - Addressbook categories mixed in 1.2.x
...
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Cornelius Weiß
8e647edc80
kill php5.2 warnings
2006-12-02 11:03:54 +00:00
Ralf Becker
efb218c924
we can have multiple comma-separated types now
2006-11-23 13:52:56 +00:00
Ralf Becker
2151ad6579
ability to limit the app selectbox to certain apps
2006-11-07 18:04:33 +00:00
Ralf Becker
76ac8d4381
php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string
2006-11-07 14:22:49 +00:00
Ralf Becker
fa3a9da379
enhanced the select-widget to preserv cats added to an entry, which are unavailible for the current user (eg. because they are private cats of an other user or user-cats added the an address in the group-addressbook)
2006-11-03 10:56:40 +00:00
Ralf Becker
e9cc37b01c
link-entry widget returned wrong value, if value was preset and never changed, eg. InfoLogs created from PM or Addressbook
2006-10-27 10:48:29 +00:00
Ralf Becker
5bb1444e90
Need to load etemplate translation for the error-message
2006-10-26 12:11:11 +00:00
Ralf Becker
62bb270e0f
added sub-type 'Account contactdate'
2006-10-26 11:09:34 +00:00
Ralf Becker
890cbb87e6
added sub-type 'Account contactdate'
2006-10-26 10:57:47 +00:00
Cornelius Weiß
40181f7d5c
ups
2006-10-24 20:14:47 +00:00
Cornelius Weiß
cc0705e83a
cleanup
2006-10-24 20:12:33 +00:00
Ralf Becker
dae2c126df
fixed not working (resetable) checkboxes
2006-10-24 14:15:28 +00:00
Ralf Becker
c02a67c9af
allow to specify multiple, comma-speparated id's for the link-entry widget
2006-10-23 11:22:15 +00:00
Ralf Becker
e339994538
removed unnecessary reset of the loop var, so one can use it to detect if etemplate is looping
2006-10-22 11:37:38 +00:00
Cornelius Weiß
8d7bca0d8f
start with reimplementation of advanced search
2006-10-21 20:16:25 +00:00
Ralf Becker
73cfd5e7cc
fixed error-message in the editor: method is no string
2006-10-19 19:05:48 +00:00
Ralf Becker
9ab93a73a2
fix for bug #24 : Contact widget displays contact_id if contact not found
2006-10-19 18:19:11 +00:00
Ralf Becker
c461da0bbd
fixed an off by one problem
2006-10-17 17:27:15 +00:00
Ralf Becker
0d1c4664c3
fixed after some recent updates not working file-upload in etemplate
2006-10-16 20:01:31 +00:00
Cornelius Weiß
d0a7a9aaf4
fix: etemplate does not like my previous patch, don't know why :-(
2006-10-10 18:03:27 +00:00
Cornelius Weiß
4648c5025e
don't set items witch are not submitted from UA in content array on callback.
...
This is usefull if u want to process just subsets of a form e.g. by xajax
2006-10-10 15:10:07 +00:00
Cornelius Weiß
e4d865e365
adopetd ajax-loader to ralfs new namespace concept
2006-10-09 17:36:40 +00:00
Ralf Becker
dbe9270c1b
allow to call etemplate widgets via xajax:
...
- "etemplate" handler replaces the appname with etemplate
- uietemplate::js_pseudo_funcs() replace xajax_doXMLHTTP('etemplate.xyz_widget.method', with xajax_doXMLHTTP('currentapp.xyz_widget.method.etemplate',
--> fixes the not working new link-widgets in trunc (not working for non-admins / no etemplate run rights)
2006-04-06 05:10:32 +00:00
Ralf Becker
c1b1453108
- for extensions also trying an extension-specific template-name
...
- fixed not correct set template after a type change
2006-10-05 08:49:09 +00:00
Ralf Becker
d2ad639d3e
- syntax of link-entry widget (addressbook:id instead of just id)
...
- fixed loading of field translations
2006-10-05 08:05:25 +00:00
Ralf Becker
0cb2c831ec
translations for widget names
2006-10-05 06:36:47 +00:00
Ralf Becker
8ccab4e7cc
widget to show a field from a contact (used for forms in infolog)
2006-10-04 20:23:44 +00:00
Ralf Becker
532264b3fa
new customfield types to select entry of other apps, eg. a contact
2006-10-04 17:10:05 +00:00
Ralf Becker
f68c173c30
- link widgets uses now ajax to search
...
- new sub-type to search and select an entry of a selectable or given app
- more to come
2006-09-29 19:55:00 +00:00
Ralf Becker
2d2a18959f
- allow to set id for box, hbox, vbox and grid
...
- new function js_pseudo_funcs used for onchange and onclick:
+ form::name('name'): translates name in hirashical form-name used by etemplate
+ egw::link('url','vars'): calls $egw->link()
+ confirm('message'): translates 'message'
2006-09-29 19:47:29 +00:00
Cornelius Weiß
f90337fae8
place ajax loader icon over manual
2006-09-28 05:01:01 +00:00
Ralf Becker
b22627c2f2
fixed typo (custom help-message of the link-widget was ignored)
2006-09-27 13:41:51 +00:00
Ralf Becker
79b302aae5
- empty cells in a box can now be kept (not optimized away)
...
- fixed not used ro-image for buttons, if set via the content-array
2006-09-27 13:09:28 +00:00
Ralf Becker
f378683cab
fixed type causing the box-options to be in the orient
2006-09-27 13:01:34 +00:00
Ralf Becker
9cbbf9bef9
classes for filterheaders and fixed the way the *active_sortcolum class is applied
2006-09-25 13:11:00 +00:00
Ralf Becker
eb02bbde24
fixed infolog customfields show regardless of type
2006-09-20 17:49:15 +00:00
Ralf Becker
03630766ad
show readonly cats without indention and global cat marker
2006-09-20 13:32:47 +00:00
Ralf Becker
c49f73a400
moved to the api before 1.2, removing now the compatibility class
2006-09-20 04:48:59 +00:00
Ralf Becker
03a7efb8a0
new sub-type for the nextmatch widget: custom filter. It allows to use any (select-)widget (specified as 1. option) as filterheader for the nextmatch widget. The accountfilter is now only a special case for the customfilter or filterheader.
2006-09-12 15:14:39 +00:00
Ralf Becker
aeb51ceee2
- make the validation-error interface public availible via the set_validation_error() and validation_errors() method
...
- fixed error in validation: a multiselect widget (using checkboxes) got a validation error, if no option was selected
2006-09-12 15:12:39 +00:00
Ralf Becker
80138def68
small docu update
2006-09-12 07:32:34 +00:00
Ralf Becker
6499fb37f2
some fixes:
...
- class of select-widgets is now correctly geneated as attr class
- killed warning generated for boxes (array passed to htmlentities)
- class-vars now just set (not in the constructor, as required by php3)
2006-09-12 07:31:03 +00:00
Ralf Becker
998d51bef4
- fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted
...
- docu update
2006-08-29 04:19:38 +00:00
Ralf Becker
ad2c99f11e
ability to pass arguments to the etemplate method
2006-08-17 05:36:19 +00:00
Ralf Becker
1f0d4797aa
validation for selectboxes
2006-08-15 12:14:05 +00:00
Ralf Becker
74001bd3ab
sitemgr module was not including the eTemplate javascript file
2006-08-13 18:06:10 +00:00
Ralf Becker
0d0c9df4db
some etemplate fixes:
...
- date-widget does no longer set extension-data if readonly (not used and can conflict with other widgets using the same name, as it was the problem in PM)
- select-widget: fix for "can not unselect the last category"
- red error-messages have now a "white-space: nowrap" for nice formatting
- confirm-message did not quote single quotes (') correct, which caused the complete confirm dialog to fail and allways execute the button
- readonly textarea's without column and row specification are rendered now as <pre></pre> to only take space needed
2006-08-12 06:14:28 +00:00
Ralf Becker
e19d53e870
widget to display the content of the historylog
2006-08-11 20:49:43 +00:00