2016-08-18 14:16:47 +08:00
|
|
|
This files describes API changes in /admin/*.
|
|
|
|
|
2016-12-29 13:06:13 +01:00
|
|
|
=== 3.3 ===
|
|
|
|
|
2016-12-30 14:00:40 +01:00
|
|
|
* The admin settings admin_setting_configselect and admin_setting_configmultiselect now support the optgroup tag.
|
|
|
|
Grouping of options can be created with this new tag.
|
|
|
|
For using it, the option parameters needs the Group names as indexes:
|
2016-12-29 13:06:13 +01:00
|
|
|
[
|
|
|
|
"Spain" => ["madrid" => "Madrid", "barcelona" => "Barcelona"],
|
|
|
|
"France" => ["paris" => "Paris", "marseille" => "Marseille"],
|
|
|
|
]
|
|
|
|
|
2016-08-18 14:16:47 +08:00
|
|
|
=== 3.2 ===
|
|
|
|
|
|
|
|
* Admin settings have been refined to better support right-to-left languages. In RTL,
|
|
|
|
most fields should not have their direction flipped, a URL, a path to a file, ...
|
2016-09-22 10:33:26 +02:00
|
|
|
are always displayed LTR. The admin setting will now best guess if they should be
|
|
|
|
RTLized based on their PARAM_* type. To override that guess, use
|
|
|
|
admin_setting::set_force_ltr(true/false).
|