Commit Graph

18 Commits

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