mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
- Add multi-entry action 'delete'
- Line up whole query and do not notify checkboxes
This commit is contained in:
parent
a1de30be38
commit
f9e8c78eed
@ -739,6 +739,7 @@ class infolog_ui
|
|||||||
'pm_id' => array(lang('No project')),
|
'pm_id' => array(lang('No project')),
|
||||||
'multi_action' => array(
|
'multi_action' => array(
|
||||||
'close' => lang('Close'),
|
'close' => lang('Close'),
|
||||||
|
'delete' => lang('Delete'),
|
||||||
'cat' => lang('Change category'),
|
'cat' => lang('Change category'),
|
||||||
'link' => lang('Add or delete links'),
|
'link' => lang('Add or delete links'),
|
||||||
'completion' => lang('Change completion'),
|
'completion' => lang('Change completion'),
|
||||||
@ -888,8 +889,15 @@ class infolog_ui
|
|||||||
break;
|
break;
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$action_msg = lang('deleted');
|
$action_msg = lang('deleted');
|
||||||
$this->delete($id, '', '', $skip_notifications);
|
$result = $this->delete($id, '', 'multi-action', $skip_notifications);
|
||||||
$success++;
|
if($result != '')
|
||||||
|
{
|
||||||
|
$success++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$failed++;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'type':
|
case 'type':
|
||||||
$action_msg = lang('changed type');
|
$action_msg = lang('changed type');
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user