Commit Graph

998 Commits

Author SHA1 Message Date
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