action.php 1.2 KB

1234567891011121314151617
  1. <?php
  2. global $app, $lang;
  3. $app->loadLang('workflowrule');
  4. $config->workflowrule->actionList = array();
  5. $config->workflowrule->actionList['edit']['icon'] = 'edit';
  6. $config->workflowrule->actionList['edit']['text'] = $lang->workflowrule->edit;
  7. $config->workflowrule->actionList['edit']['hint'] = $lang->workflowrule->edit;
  8. $config->workflowrule->actionList['edit']['url'] = array('module' => 'workflowrule', 'method' => 'edit', 'params' => 'id={id}');
  9. $config->workflowrule->actionList['edit']['data-toggle'] = 'modal';
  10. $config->workflowrule->actionList['delete']['icon'] = 'trash';
  11. $config->workflowrule->actionList['delete']['text'] = $lang->workflowrule->delete;
  12. $config->workflowrule->actionList['delete']['hint'] = $lang->workflowrule->delete;
  13. $config->workflowrule->actionList['delete']['url'] = array('module' => 'workflowrule', 'method' => 'delete', 'params' => 'id={id}');
  14. $config->workflowrule->actionList['delete']['data-confirm'] = array('message' => $lang->confirmDelete, 'icon' => 'icon-exclamation-sign', 'iconClass' => 'warning-pale rounded-full icon-2x');
  15. $config->workflowrule->actionList['delete']['class'] = 'ajax-submit';