Add some more icons to actions

This commit is contained in:
Nathan Gray 2011-06-02 18:41:51 +00:00
parent 768ef4c40e
commit 0bb2f77376

View File

@ -198,11 +198,11 @@ class importexport_definitions_ui
'disableClass' => 'rowNoEdit', 'disableClass' => 'rowNoEdit',
), ),
'add' => array( 'add' => array(
'caption' => 'Add', 'caption' => 'Add',
'url' => 'menuaction=importexport.importexport_definitions_ui.edit', 'url' => 'menuaction=importexport.importexport_definitions_ui.edit',
'popup' => 'width=500,height=500', 'popup' => 'width=500,height=500',
'group' => $group, 'group' => $group,
), ),
'execute' => array( 'execute' => array(
'caption' => 'Execute', 'caption' => 'Execute',
'icon' => 'importexport/navbar', 'icon' => 'importexport/navbar',
@ -211,7 +211,7 @@ class importexport_definitions_ui
), ),
'schedule' => array( 'schedule' => array(
'caption' => 'Schedule', 'caption' => 'Schedule',
'icon' => 'schedule', 'icon' => 'timesheet/navbar',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
'url' => 'menuaction=importexport.importexport_schedule_ui.edit&definition=$id', 'url' => 'menuaction=importexport.importexport_schedule_ui.edit&definition=$id',
'popup' => 'width=500,height=500', 'popup' => 'width=500,height=500',
@ -224,11 +224,13 @@ class importexport_definitions_ui
'owner' => array( 'owner' => array(
'caption' => 'Owner', 'caption' => 'Owner',
'group' => 1, 'group' => 1,
'icon' => 'addressbook/accounts',
'nm_action' => 'open_popup', 'nm_action' => 'open_popup',
), ),
'allowed' => array( 'allowed' => array(
'caption' => 'Allowed users', 'caption' => 'Allowed users',
'group' => 1, 'group' => 1,
'icon' => 'addressbook/group',
'nm_action' => 'open_popup', 'nm_action' => 'open_popup',
) )
), ),
@ -240,20 +242,21 @@ class importexport_definitions_ui
'group' => ++$group, 'group' => ++$group,
), ),
'copy' => array( 'copy' => array(
'caption' => 'Copy', 'caption' => 'Copy',
'group' => ++$group, 'group' => ++$group,
), ),
'export' => array( 'export' => array(
'caption' => 'Export', 'caption' => 'Export',
'group' => $group, 'group' => $group,
'icon' => 'filesave'
),
'delete' => array(
'caption' => 'Delete',
'confirm' => 'Delete this entry',
'confirm_multiple' => 'Delete these entries',
'group' => ++$group,
'disableClass' => 'rowNoDelete',
), ),
'delete' => array(
'caption' => 'Delete',
'confirm' => 'Delete this entry',
'confirm_multiple' => 'Delete these entries',
'group' => ++$group,
'disableClass' => 'rowNoDelete',
),
); );
// Unset admin actions // Unset admin actions