Commit Graph

1414 Commits

Author SHA1 Message Date
Ralf Becker
9d9fc41658 "hopefully last fix for Raphaels patch ;-)
if readonlys[__ALL__] is set, also set readonlys[$name] (but only then as for extensions (eg. tabs) $readonlys[$name] can be an array!)"
2008-09-22 09:28:01 +00:00
Nathan Gray
c1e89c5f0a Keep the returned readonly value from the extension 2008-09-19 13:35:29 +00:00
Nathan Gray
7b01f31d7d Readonly parameter is pass-by-reference, can't be an expression 2008-09-17 14:47:47 +00:00
Ralf Becker
74d78f5dbe "1. two patches from Raphael Alla:
- expand onchange before calling extensions pre_process method
- additionl evaluate $readonlys['__ALL__'] in calling extensions pre_process method
2. replaced {} as array-operator in string with []"
2008-09-16 05:41:33 +00:00
Ralf Becker
b195ac76e2 refractured infolog code to create links to custom field link types 2008-09-11 14:57:20 +00:00
Ralf Becker
0f0b5c9639 fixed old "'%1' is NOT allowed ('%2')!" error:
the ajax search now opens the pending eTemplate request and stores the
new allowed id's from this search
2008-08-30 11:17:04 +00:00
Nathan Gray
044cc0f679 Last piece needed for multiple nextmatches / page. 2008-08-21 18:09:20 +00:00
Ralf Becker
037704a801 "php5.1 seems to have a bug: array_slice($parts,$offeset) != array_slice($parts,$offeset,null)" 2008-08-16 07:40:04 +00:00
Ralf Becker
1ed5390669 index files without header include, but working with sessionid in url 2008-08-14 13:53:17 +00:00
Nathan Gray
c7494f1e70 Added Ajax Select to widget documentation 2008-08-12 21:13:03 +00:00
Nathan Gray
eae198cf6c Un-encode html special chars (<, >, &) when filling in the title for the selected value 2008-08-11 14:47:16 +00:00
Klaus Leithoff
ab37be5fba fix for php warning empty haystack ... in line 967 2008-08-08 09:26:36 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Ralf Becker
e3c60d8243 "only check if $name is a string" 2008-08-01 15:36:31 +00:00
Ralf Becker
3fa1859f70 "- input fields can be now also made readony by specifying the parent ($readonlys['set'] make eg. $readonlys['set[whatever]'] r/o)
- allow extensions to re-enable readonly widgets by setting $cell[readonly] = false "
2008-08-01 15:34:13 +00:00
Ralf Becker
32eb1bafa6 "fix for bug #1643: %t in phone numbers (telephony intergration) does not work" 2008-07-30 11:08:51 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
8913855001 tracker #1476 2008-07-25 22:15:31 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Oscar Manuel Gómez Senovilla
753c766eff Pending translations for trunk 2008-07-24 19:00:41 +00:00
Stefan Becker
9facd0bfdf "Patch for IE 6/7 that you can add comments to the Link widget by onclick" 2008-07-22 14:16:28 +00:00
Ralf Becker
c1c52cf797 reworked the size limitation for displaying email or url again a bit 2008-07-14 06:29:57 +00:00
Régis Leroy
e4c1aeb5d7 fix 'new search' translation on ajax lists, should be common and not etemplate domain 2008-07-04 09:29:32 +00:00
Nathan Gray
98eb1f18cc Escape ID field as well, in case there's something special in there too 2008-07-02 19:43:50 +00:00
Ralf Becker
70052c8355 fixed SyncML and accounts problem reported by Phillip Herbert <pherbert-at-knauber.de>: update set all but the updated fields to NULL, instead of just updating the given fields 2008-07-02 15:25:54 +00:00
Ralf Becker
b17df8df9b fixed not working imagemap (clickable milestones and bars in ganttchart) for firefox3 and ie, thanks to ae275-at-CAM.AC.UK from the English user list 2008-06-30 14:35:51 +00:00
Klaus Leithoff
7921ef5767 # support for size options in url customfield
# support for size options in url-phone customfield
# support for size options in url-email customfield
# allowing additional parameters to be passed to the link created from the url-email
2008-06-30 14:30:16 +00:00
Ralf Becker
b3b53c2f87 "treat (space separated) words in search as or'ed search for them individually" 2008-06-26 16:08:47 +00:00
Ralf Becker
5679bdd5f6 "allow to overwrite readonly settings of a cell" 2008-06-26 11:38:31 +00:00
Ralf Becker
eb290477dd "get the new url, email or phone cf's working" 2008-06-24 09:56:39 +00:00
Ralf Becker
a4133ab894 "temporary disabled additional nextmatch row on the bottom of the list for php5.2.6, until I find time to fix it" 2008-06-23 06:46:58 +00:00
Ralf Becker
03d9baf5c6 "fixed warning under php5.2.6" 2008-06-22 08:51:38 +00:00
Ralf Becker
f66e2e4004 fixed php5.2.6 problem: unknown type '' 2008-06-22 07:16:40 +00:00
Ralf Becker
23c473690e "removed accidently commited 2. patch" 2008-06-19 16:07:57 +00:00
Ralf Becker
b89e7b46a1 "fixed not working install (segfault) caused by account creation in sitemgr's default_records and the new uid code in addressbook_sql::save() going into an invinit recureing, because so_sql::update calls $this->save() instead of self::save()" 2008-06-18 19:56:26 +00:00
Klaus Leithoff
09abb185f9 # improving of the negated search criteria behavior 2008-06-17 07:28:35 +00:00
Ralf Becker
2b6f25b7f3 added popup size for phone integration and better sanitizing of phone numbers 2008-06-11 07:18:29 +00:00
Ralf Becker
c0ec512113 new widget for urls, email-addresses and phone numbers (displaying them r/o as links like in addressbook) 2008-06-11 06:29:41 +00:00
Ralf Becker
2e77c2a4c6 "a little bit nicer implementation" 2008-06-11 04:20:39 +00:00
Ralf Becker
c57b02c59f "allow to have more then one nextmatch widget on a page, for nathan and pERP :-)" 2008-06-11 04:05:10 +00:00
Ralf Becker
6b74d6ad88 "switched permanent debug message off again" 2008-06-04 05:26:52 +00:00
Ralf Becker
dd157b2cd0 allow 2 more columns in the indexes, as used for the unique index tracker escalations 2008-06-04 05:21:14 +00:00
Ralf Becker
20fe4703ab "removed 1.2 compatibility code" 2008-06-03 06:22:35 +00:00
Ralf Becker
c34dc55633 "fixing the fix: only add primary key, if it's NOT an auto id" 2008-05-30 08:20:06 +00:00
Nathan Gray
b2378bb7a8 Make sure select columns div goes over everything it covers (some elements showed through) 2008-05-29 19:50:15 +00:00
Ralf Becker
b6be2fb249 "bugfix: not_unique() method was not working with unique indexes over multiple columns and was not testing the primary keys, with is also unique" 2008-05-28 12:17:06 +00:00
Ralf Becker
ae044a9a08 allow to instanciate the historylog with a given user or 0 for
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Nathan Gray
25a9f1165d Patch from Raphael Alla to prevent flooding by waiting to see if the user is done typing before sending request. 2008-05-26 14:48:32 +00:00
Ralf Becker
78dd1cdf03 missed new $no_clone parameter 2008-05-26 08:32:27 +00:00
Ralf Becker
83a250e085 php5 __construct plus old old class-name method calling the new constructor, added non_db_cols to __get() and __set() 2008-05-26 08:27:24 +00:00
Oscar van Eijk
1ad82e772a Fixed a typo 2008-05-25 14:20:43 +00:00
Ralf Becker
1f144e4670 "colspan='all' was only working in the first grid of the template" 2008-05-24 08:42:43 +00:00
Ralf Becker
c45e0ee9fe "- fixed sometimes not working delete of a column (seems to be php5 related, as it was working before)
- removed one idention from tables_{current|update}.inc.php
- removed closing ?> tag"
2008-05-24 06:39:05 +00:00
Ralf Becker
6c1dcb430d "unit was missing for readonly values" 2008-05-20 12:21:53 +00:00
Ralf Becker
b69b8085e6 Fixed some problems with the etag handling, causing an SQL error on
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
c74789fc2c "removed unnecessary instanciation of old bolink class" 2008-05-15 12:41:20 +00:00
Ralf Becker
31f71a54e2 "fixed syntax error reported by uwe.redecker(at)hspl.de" 2008-05-13 05:56:00 +00:00
Ralf Becker
4885518b88 autoloading of addressbook classes 2008-05-10 12:06:15 +00:00
Ralf Becker
d58ddd9999 "allow to insert rows with the auto-id specified" 2008-04-27 20:05:04 +00:00
Ralf Becker
163b795d45 "extra where condition, eg. to check etag on writing" 2008-04-26 07:49:01 +00:00
Ralf Becker
4048c304d7 "using the configured temp directory for uploaded files" 2008-04-24 13:59:47 +00:00
Ralf Becker
f40cfd935d "using the configured temp directory for uploaded files" 2008-04-24 13:55:12 +00:00
Ralf Becker
0cdfc90f61 "using egw_vfs::mime_icon()" 2008-04-22 20:33:42 +00:00
Stefan Becker
82e4a81bc8 "" 2008-04-22 08:42:31 +00:00
Ralf Becker
ea7ea8deb6 modifications for the links via the new vfs/links stream wrapper 2008-04-16 19:53:20 +00:00
Ralf Becker
5fd2d8def8 removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:42:23 +00:00
Ralf Becker
b550aeecf5 "fixed typo" 2008-03-22 09:31:23 +00:00
Ralf Becker
84c1ac74f0 removed unnecessary instanciations 2008-03-21 20:54:28 +00:00
Ralf Becker
add5646e48 fixed a few errors in the etemplate editor 2008-03-20 18:43:11 +00:00
Nathan Gray
186d0ad967 Fix missing readonly parameter reported by randy houlahan, and pass it to the template 2008-03-20 16:18:15 +00:00
Ralf Becker
ef43425f7f allow to use global db-object (and no clone&set_app), if told so via a separate parameter to the constructor (not by default as the app using so_sql might not be ready for it) 2008-03-13 11:08:54 +00:00
Ralf Becker
694dbc443b some more php5 and html static fixes 2008-03-10 15:54:21 +00:00
Ralf Becker
6e9829faf6 some more php5 and html static fixes 2008-03-10 15:49:46 +00:00
Ralf Becker
9993be3eed "make etemplate::_sel_options() public again, as it's used by other widgets (eg. tree_widget), thank to webmaster-at-kmu-tools.de " 2008-03-10 06:50:02 +00:00
Ralf Becker
e6d99f37e9 "but test_import and import_dump is ..." 2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f "UPPS compress_array is NOT static" 2008-03-09 15:48:21 +00:00
Ralf Becker
e90a3d3a83 reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:41:22 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Ralf Becker
37c3933e0b using new egw_link class with static methods 2008-03-08 21:41:59 +00:00
Nathan Gray
09556f8fb0 Preserve ajax_select_widget options across a loop 2008-03-07 17:47:06 +00:00
Ralf Becker
60a65bb560 Added an id tag to templates, contact and infolog widget
New js_pseudo_function to fetch the styles of a template:
template::styles('template.name')
2008-03-05 18:38:46 +00:00
Ralf Becker
c1647bfcbf added a get-parameter "empty_post=1" if process_exec redirects to the app, because the _POST array is completly empty. That happens if post_max_size <= max_upload_size and is neccessary to give an adequte error-message about the failed upload in filemanager. 2008-03-04 16:56:19 +00:00
Ralf Becker
233875a181 "using ungreeded search for egw::lang()" 2008-03-03 05:47:12 +00:00
Klaus Leithoff
5f9104250b fix for the optgroupfeature, which messed up some callback checking (validation) of the selected values.
This is since the assumption of being an array as value of the selectkey is a sufficient marker to recognize an optgroup 
does not always match for optgroups only. Projectmember roles dialog employs select options with label/title arrays as value
2008-02-27 15:48:52 +00:00
Klaus Leithoff
d349ffed88 ouch, forgot a closing bracket, ... 2008-02-14 07:46:18 +00:00
Klaus Leithoff
ee3377d1f2 small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates 2008-02-14 07:40:16 +00:00
Ralf Becker
ea2c699f5c allow the link-query method of an app to set further attributes of the option used to display the entry, eg. a title (tooltip) of a certain entry: instead of id => title pairs, you return eg id => array(label=>title,title=>tooltip) like for html::select or the select widget 2008-02-07 02:54:11 +00:00
Klaus Leithoff
09612e4f58 documented the feature (week+dow) accordingly 2008-02-05 15:41:41 +00:00
Klaus Leithoff
20fccf9bf6 prepare the date widget to output a very long dateformat (week + dow) 2008-02-05 15:34:07 +00:00
Nathan Gray
f733365165 Don't replace classname when user arrows through the list 2008-02-04 21:55:13 +00:00
Nathan Gray
85701b40af Added tab support so users can press tab and select the current (or first) row - thanks ot Raphael Alla for the patch
Added up / down arrow support so users no longer need to use the mouse.  Tested on Mac Firefox, Safari and IE6
2008-02-04 21:49:50 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
Ralf Becker
3f3954440d "fix for optgroup's, eg. used in addressbook now" 2008-01-26 01:24:42 +00:00
Ralf Becker
ced6adf23f reworked and generalised Klaus new custom field header feature, to use it in the addressbook too, easy to addapt for the other apps now, only requires the get_rows/search method to understand filter and order_by with cfs 2008-01-19 05:36:20 +00:00
Ralf Becker
1d54ae791c ability to specify a comma-sep. list of cat_ids as row-class, to color the rows by the color of the cat, first match used 2008-01-19 05:34:14 +00:00
Nathan Gray
835bf3050d Patches from John Trudel to make Ajax Select Widget work in Internet Explorer 2008-01-09 20:54:10 +00:00
Nathan Gray
986bd37196 Patches from John Trudel to make Ajax Select Widget work in Internet Explorer 2008-01-09 20:47:50 +00:00
Ralf Becker
e40d73091b new time-since sub-widget 2008-01-09 01:57:45 +00:00
Ralf Becker
21465c8c93 some more js pseudo functions and docu 2008-01-09 01:56:42 +00:00
Oscar Manuel Gómez Senovilla
71fbe90a15 tracer #1370 for farsi 2007-12-22 10:28:44 +00:00
Ralf Becker
4d4d66ea9c Allow 00:00 times or 0h in date-(time|hour)only widgets, by differing
between 0 and ''/null
2007-12-20 03:08:07 +00:00
Ralf Becker
18790b1362 ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option 2007-12-16 23:13:32 +00:00
Klaus Leithoff
e72c783fd4 pre_process_cf_header -> created by Ralf Becker!!!
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Nathan Gray
f7b93b3d10 Added how to completely hide a column from nextmatch 2007-12-11 22:29:05 +00:00
Christian Binder
bfff821e18 notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore. 2007-12-10 08:26:29 +00:00
Ralf Becker
cbf94ab243 mark required input fields visually (darker border and light yellow background) 2007-12-09 08:11:55 +00:00
Ralf Becker
e13da61106 "fixed single field display of customfields, was creating an extra grid and array level in the result" 2007-12-07 07:52:14 +00:00
Ralf Becker
03f786390d "fix to display readonly link-entry without id empty (showed text search)" 2007-12-06 22:17:08 +00:00
Christian Binder
15e9c36ca6 removed option for sending html mails or not cause this is decided now by the notification backends (as discussed on the list) 2007-12-05 09:05:57 +00:00
José Luis Gordo Romero
e74c6debaa Reverting the not working (sorry) fix till notifications gets updated to recieve non-accounts in the sender 2007-12-04 17:35:17 +00:00
José Luis Gordo Romero
f7255ea33c Fix sender in bo_tracking (was using this->user not ->get_sender) 2007-12-04 05:12:20 +00:00
Ralf Becker
33b2504316 "Added code to convert timestamps to so_sql.
If you want to use it, you only need to set the timestamps to be converted from user to servertime in so_sql::timestamps AND dont reimplemnt db2data/data2db (or call the default implementation)"
2007-12-04 01:13:53 +00:00
Christian Binder
18cfa84d00 make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users. 2007-11-29 18:38:17 +00:00
Ralf Becker
510d1e786e "marking auto columns automatic as primary key and not null" 2007-11-29 06:50:25 +00:00
Ralf Becker
fb9d6db5be "fixed so_sql::get_rows to return an empty array() instead of array(false) if nothing found" 2007-11-27 21:24:50 +00:00
José Luis Gordo Romero
b675c2b65b Fix regresion introduced by r24154 (the send object is newly created for ever
mail, til this get fixed in PHPMailer)
2007-11-27 15:05:14 +00:00
Klaus Leithoff
2a498cae0a Merge of Ralfs customfield commit, with the customfield changes for 1.4: to display only fields with values in listview and to have an info icon to
identify which customfield is displayed (onmouseover), a click on the icon of the customfield opens the description of that field as 
alertbox. Also added the possibility to set an textfield/textarea to readonly with the option readonly=readonly, so users may not be able to change 
values of e.g.: external keys
2007-11-27 15:03:54 +00:00
José Luis Gordo Romero
43d3ee1cf3 Little change to allow mixed (ascii & html) widget, all controll by htmlarea
parameters
2007-11-27 05:49:25 +00:00
Ralf Becker
1258b12e91 "small improvment of the last commit:
- also lookup the custom fields from the app mentioned in the template, if there no cfs for the current app, eg. sitemgr contactform
- forward the needed attribute to the cf
- alignment (no spacing, padding) if there are no labels"
2007-11-26 17:35:29 +00:00
José Luis Gordo Romero
3d9111ff69 Fix notify_current_user action in send_notifications (set by pref in botracker) 2007-11-25 08:14:50 +00:00
Ralf Becker
d623adab6a "allow cancel buttons (no validation) to be named eg. button[cancel], instead only cancel" 2007-11-24 18:59:46 +00:00
Christian Binder
c03db413c3 let the backend at the very end enclose HTML-messages in <html> and <body> tags and not get_body. We do not want to lock out further html. 2007-11-24 14:45:03 +00:00
Christian Binder
5a7319417e get tracker (and infolog) notifications working again with HTML-formatted messages as implemented before. 2007-11-24 14:01:27 +00:00
Christian Binder
bcec4c6dbc fixed bug in new notifications: wrong function name and signature of get_body 2007-11-24 11:31:04 +00:00
Ralf Becker
93457ceac4 "- new cf type \"custom fields without label\"
- ability to specify a single custom field (name = #fieldname)
- show  the cf's in the eTemplate editor too"
2007-11-22 20:08:58 +00:00
Christian Binder
e72ec7185e Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
Ralf Becker
a453c389e5 "new widget to display a clickable email address:
- if the regular value is empty the value of options is used
- the link either opens fmail or is a mailto-link
- complete email addess is shown as tooltip
- \"Ralf Becker <ralf@egroupware.org>\" displays \"Ralf Becker\" with \"ralf@egroupware.org as tooltip"
2007-11-22 00:46:54 +00:00
Ralf Becker
b0677b31e3 "fixed not working return value for a single selection" 2007-11-17 13:50:51 +00:00
Pim Snel
fab981c160 prevent compile error in translation tools when searching new phrases 2007-11-12 01:05:11 +00:00
Oscar Manuel Gómez Senovilla
6c0db1110b catalan updates for trunk 2007-11-10 23:22:17 +00:00
Oscar Manuel Gómez Senovilla
54066896e8 big commit: all lang files not in utf-8 converted to utf-8, including charset phrase 2007-11-10 22:46:02 +00:00
Oscar Manuel Gómez Senovilla
895ba44b47 Updated czech translation files, using provided utf-8 files 2007-11-09 16:46:15 +00:00
Ralf Becker
3938faeb19 "enhanced link widgets 'link' subwidget, to allow to specify the application via the options (value is just the id then)" 2007-10-31 08:16:34 +00:00
Ralf Becker
a696057734 fixed typo reported by Daniel Lüken <lueken-AT-via-ev.de> on the german list 2007-10-30 06:28:40 +00:00
Nathan Gray
c49d305932 If there is a format error on a tab, make sure that tab is visible so user can see the error 2007-10-22 20:24:54 +00:00
José Luis Gordo Romero
1e6ce9fd6e [etemplate] - Changed datatype text->longtext on egw_etemplate.et_data 2007-10-21 09:24:31 +00:00
Ralf Becker
c0159b5466 "ability to specify account to not show in the select-account widget" 2007-10-19 05:37:23 +00:00
Nathan Gray
a0201fd941 Fix link thumbnailing, accidentally used include() instead of readfile() for cached images 2007-10-15 21:04:40 +00:00
Nathan Gray
073e5fdc81 Fix thumbnailing of linked jpegs 2007-10-15 19:46:47 +00:00
Nathan Gray
d3b838e13a Fix link thumbnail caching so it actually caches 2007-10-15 19:34:49 +00:00
Nathan Gray
33d8386f27 Add mime type icons and thumbnail previews to link list 2007-10-15 17:29:46 +00:00
Nathan Gray
4bf66e6f89 Add mime type icons and thumbnail previews to link list 2007-10-15 17:27:25 +00:00
Oscar Manuel Gómez Senovilla
0441f0b760 Hopefully, rest of language files 2007-10-14 16:19:43 +00:00
Ralf Becker
336784d74e fixed only partcial csv export in timesheet, get_rows was not using the num_rows parameter 2007-10-07 13:29:24 +00:00
Nathan Gray
b43a9982e3 Ajax select widget fixes:
- Remove the need for the user to have access to the eTemplate app
- Fix some settings being lost, and inability to clear the widget
2007-09-26 17:21:36 +00:00
Klaus Leithoff
bdf27e11d9 Merged language Patch from r24464 (1.4) to trunc. 2007-09-25 10:21:19 +00:00
Oscar Manuel Gómez Senovilla
e385c6412f retry for patch 1170 2007-09-25 07:37:31 +00:00
Ralf Becker
03baeadfcd CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names. 2007-09-22 15:03:03 +00:00
Ralf Becker
3beb483c09 CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names. 2007-09-22 14:58:10 +00:00
Ralf Becker
467423329f fixed 2.unwanted-download problem: if you click on a download button and then use eg. a selectbox with onchange='this.form.submit()' the button _stays_ pressed, because the value of the button var is still set as the previous submitted form returns no new page to the browser (resetting the button var), because it's a download 2007-09-20 08:46:14 +00:00
Ralf Becker
483a48e0e9 fixed 2.unwanted-download problem: if you click on a download button and then use eg. a selectbox with onchange='this.form.submit()' the button _stays_ pressed, because the value of the button var is still set as the previous submitted form returns no new page to the browser (resetting the button var), because it's a download 2007-09-20 08:45:21 +00:00
Oscar Manuel Gómez Senovilla
dec28cbe89 spanish lang updates for trunk 2007-09-16 14:35:58 +00:00
Ralf Becker
4cdf282644 allow to specify and extra title (tooltip) for the link widget 2007-09-14 10:07:18 +00:00
Oscar Manuel Gómez Senovilla
e5eac71f71 pending lang updates 2007-09-13 13:57:21 +00:00
Ralf Becker
0fbb7ef5f4 "new account template subwidget for the contact widget: allows to select a templated based on some contact data, eg. a form-header based on the organisation unit" 2007-09-13 13:50:48 +00:00
Ralf Becker
f35db30ef4 "stupid IE forgets the checked value if the checkbox gets moved" 2007-09-13 13:00:29 +00:00
Ralf Becker
0cfe754826 new custom field types:
- button to execute javascript
- selectbox values can be read from a file
2007-09-13 12:43:58 +00:00
Ralf Becker
cc7f3ef768 new function to set certain values in a multiselection (div with checkboxes) 2007-09-13 12:30:57 +00:00
Ralf Becker
9735285636 fixed not working autorepeated rows with , added id's to (content of) labels and images 2007-09-06 12:00:02 +00:00
Ralf Becker
1055642df3 fixed not working autorepeated rows with , added id's to (content of) labels and images 2007-09-06 11:59:35 +00:00
Ralf Becker
47994931b8 fixed not working direct sql-updates (eg. 'etag=etag+1') via so_sql::save's parameter 2007-09-06 11:57:14 +00:00
Ralf Becker
f21e357253 fixed not working direct sql-updates (eg. 'etag=etag+1') via so_sql::save's parameter 2007-09-06 11:56:37 +00:00
Ralf Becker
59cf6042fa "added missing \"None\" label for contact-type" 2007-09-06 11:15:12 +00:00
Ralf Becker
cb5e205d66 "added missing \"None\" label for contact-type" 2007-09-06 11:14:12 +00:00
Cornelius Weiß
372c2b4b28 fix: onchange of date selector was not working 2007-08-28 13:02:33 +00:00
Cornelius Weiß
7aa256a362 fix: onchange of date selector was not working 2007-08-28 13:01:42 +00:00
Ralf Becker
d77a1d2b33 fixed bug reported by Raphael Alla: registered javascript files get lost if etemplate loops 2007-08-24 06:16:11 +00:00
Ralf Becker
ee022cd40d fixed bug reported by Raphael Alla: registered javascript files get lost if etemplate loops 2007-08-24 06:15:27 +00:00
Ralf Becker
c42c8a8636 fixed not working/existing custom fields and widget-types for dates, accounts and cats 2007-08-20 07:52:42 +00:00
Ralf Becker
fde08a961d fixed not working/existing custom fields and widget-types for dates, accounts and cats 2007-08-20 07:51:49 +00:00
Ralf Becker
0714f41b63 docu update for link widget from aleksander.adamowski-AT-olo.org.pl 2007-08-06 13:52:17 +00:00
Ralf Becker
8edd27dcdc fixed documentation bug reported by aleksander.adamowski-AT-olo.org.pl 2007-07-24 08:53:05 +00:00
Ralf Becker
79cd58cda4 fixed documentation bug reported by aleksander.adamowski-AT-olo.org.pl 2007-07-24 08:50:39 +00:00
Ralf Becker
2056ed6897 remove not (longer) existing or inaccessible cats 2007-07-23 09:21:22 +00:00
Ralf Becker
fbeb8318d7 remove not (longer) existing or inaccessible cats 2007-07-23 09:02:51 +00:00
Ralf Becker
9f1df33c74 first version of a tree widget (atm the whole tree need to be supplied, like for select) 2007-07-22 13:23:44 +00:00
Ralf Becker
edc5dc9db5 fixed not working value display of arrays 2007-07-22 13:12:21 +00:00
Ralf Becker
be03b8e71d fix for bug #1058: FATAL ERROR: class.customfields_widget.inc.php on line 168 2007-07-16 16:55:48 +00:00
Ralf Becker
a0ff70602a fix for bug #1058: FATAL ERROR: class.customfields_widget.inc.php on line 168 2007-07-16 16:55:13 +00:00
Ralf Becker
58c7f4bf61 fixed double displayed label 2007-07-12 08:03:37 +00:00
Ralf Becker
2699258f07 fixed double displayed label 2007-07-12 07:53:21 +00:00
Ralf Becker
2fc090e301 fixed not working type specific customfields in infolog 2007-07-12 07:31:32 +00:00
Ralf Becker
7e577e22c4 fixed not working type specific customfields in infolog 2007-07-12 07:30:20 +00:00
Ralf Becker
1e3627ad51 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:43:09 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
89ad98a2eb fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox 2007-07-05 07:50:04 +00:00
Ralf Becker
2224267a7e "fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox" 2007-07-05 07:48:56 +00:00
Ralf Becker
f1b2d5dc1b merged bugfixes from trunk, for details see the changelog/commit-messages there 2007-07-05 05:01:44 +00:00
Ralf Becker
548858e074 "some bugfixes:
- two etemplate on one page (eg. infolog under the addressbook view) is working halfway again
- fixed not working vars in onclick on grid-cells
- disabled cells keep there css-class now
Also calling some of the static methods now static, while trying to make process_exec static (which it is not at the moment)"
2007-07-05 04:57:31 +00:00
Ralf Becker
d255c15248 "new so_sql2 class: adding magic __get() and __set() methods, to be able to work more object oriented with so_sql (just a first step)
you can now use $so_sql_obj->my_col = 15 instead of $so_sql_obj->data['my_col']=15; (be aware, that does NOT work with var-parameters of functions and probably references)
$so_sql_obj->id alwas references the auto-id, independent of it's name (id is a bad choice of a column-name, because it's a reserved word in some dbms)"
2007-07-05 04:50:53 +00:00
Ralf Becker
c5ac764580 "- bugfix: data_merge was not merging null values (isset instead of array_key_exists)
- new update function, which write just the given cols and not the whole row"
2007-07-05 04:46:49 +00:00
Ralf Becker
c28a1babff "fixed some bugs, wrong function or method names (it was'nt used so far)" 2007-07-05 04:44:18 +00:00
Ralf Becker
dcb8c7c80c "removed wrong/old constructor " 2007-07-05 04:42:20 +00:00
Ralf Becker
f3ae5cf274 "an other php4 fix for 1.4" 2007-06-29 12:56:54 +00:00
Ralf Becker
960868ad9d "fixed bug reported on german list: private is php5 (only commited to 1.4)" 2007-06-29 12:53:14 +00:00
Ralf Becker
061b3781c5 merged etemplate sitemgr block from trunk for the contactform 2007-06-22 18:41:49 +00:00
Ralf Becker
a5ea718ec7 merged infolog notifications from trunc 2007-06-21 18:49:57 +00:00
Ralf Becker
5d9ff65391 - fixed not being able to switch off notification for responsible
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00
Ralf Becker
180c6b407f fixed bug #946: Nextmatch last ( >| ) button goes to start
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC
2007-06-21 10:01:02 +00:00
Ralf Becker
1735a53f85 "fixed bug #946: Nextmatch last ( >| ) button goes to start
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC"
2007-06-21 09:59:53 +00:00
Ralf Becker
e8b71231f3 "fix for problem discovered by José Luis Gordo Romero <jgordor-AT-gmail.com>" 2007-06-20 20:53:54 +00:00
Ralf Becker
7d0276b11d fix for opera (class property is uppercase), thanks to nabble-egp-AT-a80.net 2007-06-15 17:34:48 +00:00
Ralf Becker
da5ecb4c0b "fix for opera (class property is uppercase), thanks to nabble-egp-AT-a80.net" 2007-06-15 17:34:00 +00:00
Ralf Becker
9e49e8c50d History for InfoLog (incl. the ability to disable real deletes) and delete notifications 2007-06-13 21:37:05 +00:00
Ralf Becker
39dd374379 "notifications were not send to assigned users" 2007-06-11 13:43:12 +00:00
Cornelius Weiß
e96e79d0c1 small fix for ie 2007-06-11 12:39:09 +00:00
Ralf Becker
fc3c7a40ad bugfixes and some enhancements to support async notifications (infolog) 2007-06-10 08:50:03 +00:00
Cornelius Weiß
1b482d0587 fix for xajax requests 2007-06-09 15:39:50 +00:00
Ralf Becker
d35514aaea two fixes for the num_rows in the next-match widget:
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)
2007-06-08 08:54:04 +00:00
Ralf Becker
af5804129f "two fixes for the num_rows in the next-match widget:
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)"
2007-06-08 08:51:05 +00:00
Ralf Becker
e5dd7f8122 email for the contactform 2007-06-06 08:22:39 +00:00
Ralf Becker
381d421466 email for the contactform 2007-06-06 08:18:45 +00:00
Oscar Manuel Gómez Senovilla
a33363a884 Czech translation in #824 and extra pending language updates 2007-06-03 18:01:21 +00:00
Ralf Becker
86870ce4d7 "modified to use the non-prefered sender-address if the prefered one is not set/existing" 2007-06-03 11:31:01 +00:00
Cornelius Weiß
8afb0cf003 adopt to static function 2007-06-01 11:53:49 +00:00
Oscar Manuel Gómez Senovilla
688dd5f46f Latest lang updates 2007-05-31 14:49:26 +00:00
Ralf Becker
f2fb5fad4b 2007-05-28 21:17:15 +00:00
Ralf Becker
915e5f74f2 "fixed now working saving of column-selection after the memory-saving-fix" 2007-05-26 07:51:17 +00:00
Ralf Becker
77a318ae69 newest ajax-select-widget from Nathan Gray 2007-05-25 22:13:26 +00:00
Ralf Becker
ca496bed5e layout tweaks in nextmatch widget: fixed width for the selectboxes 2007-05-25 18:15:55 +00:00
Ralf Becker
75c797d0f2 fixed exec to save the include_xajax flag too (looping) 2007-05-25 18:13:13 +00:00
Ralf Becker
1e9b08d510 fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de> 2007-05-25 12:18:00 +00:00
Ralf Becker
196046f66c "fix to drastically reduce the memmory used by eTemplate sessions (accidently the whole eTemplate object was stored incl. db-object with all table definitions and the returned rows)" 2007-05-23 18:06:21 +00:00
Ralf Becker
c2bb34cd4e fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
Ralf Becker
94dced8024 "fix for bug #747: Postgres SQL error searching tracker items" 2007-05-21 04:49:57 +00:00
Cornelius Weiß
116f97e59c fix: remove forgotten debug message 2007-05-19 15:59:58 +00:00
Ralf Becker
cb7eb66434 "fixed php5 only foreach syntax, as we still support php4" 2007-05-18 13:49:46 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Oscar Manuel Gómez Senovilla
83e4306bce Language updates 2007-05-16 22:10:08 +00:00
Ralf Becker
314beb70b2 "bugfix: for date/time storage formats without separators, eg. Ymd" 2007-05-16 13:02:31 +00:00
Lars Kneschke
f6b3216085 use egw_openWindowCentered2 instead of plain windows.open to open popup windows centered to the screen 2007-05-15 06:44:09 +00:00
Ralf Becker
4921902293 "fix for bug #514: \"needed\" not working with \"select entry\" widget" 2007-05-14 14:51:32 +00:00
Ralf Becker
aa1a87f328 "fix for bug #622: 'XML Import' doesn't work right" 2007-05-14 10:41:11 +00:00
Ralf Becker
9b61188549 "fix for bug #727: can not edit widgets below an embeded template" 2007-05-13 11:24:12 +00:00
Ralf Becker
b07f9f9704 "fix for bug #478: Invalid argument supplied for foreach() when no nexmatch *headers in rows" 2007-05-13 06:19:11 +00:00
Ralf Becker
32864e955a "calling the static method static seems to work more relyable in php5.2" 2007-05-12 10:12:41 +00:00
Ralf Becker
e41602efa2 "fixed typo, used german \"Mai\" instead of english \"May\"" 2007-05-11 15:56:33 +00:00
Ralf Becker
8c71320f44 "fixed error if FCKeditorAPI was not loaded (no FCK on the page), which cause the selected tab no longer be returned to the app" 2007-05-11 15:04:03 +00:00
Ralf Becker
f40e6d5b5d fix for bug #275: tree of projects is only one line high in IE, plus removing the margin arround the mainDiv and saving some space around the navbar 2007-05-08 16:54:07 +00:00
Ralf Becker
5c43c59a5d "fix for bug #642: fckeditor and firefox - uneditable editor" 2007-05-08 12:55:48 +00:00
Ralf Becker
f0c9a45803 patch #25: AJAX Select widget from Nathan Gray 2007-05-08 12:20:38 +00:00
Ralf Becker
3630f964fb "fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array" 2007-05-08 09:00:22 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
2ed91ce075 fix for bug #674: no more simple multiple participant selection 2007-05-07 19:03:33 +00:00
Oscar Manuel Gómez Senovilla
664301a927 Fix por #703 2007-05-06 20:43:52 +00:00
Ralf Becker
b67a8934e3 "an other fix for bug #645: Error with apostrophes in organisation's fields" 2007-05-04 13:29:50 +00:00
Ralf Becker
ec4db98936 sitemgr module was not loading eTemplates javascript file 2007-05-03 19:16:32 +00:00
Ralf Becker
a119c5301e "fix for bug #645: Error with apostrophes in organisation's fields
--> changed the regular expr for egw::link() in js_pseudo_funcs
--> dont add submitit() call to image buttons with onclick action"
2007-05-03 06:38:36 +00:00
Oscar Manuel Gómez Senovilla
747da8fd79 Pending lang updates 2007-05-02 21:25:42 +00:00
Ralf Becker
14fc433fcf updated application versions 1.4 and dependencies accordingly (API is still 1.3.xxx 'til the first RC) 2007-04-30 09:10:36 +00:00
Ralf Becker
f386d0480d reverted 2007-04-29 20:30:15 +00:00
Ralf Becker
c81097ab13 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:26:28 +00:00
Ralf Becker
e11b8e5e32 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:25:19 +00:00
Ralf Becker
d1d4e02aad "fix: suppresed php5.2's stupid emty haystack warning" 2007-04-29 14:18:08 +00:00
Oscar Manuel Gómez Senovilla
d42198bf07 tracker patch #257 and extra lang files 2007-04-19 21:12:39 +00:00
Ralf Becker
8ab5ef92a2 bugfix: new 'buttononly' widget was registered to be processed 2007-04-18 10:34:26 +00:00
Ralf Becker
99c07f8452 bugfix: request was always looping, if form contained a link_to widget (search button had the same name as the search field itself) 2007-04-18 10:33:27 +00:00
Ralf Becker
cb45908892 Class to repressent etemplate requests. It will be used in etemplate in the future and it can be used already to register further form-variables or their options via AJAX. 2007-04-16 20:46:55 +00:00
Ralf Becker
2abd66293e "docu update for fck" 2007-04-14 16:48:05 +00:00
Ralf Becker
9c6c1816bb "docu update for fck" 2007-04-14 16:47:46 +00:00
Ralf Becker
edd2585f78 "docu update for fck" 2007-04-14 16:44:37 +00:00
Ralf Becker
a95813bd5d "fix for bug #385: Problem with HTML specialchars in addressbook" 2007-04-06 12:11:21 +00:00
Oscar Manuel Gómez Senovilla
532182fa41 latest lang updates 2007-04-05 22:53:35 +00:00
Ralf Becker
82258373e2 "fixed problem reported in the users list/forum: viewing an addressbook entry gives a second navbar and other errors" 2007-04-05 07:27:41 +00:00
Ralf Becker
0eac6dd897 "killed a warning" 2007-03-16 12:20:19 +00:00
Ralf Becker
b7645ea2da "- improved handling of multiple etemplates on one page (eg. home)
- fixed not working validation error for selectboxes"
2007-03-13 13:46:50 +00:00
Oscar Manuel Gómez Senovilla
976edfb561 portuguese updates 2007-03-11 17:08:54 +00:00
Oscar Manuel Gómez Senovilla
4f17334243 pending lang additions 2007-03-10 12:01:10 +00:00
Oscar Manuel Gómez Senovilla
4b92ad49f0 spanish lang updates and some other 2007-03-10 10:56:23 +00:00
Ralf Becker
3a8cf8dba3 moved styles of nextmatch- & tab-widget into etemplate's app.css file, which gets now loaded by every eT app. Allows template designers to modify the look of theses widgets too 2007-03-09 11:25:08 +00:00
Ralf Becker
41a7e43d1b date widget can now prefix (readonly) dates with the week-number 2007-03-09 11:23:26 +00:00
Ralf Becker
dcc669af74 "link-string can now display links to a given app/id/only_app" 2007-03-09 11:21:56 +00:00
Ralf Becker
6bd5ac2da8 users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments) 2007-03-07 12:30:17 +00:00
Ralf Becker
389b6d0a7c "small fix to display eg. 0h32 correct" 2007-03-06 15:33:46 +00:00
Oscar Manuel Gómez Senovilla
b45d2879c8 A lot of pending lang updates 2007-02-25 22:14:48 +00:00
Ralf Becker
4646fed791 an other small fix for the readonly time 2007-02-19 06:06:08 +00:00
Ralf Becker
928ddd4912 "Fixed not working ignoring of validation errors via regular expressions (eg. forced fields in the etemplate editor)" 2007-02-19 05:29:17 +00:00
Ralf Becker
4e49113cc1 "removed debug-message" 2007-02-14 07:22:15 +00:00
Ralf Becker
e844de99cd "fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work" 2007-02-14 07:11:42 +00:00
Ralf Becker
41f10cd5cc "fixed previous commit: day&month are displayed again with leading 0 plus some other fixes" 2007-02-14 07:09:17 +00:00
Ralf Becker
6ffdbb01a1 "read: prefix column with table-name, if used in join, to prevent ambigous col-name" 2007-02-14 07:07:58 +00:00
Ralf Becker
147240aa07 "treat $ignoare_validation param of validation_errors() only as regular expression, if it starts with a slash" 2007-01-27 04:02:21 +00:00
Lars Kneschke
3d259ec31a patch from sebastian to removed some forgotten debug output 2007-01-25 14:48:54 +00:00
Ralf Becker
f53c68f94d php5.2 fix and ability to return something from the get_rows function 2007-01-22 07:06:15 +00:00
Cornelius Weiß
7c9a806965 et reference update by sebastian ebling 2007-01-21 13:17:31 +00:00
Oscar Manuel Gómez Senovilla
8d6b62a74c pending lang updates 2007-01-21 11:38:09 +00:00
Cornelius Weiß
d32b3ef8e8 patch #203 from sebastian ebling:
extendet submit_button() to also display <input type=button
 new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
 applied this type for tracker.index.right button
2007-01-20 08:55:26 +00:00
Cornelius Weiß
7478fa159f complete transition to fck
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:19:01 +00:00
Ralf Becker
b3640356f3 "fix for bug #282, hour and minute < 10 were not selected" 2007-01-14 03:14:11 +00:00
Ralf Becker
0315d30672 revert last commit, as it gives a fatal error with php5.0 2007-01-08 21:23:02 +00:00
Ralf Becker
08aadb56cf quitened a warning 2007-01-08 15:58:32 +00:00
Ralf Becker
e64e3e06b1 so_sql::init() returns now $this->data as eg. so_sql::read() 2007-01-08 15:57:58 +00:00
Ralf Becker
6387f19cae fixed isset_array using array_key_exists, to return also null values:
eg. $arr = array('x' => null); boetemplate::isset_array($arr,'x') returned false, as isset($arr['x']) === false, now it returns true like array_key_exists('x',$arr)
2007-01-08 15:57:09 +00:00
Ralf Becker
0aa9dffc1d - optional sprintf format for float and int widget
- grid rows can have further classes then row (has to be the first!)
2007-01-08 15:53:27 +00:00
Ralf Becker
4c1b672b72 fix for bug #41: etemplate generates empty images <img src=""> 2006-12-29 06:50:49 +00:00
Oscar Manuel Gómez Senovilla
0597fc6cd9 pending lang updates, and gallery translations 2006-12-26 22:20:54 +00:00
Ralf Becker
e06b0462c1 render readonly textareas without size as div with the content run through nl2br, former <pre> did NOT wrap lines 2006-12-26 07:21:54 +00:00
Ralf Becker
a999bb4ef4 render only text-widgets with size < 0 as readonly input 2006-12-25 17:43:59 +00:00
Ralf Becker
5bc9ca3a7d use js_pseudo_func also for onclick 2006-12-19 13:36:54 +00:00
Ralf Becker
7e9852a028 some more stupid php5.2 fixes 2006-12-19 13:36:14 +00:00
Cornelius Weiß
21ae4691b0 fix: strange behaviour on traditional posts in etemplate apps, caused by my ajax feature:"only process what is given". This freature allowes more flexibility in custom templates, but is now only applayed to xajax requests 2006-12-17 14:15:10 +00:00
Ralf Becker
f4238614f3 new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook 2006-12-17 08:44:05 +00:00
Ralf Becker
c29e516e71 removed not fully working literati template 2006-12-13 11:08:17 +00:00
Ralf Becker
3038f97550 removed not needed idots dirs 2006-12-13 10:33:54 +00:00
Ralf Becker
d046f849fc removed old, not fully usable (no sidebox) idsociety template 2006-12-12 19:24:49 +00:00
Ralf Becker
be12e577e9 use now capabilities 'query' and 'add_app' instead of '' and 'add', to be more specific about what's needed 2006-12-12 14:38:52 +00:00
Ralf Becker
806cc84b1e - changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Oscar Manuel Gómez Senovilla
078d5816bd massive pending language updates 2006-12-09 22:21:27 +00:00
Ralf Becker
297690b22c added php4.3 compatibility function stripos, to get back php4.3 compatibility after the recent replacement of stristr with stripos 2006-12-09 14:20:10 +00:00
Jerry Ruhe
42f751c80a using default icons 2006-12-09 09:23:23 +00:00
Ralf Becker
9e5ba08ecb fixed warning introduced by strstr --> strpos conversation 2006-12-07 19:05:40 +00:00
Ralf Becker
21f473137e killed a warning 2006-12-07 19:00:16 +00:00
Ralf Becker
9a96320225 display readonly text widgets with a given length as readonly input and not just as text 2006-12-07 18:59:53 +00:00
Cornelius Weiß
4338f6726b strstr -> strpos fix by thomas koch 2006-12-07 12:46:46 +00:00
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
24ae9727d5 new jerryr template set from Jerry Ruhe 2006-11-28 07:45:33 +00:00
Ralf Becker
efb218c924 we can have multiple comma-separated types now 2006-11-23 13:52:56 +00:00
Ralf Becker
d48f360667 fixed AND tested et_media 2006-11-18 07:23:56 +00:00
Ralf Becker
dc384ab924 fixed AND tested et_media 2006-11-18 07:16:56 +00:00
Ralf Becker
6211b1457d some fixes and updates for the eTemplate tutorial 2006-11-12 09:03:11 +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
Oscar Manuel Gómez Senovilla
b157241ec8 lang updates 2006-11-06 23:12:29 +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
Pim Snel
6bce933e78 updated dutch translation 2006-10-15 20:44:49 +00:00
Cornelius Weiß
b25a0d2f2c fix not submitted submit_button 2006-10-13 09:31:00 +00:00
Oscar Manuel Gómez Senovilla
6fe1eec825 several language updates, including polish 2006-10-12 08:29:57 +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
Cornelius Weiß
8ad18e36a8 adopted xajax_eT_wrapper to ralfs handler concept 2006-10-09 17:36:04 +00:00
Oscar Manuel Gómez Senovilla
6e1d8c1037 spanish updates 2006-10-08 12:29:27 +00:00
Cornelius Weiß
4022dbd9a4 added class for tab_widget tab headers 2006-10-07 15:44:40 +00:00
Cornelius Weiß
465184f0f0 fix for the new id shema 2006-10-07 15:41:57 +00:00
Cornelius Weiß
79716a8048 new function to gather selected checkboxes 2006-10-07 15:02:17 +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ß
c1d55c6ade some xajax helpers 2006-09-28 12:26:29 +00:00
Cornelius Weiß
624b060212 remove not longer needed tables_baseline 2006-09-28 05:03:13 +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
0cdfa38ff5 class nextmatch-range added 2006-09-25 14:00:28 +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
78735f5cf1 fixed sometimes (or some-browser) not working toggle_all 2006-09-24 16:52:15 +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
Oscar Manuel Gómez Senovilla
963f29d859 lang updates 2006-09-16 15:48:46 +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
Oscar Manuel Gómez Senovilla
ff4e604bf2 spanish lang updates 2006-09-07 06:20:30 +00:00
Oscar Manuel Gómez Senovilla
746988d553 mass lang updates 2006-09-04 17:15:19 +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
d110bf5189 fixing some css-bugs which fill the firefox javascript console 2006-08-19 07:12:26 +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
df140e9421 some translations 2006-08-13 18:06:29 +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
Ralf Becker
239bab8b28 fixed the wrong links and added links to the phpDocumentor doc Conny set up on egroupware.org 2006-06-08 14:56:52 +00:00
Oscar Manuel Gómez Senovilla
c7007dbca6 rest of massive update 2006-06-03 20:30:48 +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
Oscar Manuel Gómez Senovilla
a2c7927269 lang updates 2006-05-01 23:09:26 +00:00