view.html.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * The detail view file of workflowaction module of ZDOO.
  4. *
  5. * @copyright Copyright 2009-2016 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license 商业软件,非开源软件
  7. * @author Gang Liu <liugan@cnezsoft.com>
  8. * @package workflowaction
  9. * @version $Id$
  10. * @link http://www.zdoo.com
  11. */
  12. ?>
  13. <?php include '../../common/view/header.modal.html.php';?>
  14. <table class='table table-data'>
  15. <tr>
  16. <th class='w-70px'><?php echo $lang->workflowaction->name;?></th>
  17. <td><?php echo $action->name;?></td>
  18. </tr>
  19. <tr>
  20. <th><?php echo $lang->workflowaction->action;?></th>
  21. <td><?php echo $action->action;?></td>
  22. </tr>
  23. <?php if(!empty($action->open)):?>
  24. <tr>
  25. <th><?php echo $lang->workflowaction->open;?></th>
  26. <td><?php echo zget($lang->workflowaction->openList, $action->open);?></td>
  27. </tr>
  28. <?php endif;?>
  29. <?php if(!empty($action->position)):?>
  30. <tr>
  31. <th><?php echo $lang->workflowaction->position;?></th>
  32. <td><?php echo zget($lang->workflowaction->positionList, $action->position);?></td>
  33. </tr>
  34. <?php endif;?>
  35. <?php if(!empty($action->show)):?>
  36. <tr>
  37. <th><?php echo $lang->workflowaction->show;?></th>
  38. <td><?php echo zget($lang->workflowaction->showList, $action->show);?></td>
  39. </tr>
  40. <?php endif;?>
  41. <tr>
  42. <th><?php echo $lang->workflowaction->createdBy;?></th>
  43. <td><?php echo zget($users, $action->createdBy) . $lang->at . formatTime($action->createdDate, DT_DATETIME1);?></td>
  44. </tr>
  45. <tr>
  46. <th><?php echo $lang->workflowaction->desc;?></th>
  47. <td><?php echo $action->desc;?></td>
  48. </tr>
  49. </table>
  50. <?php echo $this->fetch('action', 'history', "objectType=workflowaction&objectID=$action->id");?>
  51. <div class='cell'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  52. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>