pdontthink
|
4a76899c55
Minor spacing fix
|
17 vuotta sitten |
pdontthink
|
60ff13d11e
Allow control over white space wrapping of auto-generated SquirrelMail option widgets
|
17 vuotta sitten |
pdontthink
|
71d7e677ed
Move options constants to constants include file
|
17 vuotta sitten |
pdontthink
|
4005ca5222
Add ability to turn off edit list delete checkbox
|
17 vuotta sitten |
pdontthink
|
c60fed307d
Let edit list users turn off the 'add widget'; add submit option type
|
17 vuotta sitten |
pdontthink
|
e2e74c4a6c
Fuss with edit list sizing a touch
|
17 vuotta sitten |
pdontthink
|
19d38ed61f
Include original configuration array in Option object; allows custom save handlers to add their own parameters and access them at save time
|
17 vuotta sitten |
pdontthink
|
8af69c0e4c
Minor JavaScript fix when multiple select-style edit lists appear on the same page
|
17 vuotta sitten |
pdontthink
|
9eaccecc8b
Add prettier layout for edit lists, not that I am any kind of graphic designer. Preserve old layout method and allow switching by user control with new layout_type option attribute
|
17 vuotta sitten |
pdontthink
|
94a08b0471
Since multiple select and checkbox widgets may not appear in the post, make sure empty values are pushed into the object's new value slot when saving
|
17 vuotta sitten |
pdontthink
|
dec6e1f1fa
More sensible detection of empty widget submissions. Still does not address the fact that select lists and checkboxes may not appear in the POST at all when they are empty in the HTML form
|
17 vuotta sitten |
pdontthink
|
a0d3b8062d
Fix issue not allowing save of boolean prefs that default to SMPREF_ON
|
17 vuotta sitten |
pdontthink
|
aad5c82af1
Add radio button group widget type SMOPT_TYPE_STRLIST_RADIO
|
17 vuotta sitten |
pdontthink
|
853a20153b
Add yes_text and no_text option attributes that allow the overriding of the Yes/No text for boolean radio widgets
|
17 vuotta sitten |
pdontthink
|
6602a2a04a
Boolean option widgets now default to checkboxes
|
17 vuotta sitten |
pdontthink
|
87f7ad3fc0
Create specific boolean radio widget
|
17 vuotta sitten |
pdontthink
|
14610e4a3c
Add checkbox type of boolean option widget
|
17 vuotta sitten |
pdontthink
|
e482b190cf
Add convenience function; keep track of multi-value widget types in one place
|
17 vuotta sitten |
pdontthink
|
a721549ba5
Guarantee we have an array
|
17 vuotta sitten |
pdontthink
|
c6a088760f
Guarantee we have an array
|
17 vuotta sitten |
pdontthink
|
3e70629b7d
Avoid PHP errors when adding to empty list
|
17 vuotta sitten |
pdontthink
|
a86bb98740
Prevent PHP notices when possible values is not given
|
17 vuotta sitten |
pdontthink
|
b05c065f5e
Use a template for the edit list widget
|
17 vuotta sitten |
pdontthink
|
139cfdccb5
Add multiple select string list option widget
|
17 vuotta sitten |
pdontthink
|
cc12e65a24
Add 'edit list' type option widget
|
17 vuotta sitten |
pdontthink
|
42c9cad709
Don't presume output format
|
17 vuotta sitten |
pdontthink
|
d20a938e42
Also use $nbsp here as well
|
17 vuotta sitten |
pdontthink
|
77166d8c0c
Serialize option types whose values are not scalar. At first, I strongly considered simply serializing ALL prefs when they are written to the pref backend, because that method automates prefs better and the user (developer) needn't concern themselves with the details thereof (with this solution, they have to know to unserialize certain prefs after calling getPref()). I changed my mind, though, primarily because calling unserialize() for every pref that is loaded and serialize() for every pref that is stored seems like unnecessary overhead, and serializing prefs now might unstabilize what seems to be a fairly stable pref storage system to date. Secondarily, I didn't want to screw everybody's pref files up. The other bonus is that this can be backported to STABLE (which I just might do). Again, this solution does mean that developers do have to manually unserialize any non-scalar pref settings.
|
17 vuotta sitten |
pdontthink
|
ab90761dde
Add multiple select folder list option widget (SMOPT_TYPE_FLDRLIST_MULTI)
|
17 vuotta sitten |
Thijs Kinkhorst
|
b406007eb5
error out on nonexistant option type.
|
18 vuotta sitten |