Nathan Gray
d889e92774
Add AJAX Select widget as a field type for custom fields.
...
Select options can be provided using one of three different methods:
1. key=value pairs, one per line, as for a selectbox
2. @filename.php - The file must be in the egw root, and define an array named $options, that has key => value pairs
3. Define the options normally used for the AJAX Select widget (get_rows, get_title, id_field) and it will pull values from the database, as normal.
Other options (icon, filter, template, link) can be used regardless of the method used to get the values.
2010-01-12 22:35:51 +00:00
Ralf Becker
cc5c917832
fixed static get_rows callback for php5.3, it is working for all php versions, thought from 5.2.3+ it is a static call AND always calls $query as a var parameter!
2010-01-11 23:37:39 +00:00
Stefan Becker
ddd1a2176c
"fixes Problem with pagerepead and multipe Adresslabels on one page"
2009-12-30 13:59:08 +00:00
Ralf Becker
7e754c28c1
hack to get Excel 200X to display additional rows in tables
2009-12-27 23:51:25 +00:00
Ralf Becker
fdf4dcb9b9
fixed not working $$time$$ and $$date$$ placeholders, by using egw_time::to() and deprecating format_datetime()
2009-12-24 02:00:51 +00:00
Stefan Becker
5a4c77bcf3
"fixed Problem with span and Linefeed"
2009-12-21 10:47:02 +00:00
Oscar Manuel Gómez Senovilla
ef7ff3d6b3
Fix pending hardcoding for new translations
2009-12-14 21:11:05 +00:00
Nathan Gray
28b3dde6ec
Change how type is passed to use the new link query options parameter
2009-12-07 21:44:04 +00:00
Ralf Becker
de2589963a
"fixed warning of not writable lang directory to cater for new location"
2009-12-03 16:45:51 +00:00
Ralf Becker
13cb41a882
"allow for office2003 (application/xml) $$pagerepeat$$ and some cleanups"
2009-12-03 16:15:23 +00:00
Oscar Manuel Gómez Senovilla
f092da71fd
Patch to migrate lang files from setup/egw_*.lang to lang/egw_*.lang
2009-11-28 11:30:48 +00:00
Ralf Becker
697cc4f310
otherwise we get stoped by max_excutiontime
2009-11-28 11:07:31 +00:00
Stefan Becker
84e692fbb8
new prefix tags for serial letters
2009-11-27 16:37:54 +00:00
Ralf Becker
0814820652
new option &128 to NOT require an extra trigger for date popup, clicking
...
into input box is enought and removing of extra separators to be more
compact
2009-11-25 20:19:35 +00:00
Nathan Gray
8972a0ceff
Fix typo, should have a list of apps now
2009-11-24 16:31:14 +00:00
Ralf Becker
0e646e28c8
optinally return an iterator for a search
2009-11-24 10:59:19 +00:00
Ralf Becker
86e1dfa7c7
some switched off debug messages
2009-11-24 10:56:41 +00:00
Nathan Gray
b685a21fd1
eTemplate changes to support optional link sub-types
2009-11-19 20:10:46 +00:00
Ralf Becker
fe41f199bc
"use application/vnd.ms-excel for downloading excel 2003 xml format"
2009-11-14 16:08:26 +00:00
Ralf Becker
21edc1ac8a
"also disable columns for which application supplies no label (eg. no custom fields exist)"
2009-11-14 08:45:38 +00:00
Ralf Becker
b2436d312b
"fixed again which row to use, if we have to autodetect the fields:
...
we start now from the beginning searching for the first row of type array
(previously we tried the first and last row)"
2009-11-14 07:17:19 +00:00
Ralf Becker
3d5bd129ca
"using an implicit default of '.' as decimal separator, if no explicit default is set"
2009-11-13 09:49:13 +00:00
Ralf Becker
47b2216554
- new preference number_format, to specify number_format (currently only
...
used in eTemplate)
- added basic support for DateTime / egw_time to eTemplate date-widget
2009-11-12 18:36:50 +00:00
Ralf Becker
5b64b4a0e7
"fixed exception eteplate::get_array($arr,$name) $arr is no array"
2009-11-06 12:56:51 +00:00
Ralf Becker
b70d208d3f
"alternative syntax using double curly brackets, agressivly removing all xml-tags eg. Word adds within placeholders:
...
{{user/n_fn}} or {{<w:t>user</w:t>/<w:t>n_fn</w:t>}} --> $$user/n_fn$$"
2009-11-04 14:18:11 +00:00
Ralf Becker
b800493aa2
"application/xml need to be treated like xml: utf-8 encoded and encoding <>&"
2009-11-03 13:10:49 +00:00
Ralf Becker
86d9470719
"downloading word2003 mergeprint files (application/xml) as application/msword, to open it automatically in word or oowriter"
2009-11-03 11:55:12 +00:00
Ralf Becker
1052fffbba
"added application/xml as alias for text/xml"
2009-11-03 11:05:09 +00:00
Ralf Becker
90f91bc9c7
"- fixed wrong languague in notifications, because translation->userlang was changed to a static class-var
...
- fixed sometimes wrong prefs for to notified user were used (because more then one user got notified)"
2009-11-03 10:19:48 +00:00
Ralf Becker
0a4c2614a5
- moved user timezone list to egw_time
...
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
time can not be parsed, not throwing an exception (as this are legacy
function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Ralf Becker
d8ce440e33
fixed not encoded column-headers in csv export (were not useing the
...
export charset, as used for data)
2009-10-27 14:49:23 +00:00
Ralf Becker
a00b86c0df
"making send_notification public, as it's used by infolog"
2009-10-24 09:07:33 +00:00
Ralf Becker
b1e7fddde7
"making bo_tracking::datetime public again, as it's used outside of the class"
2009-10-23 09:47:15 +00:00
Ralf Becker
b74cf30404
"using a vbox (instead just a box) widget, to separate files in individual lines for readonly display too"
2009-10-22 14:02:19 +00:00
Ralf Becker
dbcf17972e
"make 1:N relations more tolerant for none existing rows, gave a fatal error"
2009-10-19 12:24:34 +00:00
Ralf Becker
29040ae9f8
Allow extensions to mark themself as noReadonlysALL, to not set
...
readonly, if $readonlys['__ALL__'] is set:
required for tab-widget, to be able to disable single tabs, if whole
dialog is set to readonly (view-mode)
2009-10-15 08:48:47 +00:00
Ralf Becker
ccdb259f5f
setting readonlys to array, if its not that type
2009-10-14 19:06:54 +00:00
Ralf Becker
12c7f02be3
"fixed only first row got loged, as array_diff keys the index --> renumbering with array_values"
2009-10-14 19:01:36 +00:00
Ralf Becker
11d0e8caec
"allow to specify an addtional option for each widget in a 1:N relation"
2009-10-14 19:00:16 +00:00
Ralf Becker
17bd96df7d
"ability for table plugins: they allow to repeat a table-row of an 1:N relation
...
It can eg. be used to list infologs under a sheet with contact information"
2009-10-14 08:12:11 +00:00
Ralf Becker
b97b485700
"need to also empty $name, to fully supress buttons in a box"
2009-10-13 12:09:54 +00:00
Ralf Becker
7ad5e22305
"disabling permanent logging of get_rows calls"
2009-10-12 09:08:11 +00:00
Ralf Becker
7813b84458
"reworked nextmatch widget to be able to call it's csv-export from applications (to not implement it again):
...
Example: nextmatch_widget::csv_export(array('get_rows' => 'myapp.myclass.mymethod'));"
2009-10-11 12:37:48 +00:00
Ralf Becker
4e21b766b9
- reworked old browser class to use have only static methods
...
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
instead
2009-10-11 11:37:46 +00:00
Ralf Becker
30a8168747
"only open office archives need to be repaired by \"zip -F\" (because a bug in php<5.3.1),
...
ms word files brake, when \"zip -F\" is run on them
GRRRRRRRRRRRR"
2009-10-09 14:39:55 +00:00
Ralf Becker
141519d4e6
"open office and ms office xml based formats always use utf-8 encoding (dont use export charset for them)"
2009-10-09 11:22:23 +00:00
Ralf Becker
200a6d61d5
Reworked so_sql class to:
...
- use new egw_time::server2user() and egw_time::user2server() to do
timezone conversation of registered timestamps
- added $timestamp_type parameter to constructor, to automatic convert
all timestamps on read (or search) to given type, default NULL leaves
them unchanged --> will allow in future to work completly with
egw_time objects
2009-10-08 16:18:28 +00:00
Ralf Becker
fe3ec75610
zip'ed xml document (eg. OO) --> need to encode &,<,> to not mess up xml
2009-10-07 17:46:09 +00:00
Ralf Becker
adf5ca040e
"dump4setup: searching by app.% instead of app% now"
2009-10-03 06:17:05 +00:00
Stefan Becker
e1c1f54cd6
added new tags for emty lines also for open office
2009-10-01 19:37:16 +00:00