Commit Graph

562 Commits

Author SHA1 Message Date
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
Ralf Becker
325d849332 allow to use columns, which are not unique, for read 2006-07-08 00:38:06 +00:00
Ralf Becker
f0ee41230d - use country-class instead of sbox-class for country-names
- moved US state name to country class
- new param for select-country to optionaly use the country-name instead of the county-code
2006-07-06 22:55:30 +00:00
Cornelius Weiß
60c5bd673a fix not displayed actions found by Christophe Combelles 2006-07-01 05:28:40 +00:00
Ralf Becker
12e821b883 fixed date-widget for 12h timeformat:
- replaced extra am/pm radio buttons with single selectbox with times includeing am/pm (works much better with the existing layouts)
- fixed wired 12h clock: 12am,1am-11am,12pm,1pm-11pm (0-23h)
- added an select-hour widget to the select-widgets for the above
2006-06-22 16:14:08 +00:00
Ralf Becker
07df005b44 so_sql::search() was loosing filters, sql-strings (int keys) where writen with that key, instead with [] 2006-06-17 18:30:38 +00:00
Ralf Becker
d02c93748a added title for links option to label widget 2006-06-15 21:57:21 +00:00
Ralf Becker
5f35a0cf8b try using xet files if db is not availible (eg. early setup stage) 2006-06-15 21:52:40 +00:00
Cornelius Weiß
3f168a0c60 me against php and svn :-(...
or make buttons work with php5.1.x
2006-05-19 18:10:02 +00:00
Cornelius Weiß
f7c9c18bb8 merge from 1.2 2006-05-18 16:19:50 +00:00
Ralf Becker
abf67e8471 fix for no colums given via $only_keys='' 2006-05-17 03:02:47 +00:00
Ralf Becker
c019eda361 fix for integer values 2006-04-30 16:42:33 +00:00
Ralf Becker
e3ff7b9569 radio button allow now to set the displayed readonly values to something different then X and empty 2006-04-30 07:20:12 +00:00
Ralf Becker
fcfa0f81d5 giving the template name in the content precedence over the one supplied in the template 2006-04-30 07:10:42 +00:00
Ralf Becker
c170b9a047 so_sql::search:
- you can use now "!''" (exclemation mark plus 2 single quotes) as value in $filter and $criteria to search for not empty columns
- only_keys (columns to retrieve) can additionally be an array of column-names
2006-04-24 20:48:18 +00:00
Ralf Becker
58cd8de0ce disabled check can now be done via (pearl) regular expressions, eg. /^(val1|val2)$/ to check for two values 2006-04-24 20:42:42 +00:00
Ralf Becker
2a909066da nextmatch widget can have an (optional) lettersearch now 2006-04-23 14:44:44 +00:00
Ralf Becker
6a089fb606 some fixes 2006-04-23 14:42:41 +00:00
Ralf Becker
76ff2ee6d1 confirm-message in onchange got not translated 2006-04-22 12:54:36 +00:00
Cornelius Weiß
71743a2260 update docu to better run trough phpdocumentor 2006-04-21 10:31:06 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Ralf Becker
2261ca5419 - dont write columns not set in $this->data
- read used internal name of primary key, instead of db name (only matters if they differ)
- param column_prefix of constructor and setup_table, to automatic setup a conversation from internal name (without prefix) to the db-name with the prefix
--> I will commit this bugfixes after a short testing period to 1.2 too
2006-04-19 08:03:28 +00:00
Ralf Becker
0d9a26e224 fixed not working arrow-navigation (grids) in the editor: php5.1 does not assign by reference if a function returns no reference 2006-04-09 08:16:12 +00:00
Ralf Becker
4794146748 removed / reverted some earlier fixes which caused other problems 2006-04-06 18:39:34 +00:00
Ralf Becker
f4ee3a80db - fixing the fix: uninitialised ...
- additional alignment, caused some space behind the arrow in an active nextmatch header, in a right aligned cell - complicated ;-)
2006-04-05 15:28:48 +00:00
Ralf Becker
435a8ee099 fixed disapearing addressbook view if changing something in the hooked in infolog. Caused by one etemplate app hooking an other one, was not working. 2006-04-05 15:24:46 +00:00
Ralf Becker
85a9bfb5d3 For a union-query call search for each query with $start=='UNION' and one more with only $order_by and $start set to run the union-query 2006-04-05 15:22:50 +00:00
Cornelius Weiß
821f206962 fix: advsearch in cat 2006-04-05 13:53:37 +00:00
Cornelius Weiß
d79ed4aa96 allow etemplate to use xajax 2006-03-29 19:25:00 +00:00
Ralf Becker
c18b81ffbf fixed old nextmatch-widget problem, which cause the first click on a button in the list got not registered, because of an uninitialised filter 2006-03-27 15:08:47 +00:00
Ralf Becker
4a98fcd281 fixed default to be hours (not minutes) 2006-03-27 12:46:21 +00:00
Ralf Becker
54f423b6cf added minutes as input unit to the duration / date widget 2006-03-27 12:22:12 +00:00
Ralf Becker
ddde44ea3c added precision to the float widget 2006-03-27 12:21:29 +00:00
Ralf Becker
9a6649a931 - fixed not working buttons in nextmatch-list, if pressed before direct after login
- improved printing:
  + disabled unnecessary UI-elements in nextmatch
  + nextmatch has now selection for the number of rows to display
  + nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
23f5d80380 enabled so_sql::search to use UNION 2006-03-26 22:09:02 +00:00
Cornelius Weiß
f8443b7c19 insert id in <div> tag 2006-03-22 13:04:17 +00:00
Cornelius Weiß
71d59ec6cb fix forgotten </div> tag if empty content 2006-03-21 22:59:03 +00:00
Ralf Becker
fc5c2baa45 added ablity to set onchange via content 2006-03-21 22:13:46 +00:00
Ralf Becker
9dfb3f5629 fixed return of "<b></b>" for empty textfields 2006-03-21 17:11:57 +00:00
Ralf Becker
84b36865e1 dont give a required error if there's a blur content 2006-03-21 14:00:50 +00:00
Ralf Becker
a615cada89 added ability to specify some extra styles for the multiselectbox with checkboxes 2006-03-20 21:51:55 +00:00
Ralf Becker
c751dee313 fix to allow 2 eTemplate's in one request (eg. addressbook.view) 2006-03-16 14:20:57 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
bd8dab6477 ability to set the onchange attribute 2006-03-07 23:44:21 +00:00
Ralf Becker
51c43c997f docu update and make the content array globaly availible for eg. extensions 2006-01-11 05:25:49 +00:00
Ralf Becker
1f3f5651ee bugfix: suppressing numeric attributes 2006-01-06 04:50:56 +00:00
Ralf Becker
68f2b987ce bugfix: link-widget did not reset remark after an attachment/link 2006-01-06 04:50:11 +00:00
Ralf Becker
a1f055d42d allow to use a constant for the app-name 2005-12-19 04:27:19 +00:00
Ralf Becker
28fe36e769 typo 2005-12-19 04:26:34 +00:00
Ralf Becker
e73c48f794 fixed some bugs and missing things:
- subs are closed (set to done) too, if an entry is set to done via the close action
- infolog stays now in the subs view, if you add or edit an entry there
- entries created from the projectmanager go a set category
- times can optionaly be shown in the list
2005-12-06 07:11:14 +00:00
Cornelius Weiß
ac8eb8bf72 fix: wildcard search 2005-12-01 17:16:04 +00:00
Ralf Becker
8fa2337beb fixed prob. with the new sub-types of the link-widget, they returned null content because of the postprocess function, setting the cell to readonly fixed that 2005-11-12 13:22:05 +00:00
Ralf Becker
99ca767542 a bit more flexible parsing of confirm dialogs 2005-11-12 13:20:20 +00:00
Ralf Becker
b795d8172b two minor enhancements:
- style editor gives now a msg, if the CSS file has been written
- the message new version exists contains now a link to load that version
2005-11-12 06:59:34 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Ralf Becker
b51c7496e6 not returning labes containing $row or $cont for translating 2005-11-11 08:49:42 +00:00
Ralf Becker
434431727a taking $GLOBALS['egw_info']['flags']['params']['manual'] into account too 2005-11-11 08:49:06 +00:00
Ralf Becker
b668ae7f1a editor was inserting one comma to much in case the popup target was _blank 2005-11-11 08:48:03 +00:00
Ralf Becker
9f1ef5c546 a bit bigger popup for the widgets-editor 2005-11-10 14:52:13 +00:00
Ralf Becker
9de22c86f2 1) label, html & image image widget now fully supporting link, target and popup (size of a popup to open, if link gets clicked)
2) several imporvments for the link-widget
- it uses now popups, if the link-registry says so for a given app
- new widget to add an already linked entry of an other app (used in PM so far)
- new widget to display a single link to view a linked entry
2005-11-10 14:51:12 +00:00
Ralf Becker
36a683642c phpgw_setup --> egw_setup 2005-11-10 12:27:04 +00:00
Ralf Becker
96fd5ccfbd fix for Lanfile to not add phrases which are variables 2005-11-10 12:26:16 +00:00
Cornelius Weiß
b57aaf28af allow NOT in customfield search of type select 2005-11-10 12:10:17 +00:00