Commit Graph

1326 Commits

Author SHA1 Message Date
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
e73dcb2a27 fixed colorpicker (as not using current color) and added colorpicker widget to etemplate 2010-01-30 23:55:36 +00:00
Ralf Becker
25c29211f5 adapting for changed categories class 2010-01-30 23:54:08 +00:00
Ralf Becker
6b5976ba82 fixed not displayed custom field type "link-entry" 2010-01-24 00:03:41 +00:00
Hans-Jürgen Tappe
4a709b2024 Fix typo. 2010-01-22 21:18:45 +00:00
Nathan Gray
7c72754631 If an option is null, don't keep it because it may get turned to an empty array. 2010-01-15 16:10:55 +00:00
Ralf Becker
369161d91f allow to use \n in confirm messages to format the question 2010-01-15 01:10:15 +00:00
Nathan Gray
2d310645f9 Put a background color on the AJAX Select results box 2010-01-13 18:32:48 +00:00
Nathan Gray
e8fa73d310 Put a border on the AJAX Select results box 2010-01-13 18:16:59 +00:00
Klaus Leithoff
9c4c261c9b fixing a problem with multiple (or size>1) select fields in/for IE (selectbox hack) 2010-01-13 09:41:42 +00:00
Ralf Becker
3ce3cde916 fixed in wrong order displayed sub-categories 2010-01-13 06:31:52 +00:00
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
Ralf Becker
058a820eb7 fixed not use popup in link list widget (eg. links tab in different apps) 2010-01-08 02:22:22 +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
Klaus Leithoff
f0972d7409 fixing a bug regarding the selectBox resize with MSIE (all was no longer selectable) 2009-12-09 11:58:19 +00:00
Nathan Gray
2305f5cc8b Add missing style class, should make type box disappear when there's no sub-types. 2009-12-08 17:14:23 +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
Klaus Leithoff
1db92b3b90 patch to hide the sub-type select box, if it is empty, there may be room for improvement by nathan, as he introduced that feature in the first place 2009-12-07 15:48:50 +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
ab07f2bc4a Recover history from rev 28554 2009-12-02 19:37:49 +00:00
Oscar Manuel Gómez Senovilla
756ed51f58 Temporary removal to recover history from rev 28554 2009-12-02 19:36:52 +00:00
Klaus Leithoff
8239db5808 some finetuning regarding the hack to influence the selectbox behaviorin MSIE (optgroups, positioning); 2009-11-30 16:45:24 +00:00
Klaus Leithoff
7c13e6ca1f fixing a problem regarding MSIE and the hack to influence the selectbox behavior, when you selected an entry with an empty value 2009-11-30 13:23:35 +00:00
Klaus Leithoff
c8323fc034 hack to influence selectbox width behavior for MSIE; applied to all selectboxes created by html::select and etemplate.js loaded 2009-11-28 14:32:33 +00:00
Oscar Manuel Gómez Senovilla
ebba4d3547 Move etemplate lang files 2009-11-28 13:01:53 +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
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +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