setreviewer.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * The set reviewer view file of lieu module of RanZhi.
  4. *
  5. * @copyright Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Gang Liu <liugang@cnezsoft.com>
  8. * @package lieu
  9. * @version $Id$
  10. * @link http://www.ranzhi.org
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <style>
  15. #menuActions{float:right !important; margin-top: -60px !important;}
  16. .input-group-required > .required::after, .required-wrapper.required::after {top:12px !important;}
  17. .modal-body .table {margin-bottom:0px !important;}
  18. </style>
  19. <div id='featurebar'>
  20. <ul class='nav'>
  21. <?php
  22. $methodName = strtolower($this->app->rawMethod);
  23. foreach($lang->lieu->featureBar['personal'] as $method => $name)
  24. {
  25. $class = strtolower($method) == $methodName ? "class='active'" : '';
  26. if(common::hasPriv('lieu', $method)) echo "<li id='$method' $class>" . html::a($this->createLink('lieu', $method), $name) . '</li>';
  27. }
  28. ?>
  29. </ul>
  30. </div>
  31. <?php include $app->getModuleRoot() . 'common/view/chosen.html.php';?>
  32. <div class='panel'>
  33. <div class='panel-heading'><strong><?php echo $lang->lieu->setReviewer;?></strong></div>
  34. <div class='panel-body'>
  35. <form id='ajaxForm' method='post'>
  36. <table class='table table-form table-condensed'>
  37. <tr>
  38. <th class='w-100px'><?php echo $lang->lieu->reviewedBy;?></th>
  39. <td class='w-200px'><?php echo html::select('reviewedBy', array('' => $lang->dept->manager) + $users, $reviewedBy, "class='form-control chosen'")?></td><td></td>
  40. <td></td>
  41. </tr>
  42. <tr>
  43. <th><?php echo $lang->lieu->checkHours;?></th>
  44. <td colspan='2'><?php echo html::radio('checkHours', $lang->lieu->checkHoursList, $config->lieu->checkHours);?></td>
  45. </tr>
  46. <tr>
  47. <th></th>
  48. <td colspan='2'><?php echo baseHTML::submitButton();?></td>
  49. </tr>
  50. </table>
  51. </form>
  52. </div>
  53. </div>
  54. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>