view.html.php 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <div id="mainMenu" class="clearfix">
  3. <div class="btn-toolbar pull-left">
  4. <?php if(!isonlybody()):?>
  5. <?php echo html::a($this->createLink('reviewcl', $method, "type={$reviewcl->type}object="), '<i class="icon icon-back icon-sm"></i> ' . $lang->goback, '', "class='btn btn-secondary'");?>
  6. <?php endif;?>
  7. <div class="divider"></div>
  8. <div class="page-title">
  9. <span class="label label-id"><?php echo $reviewcl->id;?></span>
  10. <span class="text" title="<?php echo $reviewcl->title;?>"><?php echo $reviewcl->title;?></span>
  11. </div>
  12. </div>
  13. </div>
  14. <div id="mainContent" class="main-row">
  15. <div class="main-col col-8">
  16. <div class='cell'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  17. <div class='main-actions text-center' style="margin-top:20px">
  18. <div class="btn-toolbar">
  19. <?php common::printBack($this->session->reviewcl);?>
  20. <?php if(!isonlybody()) echo "<div class='divider'></div>";?>
  21. <?php if(!$reviewcl->deleted):?>
  22. <?php
  23. common::printIcon('reviewcl', 'edit', "reviewclID=$reviewcl->id", $reviewcl, 'button', 'edit');
  24. common::printIcon('reviewcl', 'delete', "reviewclID=$reviewcl->id", $reviewcl, 'button', 'trash', 'hiddenwin');
  25. ?>
  26. <?php endif;?>
  27. </div>
  28. </div>
  29. </div>
  30. <div class='side-col col-4'>
  31. <div class='cell'>
  32. <div class="detail">
  33. <div class='detail-title'><?php echo $lang->reviewcl->basicInfo;?></div>
  34. <div class='detail-content'>
  35. <table class='table table-data'>
  36. <tr>
  37. <th><?php echo $lang->reviewcl->id;?></th>
  38. <td><?php echo $reviewcl->id;?></td>
  39. </tr>
  40. <tr>
  41. <th><?php echo $lang->reviewcl->title;?></th>
  42. <td><?php echo $reviewcl->title;?></td>
  43. </tr>
  44. <tr>
  45. <th><?php echo $lang->reviewcl->object;?></th>
  46. <td><?php echo zget($lang->baseline->objectList, $reviewcl->object);?></td>
  47. </tr>
  48. <tr>
  49. <th><?php echo $lang->reviewcl->category;?></th>
  50. <td><?php echo zget($lang->reviewcl->{$reviewcl->type . 'CategoryList'}, $reviewcl->category);?></td>
  51. </tr>
  52. <tr>
  53. <th><?php echo $lang->reviewcl->createdBy;?></th>
  54. <td><?php echo zget($users, $reviewcl->createdBy);?></td>
  55. </tr>
  56. <tr>
  57. <th><?php echo $lang->reviewcl->createdDate;?></th>
  58. <td><?php echo substr($reviewcl->createdDate, 0, 11);?></td>
  59. </tr>
  60. <tr>
  61. <th><?php echo $lang->reviewcl->editedBy;?></th>
  62. <td><?php echo zget($users, $reviewcl->editedBy);?></td>
  63. </tr>
  64. <tr>
  65. <th><?php echo $lang->reviewcl->editedDate;?></th>
  66. <td><?php echo substr($reviewcl->editedDate, 0, 11);?></td>
  67. </tr>
  68. </table>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>