Ralf Becker
2793ab44fd
fix select-dow widget to return again a single value by oring together selected week-days
2013-11-06 08:49:06 +00:00
Klaus Leithoff
395dd415f8
fix for an etemplate:: call, that seems to be outdated self:: seems to be the static object to use now
2013-11-05 08:32:03 +00:00
Ralf Becker
7f50ed9f1a
fixed renumbered option-values because of array_merge
2013-11-04 16:05:51 +00:00
Ralf Becker
a1b66d286d
keep client/javascript from re-ordering nummeric option-values by sending them as array of objects with attribute value
2013-11-03 13:33:32 +00:00
Nathan Gray
28c2737c9f
Change multi-select header styling:
...
- Change icons from jQueryUI to egw
- Stop hiding header when not needed, always show
- Don't visually distinguish header
- Don't float right icons, leave them between checkbox and label
2013-09-30 15:39:36 +00:00
Ralf Becker
baaaf5b877
static method to get app-names as options, as from the widget itself
2013-09-04 13:48:22 +00:00
Ralf Becker
b42b0a9e21
new option to to show only enabled apps (ones which users can get run-rights for) in select-apps
2013-08-28 10:07:24 +00:00
Nathan Gray
f33e49b4a5
Fix validation failure from menulist interfering.
2013-06-25 15:49:10 +00:00
Nathan Gray
bcd52bb375
Better fix for some widgets not being properly initialized (that doesn't break others)
2013-06-19 18:11:30 +00:00
Nathan Gray
44f4e1ba3b
Silence permanent debug
2013-05-22 19:30:31 +00:00
Ralf Becker
26c66d12d7
create static method etemplate_widget_menupopup::fix_encoded_options(), so apps can call that for cases it is not called automatically (eg. autorepeated rows)
2013-04-28 12:39:58 +00:00
Nathan Gray
b9a43091dc
Fix problem with false/0 values failing validation
2013-04-02 22:57:09 +00:00
Nathan Gray
a0cedae8b3
Add chosen to et2 selectbox
2013-03-15 17:47:28 +00:00
Nathan Gray
7d07d51265
Avoid warning if selectbox has no options
2013-02-27 17:57:23 +00:00
Nathan Gray
79a6e9f2d3
Don't set category title if category has no description
2013-02-08 10:50:19 +00:00
Ralf Becker
daac136f47
as et2 adds options as text, we can NOT use html entities, but direct utf-8 chars, which unfortunately php does not support as string literals, using html_entity_decode therefor
2013-02-05 11:24:02 +00:00
Nathan Gray
63fb4f1c7f
Fix bug with empty / '' select option being rejected
2012-07-24 22:55:49 +00:00
Nathan Gray
69812c92ee
Avoid fatal error if it exists, but is not an array
2012-06-26 23:00:22 +00:00
Nathan Gray
cd6ff18379
Check variable existance and type to avoid some warnings
2012-06-19 19:52:07 +00:00
Nathan Gray
180453a303
Make sure all selected accounts are there, even if preference would normally not include them
2012-06-18 23:26:02 +00:00
Nathan Gray
60843f9a1a
Enhance validation for select-account widget, which doesn't load all options - check that selected account is visible to the user instead of loading all or failing
2012-06-13 15:21:41 +00:00
Nathan Gray
fc3c054025
Take type into account before making 'no account selection' change
2012-06-05 21:16:33 +00:00
Nathan Gray
30b3213b90
Change diff dialog to use auto sizing, hopefully avoid some scrollbars in FF
2012-06-05 17:11:42 +00:00
Nathan Gray
9846011ec2
- Reset accidental commit using et2
...
- Set current app before validating to use app-specific values (category)
2012-06-05 16:19:02 +00:00
Nathan Gray
98c28030be
History log:
...
- Automatic support for custom fields
- Fix missing select-<subtype> values
2012-05-30 18:47:32 +00:00
Nathan Gray
de01faf0df
Add select account search dialog
2012-05-29 22:47:21 +00:00
Nathan Gray
92dbd693d7
Get row category colors working
2012-05-08 22:23:08 +00:00
Ralf Becker
0d66dd98b7
fixed server-side valdation of autorepeated rows/columns
...
had to change signature of validate function to get information for autorepeating through
removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
2012-05-03 14:17:47 +00:00
Nathan Gray
6c72a6fe5f
Don't implode arrays, just return
2012-05-02 18:59:08 +00:00
Nathan Gray
f716f7fd6b
- Fix read-only multi-select, was not displaying
...
- Fix issue with 'rows' being separate, threw off other options
- Move around icon/color multi-select options, use them for users. We'll see.
2012-04-30 23:29:31 +00:00
Nathan Gray
f4d3027192
Validate listbox as selectbox / menupopup
2012-04-25 15:37:33 +00:00
Nathan Gray
e74f753978
Allow text for global option (all globals)
2012-04-24 23:13:25 +00:00
Nathan Gray
92cd8e15bd
Check for base of select name in root of sel_options if none found specificaly for that name
2012-04-24 23:00:05 +00:00
Nathan Gray
d194845e4e
Minor fixes / avoid warnings
2012-04-24 19:44:50 +00:00
Nathan Gray
14d593d600
Send category options even if read-only
2012-03-13 23:10:27 +00:00
Nathan Gray
36688173a4
Make sure sel_options is an array
2012-03-13 16:25:23 +00:00
Nathan Gray
bade774bfa
Fix visible in all selectboxes - prevent double encoding
2012-03-02 22:02:26 +00:00
Nathan Gray
119aa1c121
Fix visible in sub-category names
2012-03-02 19:38:31 +00:00
Ralf Becker
502ac42923
- etemplate_widget_transformer abstract baseclass to define new widgets using a transformation out of existing widgets
...
- defines a syntax to describe how the widget is build out of existing widgets
--> reimplemented contact-widget using that aproach on serverside for old etemplate
--> sending the modifications via etemplate_widget::setElementAttribute() to the client fails, because client does not support changing the widget type
--> need to be implemented on the client
2011-08-25 19:52:51 +00:00
Ralf Becker
04aa3d35b9
- no longer translating options on server-side
...
- sending evtl. necessary no_lang attribute via modifications to client
- deprecated template->(get|set|disable)_cell(_attribute) in favor of new etemplate_widget::(get|set|disable)Element(Attribute)
--> options via sel_options are currenlty not working on clientside
2011-08-24 09:24:55 +00:00
Andreas Stöckel
b0a21acb12
Changed name of 'label_for' attribute to 'for', implemented attribute translation
2011-08-23 17:05:05 +00:00
Ralf Becker
31ab3d9d75
use html_entity_decode, as we add options with .text(), it can't be entities, but php knows no string literals with utf-8
2011-08-22 07:46:38 +00:00
Ralf Becker
7916e86880
method to translate options incl. optionial title
2011-08-21 11:38:01 +00:00
Ralf Becker
e92087df31
- new validator for selectboxes (menupopup)
...
- also used currently to supply options for predefined selectboxes (eg. select-cat), need to discuss if we want to fetch these per ajax
- new widget method run, which runs a given method on all widgets (and children) supporting it, eg. used now for validate
2011-08-20 10:27:38 +00:00