mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
Issue #1704 New album edition page
* Front end development according to the mockup * Save changes in ajax * Implement the delete album behaviour with Jconfirm in ajax * Adding a new Css component : infos (factorized in the tag page) * Add a new general admin template variable : ADMIN_PAGE_OBJECT_ID (adding the id of an object on the page) * Modify the pwg.categories.setInfo api method to fit the need of the album edition pages * Slightly change the method time_since, add a parameter to display only the greates time unit * Popin to change parent album, and changed it as a re-usable component * Dropdown to replace the checkbox for comments
This commit is contained in:
@@ -847,10 +847,19 @@ function ws_addDefaultMethods( $arr )
|
||||
'ws_categories_setInfo',
|
||||
array(
|
||||
'category_id' => array('type'=>WS_TYPE_ID),
|
||||
'name' => array('default'=>null),
|
||||
'comment' => array('default'=>null),
|
||||
'name' => array('default'=>null,
|
||||
'flags'=>WS_PARAM_OPTIONAL,),
|
||||
'comment' => array('default'=>null,
|
||||
'flags'=>WS_PARAM_OPTIONAL,),
|
||||
'status' => array('default'=>null,
|
||||
'flags'=>WS_PARAM_OPTIONAL,
|
||||
'info'=>'public, private'),
|
||||
'commentable' => array('default'=>true,
|
||||
'flags'=>WS_PARAM_OPTIONAL,
|
||||
'info'=>'Boolean, effective if configuration variable activate_comments is set to true'),
|
||||
'apply_commentable_to_subalbums' => array('default'=>false,
|
||||
'flags'=>WS_PARAM_OPTIONAL,
|
||||
'info'=>'If true, set commentable to all sub album'),
|
||||
),
|
||||
'Changes properties of an album.',
|
||||
$ws_functions_root . 'pwg.categories.php',
|
||||
|
||||
Reference in New Issue
Block a user