| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- /**
- * The set reviewer view file of lieu module of RanZhi.
- *
- * @copyright Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
- * @license ZPL (http://zpl.pub/page/zplv12.html)
- * @author Gang Liu <liugang@cnezsoft.com>
- * @package lieu
- * @version $Id$
- * @link http://www.ranzhi.org
- */
- ?>
- <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
- <style>
- #menuActions{float:right !important; margin-top: -60px !important;}
- .input-group-required > .required::after, .required-wrapper.required::after {top:12px !important;}
- .modal-body .table {margin-bottom:0px !important;}
- </style>
- <div id='featurebar'>
- <ul class='nav'>
- <?php
- $methodName = strtolower($this->app->getMethodName());
- foreach($lang->lieu->featurebar as $key => $menu)
- {
- if(is_string($menu)) $link = $menu;
- if(is_array($menu)) $link = $menu['link'];
- list($name, $currentModule, $currentMethod, $params) = explode('|', $link);
- $class = strtolower($key) == $methodName ? "class='active'" : '';
- if(isset($menu['alias'])) $class = strpos(strtolower($menu['alias']), strtolower($key)) !== false ? "class='active'" : $class;
- if(common::hasPriv($currentModule, $currentMethod)) echo "<li id='$key' $class>" . html::a($this->createLink($currentModule, $currentMethod, $params), $name) . '</li>';
- }
- ?>
- </ul>
- </div>
- <?php include $app->getModuleRoot() . 'common/view/chosen.html.php';?>
- <div class='panel'>
- <div class='panel-heading'><strong><?php echo $lang->lieu->setReviewer;?></strong></div>
- <div class='panel-body'>
- <form id='ajaxForm' method='post'>
- <table class='table table-form table-condensed'>
- <tr>
- <th class='w-100px'><?php echo $lang->lieu->reviewedBy;?></th>
- <td class='w-200px'><?php echo html::select('reviewedBy', array('' => $lang->dept->manager) + $users, $reviewedBy, "class='form-control chosen'")?></td><td></td>
- <td></td>
- </tr>
- <tr>
- <th><?php echo $lang->lieu->checkHours;?></th>
- <td colspan='2'><?php echo html::radio('checkHours', $lang->lieu->checkHoursList, $config->lieu->checkHours);?></td>
- </tr>
- <tr>
- <th></th>
- <td colspan='2'><?php echo baseHTML::submitButton();?></td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|