<?php
/**
 * The deptside view file of user 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      Yidong Wang <yidong@cnezsoft.com>
 * @package     user
 * @version     $Id$
 * @link        http://www.ranzhi.org
 */
?>
<div class='col-md-2'>
  <div class='panel'>
    <div class='panel-heading'><strong><i class="icon-building"></i> <?php echo $lang->dept->common;?></strong></div>
    <div class='panel-body'>
      <div id='treeMenuBox'><?php echo $treeMenu;?></div>
      <?php echo html::a($this->inlink('create'), $lang->user->create, "class='btn btn-primary btn-xs'");?>
      <?php echo html::a($this->createLink('tree', 'browse', "type=dept"), $lang->dept->edit, "class='btn btn-primary btn-xs'");?>
      <?php echo html::a($this->createLink('setting', 'lang', "module=user&field=roleList"), $lang->user->role, "class='btn btn-primary btn-xs'");?>
    </div>
  </div>
</div>
