setreviewer.html.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * The set reviewer view file of makeup 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 makeup
  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->makeup->featureBar['personal'] as $method => $name)
  24. {
  25. $class = strtolower($method) == $methodName ? "class='active'" : '';
  26. if(common::hasPriv('makeup', $method)) echo "<li id='$method' $class>" . html::a($this->createLink('makeup', $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->makeup->setReviewer;?></strong></div>
  34. <div class='panel-body'>
  35. <form id='ajaxForm' method='post'>
  36. <table class='table table-form table-condensed w-p40'>
  37. <tr>
  38. <th class='w-100px'><?php echo $lang->makeup->reviewedBy;?></th>
  39. <td><?php echo html::select('reviewedBy', array('' => $this->lang->dept->manager) + $users, $reviewedBy, "class='form-control chosen'")?></td><td></td>
  40. </tr>
  41. <tr><th></th><td colspan='2'><?php echo baseHTML::submitButton();?></td></tr>
  42. </table>
  43. </form>
  44. </div>
  45. </div>
  46. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>