2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added 'description' parameter to 'create_group' API. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f633265780
commit
a229c3efbb
|
@ -1,3 +1,8 @@
|
|||
2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||
|
||||
* include/functions_api.php: added 'description' parameter to
|
||||
'create_group' API.
|
||||
|
||||
2012-10-29 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
|
||||
|
|
|
@ -3690,7 +3690,7 @@ function api_set_apply_all_policies($thrash1, $thrash2, $other, $thrash3) {
|
|||
*
|
||||
* @param string $id Name of the new group.
|
||||
* @param $thrash1 Don't use.
|
||||
* @param array $other it's array, $other as param is <icon_name>;<id_group_parent>; in this order
|
||||
* @param array $other it's array, $other as param is <icon_name>;<id_group_parent>;<description> in this order
|
||||
* and separator char (after text ; ) and separator (pass in param othermode as othermode=url_encode_separator_<separator>)
|
||||
* example:
|
||||
*
|
||||
|
@ -3729,12 +3729,14 @@ function api_set_create_group($id, $thrash1, $other, $thrash3) {
|
|||
if ($other['data'][1] != "") {
|
||||
$values = array(
|
||||
'icon' => $other['data'][0],
|
||||
'parent' => $other['data'][1]
|
||||
'parent' => $other['data'][1],
|
||||
'description' => $other['data'][2]
|
||||
);
|
||||
}
|
||||
else {
|
||||
$values = array(
|
||||
'icon' => $other['data'][0]
|
||||
'icon' => $other['data'][0],
|
||||
'description' => $other['data'][2]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue