Commit Graph

1189 Commits

Author SHA1 Message Date
Ralf Becker
61cb3b0755 "rewriting onchange for checkboxes for IE to an onclick" 2009-07-30 07:08:09 +00:00
Ralf Becker
d0b2877a3e "removed onclick alert" 2009-07-18 15:39:21 +00:00
Ralf Becker
dc6b2905a9 fixed not working precistion display 2009-07-15 10:48:44 +00:00
Ralf Becker
c8236aa9f7 "fixed not deletetable links: to delete one, you have to select 'New search ..." 2009-06-30 18:38:07 +00:00
Ralf Becker
4b14a19d3e if we have more then 5 cf's to display --> limit header height to 5 lines plus vertical scrollbar 2009-06-30 18:21:50 +00:00
Klaus Leithoff
d8436c8ddc fixing a problem reported for chrome and safari regarding the multiple upload of files in filemanager 2009-06-12 13:17:57 +00:00
Ralf Becker
7ed3cf4ec2 merged r27137 from Nathan: Need to define a __isset() method so empty() works with __get(). Fixes missing body javascript when looping. 2009-05-29 08:14:06 +00:00
Ralf Becker
8b3a61c2c7 fixed powerpoint icon as suggested by tinpos@gmail.com 2009-05-27 05:39:38 +00:00
Ralf Becker
f594b182a8 "fixed date-time widget to correctly write seconds, eg. if output format is \"Y-m-d H:i:s\"" 2009-05-22 07:06:10 +00:00
Ralf Becker
6c89709b0d "validation error in named tab (eg. \"tabs=general|one|two\") did not change to tab with field causing the validation error" 2009-05-21 19:18:05 +00:00
Ralf Becker
4d9f1d71fd merged German translations from Stefan r27035-7 and r27050-65 2009-05-21 08:15:05 +00:00
Klaus Leithoff
87137a2f71 introducing htmlpurifier as default HTML cleaning tool 2009-05-20 11:36:36 +00:00
Ralf Becker
8f797be836 Added HTMLPurifier (http://htmlpurifier.org/) Version 3.3.0
- can be used via html class like: 

        $clean_html = html::purify($html);

- using it now in eTemplate to remove malicious code from html:
  a) when displaying "formatted text"
  b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Ralf Becker
f459d35bb8 fixed problem pointed out by Necky(T.Okabuchi) <neckyegw(at)wanaya.jp> 2009-05-19 15:26:19 +00:00
Ralf Becker
75850fd66b fixed problem pointed out by Necky(T.Okabuchi) <neckyegw(at)wanaya.jp> 2009-05-19 15:24:15 +00:00
Ralf Becker
7b23a006d6 "fixed search for new phrases, to also work with newer method hooks and not only with file-hooks (preferences, admin, settings, ...)" 2009-05-19 13:35:04 +00:00
Ralf Becker
082f21d3e6 "fixed search for new phrases, to also work with newer method hooks and not only with file-hooks (preferences, admin, settings, ...)" 2009-05-19 13:34:27 +00:00
Ralf Becker
a5f7d8d4a3 "fix for bug #2085 - Rev. 27023 PM does no longer save custom fields" 2009-05-19 07:31:13 +00:00
Ralf Becker
d56e962ca3 "allow to store custom fields with 1:N relations (eg. multi-select-box) as real 1:N relation in the DB
(default is the old behavior!)"
2009-05-17 22:03:31 +00:00
Ralf Becker
654d91cc7c "allow extension preProcess method to modify / fix $form_name of a widget:
- usefull if complete name is determined by eg. options
- extension has also to fetch the content from etemplate::$request->content!"
2009-05-17 13:56:32 +00:00
Ralf Becker
8475ae5d96 Upps: row and column menu got lost ;-) 2009-05-17 11:52:01 +00:00
Ralf Becker
220492880d allow to load widget specific edit-template from the app the widget belongs too, eg. infolog-value --> infolog.widget.infolog-value 2009-05-17 11:41:58 +00:00
Ralf Becker
687660ec48 "allow one-letter name/mailbox part in an email address" 2009-05-15 07:38:19 +00:00
Ralf Becker
f4b09d620f "allow one-letter name/mailbox part in an email address" 2009-05-15 07:35:58 +00:00
Ralf Becker
2a03d32d81 Automatic import labels into the content of an edited template via a
callback: ${app}_bo::labels(). They are set as $content['labels']
2009-05-14 17:45:00 +00:00
Ralf Becker
a94586bad4 New syntax (@@name) to access values absolute to the content array ofs
the request. Here's an example:
$content['my-label'] = $id ? 'Edit' : 'Add';
You can use it now in the template of an nextmatch row for the label:
@@my-label 
Saved the need to import these kind of data in the get_rows function
into the rows.
2009-05-14 17:42:48 +00:00
Ralf Becker
5d7b9133f1 using is_readable 2009-05-14 17:38:09 +00:00
Ralf Becker
31cb95989e "allow static get_rows callbacks, eg. 'app_ui::get_rows':
- on php5.3+ they get directly called via a variable: $callback($query,$rows,$readonlys)
- on php < 5.3 we instancate the class, an call the method non-static: $obj->$method($query,$rows,$readonlys)
--> allows application code to be prepared for static callbacks
Note:
- we can not use call_user_func, as it does NOT support passing by reverence, which is required for $rows and $readonlys parameter
- static callbacks allow to NOT instanciate the class again for the callback (without current dirty methods like placing the object in $GLOBALS[$class])"
2009-05-14 10:22:13 +00:00
Ralf Becker
fe03b91b54 "- 5th option for select-cat: parent category
- adding category desciption (if available) as option title"
2009-05-14 08:02:56 +00:00
Ralf Becker
95168d28bb "method to access comments in schema definition" 2009-05-13 09:58:21 +00:00
Ralf Becker
51284255c1 Edit and set comment field for colums in eGW's schema files 2009-05-13 07:39:58 +00:00
Ralf Becker
e5ffe827f6 "extend readonly handling of button to images (images with a link have a similar function)
setting their name in $readonlys, removes the image completly"
2009-05-08 15:51:57 +00:00
Ralf Becker
5a22640c82 - changed return value of search() to NULL instead false, if nothing
found, as this can be simply casted with (array) to work in foreach
- documentation update
2009-05-03 18:36:38 +00:00
Ralf Becker
69171b7928 "image: using csv_split for options to allow options with commas, eg. filenames containing commas" 2009-04-30 08:07:25 +00:00
Klaus Leithoff
0439b8de35 handling checkbox values in listview, handling radio values display in listview 2009-04-29 14:29:57 +00:00
Ralf Becker
0930d0a739 new ajax_submit() function with submitts the whole form via ajax to a given callback 2009-04-29 14:15:35 +00:00
Ralf Becker
ee45dc8567 "fixed one byte to long key-size" 2009-04-28 15:36:51 +00:00
Ralf Becker
10c390a654 "allow 'test' in template name for application == 'test'" 2009-04-25 06:56:42 +00:00
Ralf Becker
affce3e5bc update to work with "new" translation class: class constants and static calls 2009-04-23 08:38:20 +00:00
Ralf Becker
e6762bf009 "fixed last commit r26803 \"allow to specify app in image name\":
thumbnails or other direct url's as image in buttons were no longer displayed"
2009-04-22 05:52:07 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
619bad7b28 some new and some nicer ;-) mime type icons 2009-04-19 08:07:23 +00:00
Ralf Becker
8a014ce016 "imediatly closing the sesson, as there's no need to keep it open (and preventing parallel calls)" 2009-04-19 07:22:00 +00:00
Ralf Becker
107d5dbbe9 "added somehow missing png type, preventing thumbnails being displayed for png images" 2009-04-19 07:20:22 +00:00
Ralf Becker
1a8b605c17 method to create user friendly label for a mime type, eg. "PDF file (application/pdf)" 2009-04-18 09:53:36 +00:00
Ralf Becker
5e88f9b563 "allow to specify app in image name" 2009-04-17 07:27:12 +00:00
Ralf Becker
3c18478f86 - more docu for file selection dialog
- added mime type filter
- added more user friendly mime type names:
  application/pdf --> PDF file (application/pdf)
2009-04-17 06:28:19 +00:00
Ralf Becker
823a3ab4c0 "allow to disable one of multiple checkboxes" 2009-04-15 21:07:33 +00:00
Ralf Becker
6f34257730 "allow to specifiy an onclick handler for vfs widget (instead of using download-url or filemanager to display dirs)" 2009-04-15 21:06:41 +00:00
Ralf Becker
2b73958407 "title for ro-image of buttons" 2009-04-15 09:16:04 +00:00