action.php 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. global $lang, $app;
  3. $app->loadLang('approval');
  4. $config->review->actionList = array();
  5. $config->review->actionList['submit']['icon'] = 'sub-review';
  6. $config->review->actionList['submit']['text'] = $lang->review->submit;
  7. $config->review->actionList['submit']['hint'] = $lang->review->submit;
  8. $config->review->actionList['submit']['url'] = array('module' => 'review', 'method' => 'submit', 'params' => 'reviewID={id}');
  9. $config->review->actionList['submit']['data-toggle'] = 'modal';
  10. $config->review->actionList['recall']['icon'] = 'back';
  11. $config->review->actionList['recall']['text'] = $lang->review->recall;
  12. $config->review->actionList['recall']['hint'] = $lang->review->recall;
  13. $config->review->actionList['recall']['url'] = array('module' => 'review', 'method' => 'recall', 'params' => 'reviewID={id}');
  14. $config->review->actionList['recall']['className'] = 'ajax-submit';
  15. $config->review->actionList['recall']['data-confirm'] = $lang->review->confirmRecall;
  16. $config->review->actionList['assess']['icon'] = 'glasses';
  17. $config->review->actionList['assess']['text'] = $lang->review->assess;
  18. $config->review->actionList['assess']['hint'] = $lang->review->assess;
  19. $config->review->actionList['assess']['url'] = array('module' => 'review', 'method' => 'assess', 'params' => 'reviewID={id}');
  20. $config->review->actionList['progress']['icon'] = 'list-alt';
  21. $config->review->actionList['progress']['text'] = $lang->approval->progress;
  22. $config->review->actionList['progress']['hint'] = $lang->approval->progress;
  23. $config->review->actionList['progress']['url'] = array('module' => 'approval', 'method' => 'progress', 'params' => 'approvalID={approval}');
  24. $config->review->actionList['progress']['data-toggle'] = 'modal';
  25. $config->review->actionList['progress']['notLoadModel'] = 'true';
  26. $config->review->actionList['report']['icon'] = 'bar-chart';
  27. $config->review->actionList['report']['text'] = $lang->review->reviewReport;
  28. $config->review->actionList['report']['hint'] = $lang->review->reviewReport;
  29. $config->review->actionList['report']['url'] = array('module' => 'review', 'method' => 'report', 'params' => 'reviewID={id}');
  30. $config->review->actionList['edit']['icon'] = 'edit';
  31. $config->review->actionList['edit']['text'] = $lang->review->edit;
  32. $config->review->actionList['edit']['hint'] = $lang->review->edit;
  33. $config->review->actionList['edit']['data-toggle'] = 'modal';
  34. $config->review->actionList['edit']['url'] = array('module' => 'review', 'method' => 'edit', 'params' => 'reviewID={id}');
  35. $config->review->admin = new stdclass();
  36. $config->review->admin->actionList['reviewcl']['icon'] = 'audit';
  37. $config->review->admin->actionList['reviewcl']['text'] = $lang->review->reviewcl;
  38. $config->review->admin->actionList['reviewcl']['hint'] = $lang->review->reviewcl;
  39. $config->review->admin->actionList['reviewcl']['url'] = array('module' => 'reviewcl', 'method' => 'browse', 'params' => 'groupID={root}&browseType=byreview&param={id}');
  40. $config->review->admin->actionList['edit']['icon'] = 'edit';
  41. $config->review->admin->actionList['edit']['text'] = $lang->edit;
  42. $config->review->admin->actionList['edit']['hint'] = $lang->edit;
  43. $config->review->admin->actionList['edit']['url'] = array('module' => 'review', 'method' => 'editFlow', 'params' => 'groupID={root}&flowID={id}&objectType={objectID}');
  44. $config->review->admin->actionList['edit']['data-toggle'] = 'modal';
  45. $config->review->admin->actionList['edit']['data-size'] = 'sm';
  46. $config->review->admin->actionList['delete']['icon'] = 'trash';
  47. $config->review->admin->actionList['delete']['text'] = $lang->delete;
  48. $config->review->admin->actionList['delete']['hint'] = $lang->delete;
  49. $config->review->admin->actionList['delete']['className'] = 'ajax-submit';
  50. $config->review->admin->actionList['delete']['data-confirm'] = $lang->review->confirmDeleteFlow;
  51. $config->review->admin->actionList['delete']['url'] = array('module' => 'review', 'method' => 'deleteFlow', 'params' => 'flowID={id}');