<?php
/**
 * The view file of bug module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng Wang <chunsheng@cnezsoft.com>
 * @package     admin
 * @version     $Id: view.html.php 2568 2012-02-09 06:56:35Z shiyangyangwork@yahoo.cn $
 * @link        https://www.zentao.pm
 */
?>
<?php include '../../common/view/header.html.php';?>
<div id='mainContent' class='main-content'>
  <?php if(!$bind and !$ignore and common::hasPriv('admin', 'register')):?>
  <div id="notice" class='alert alert-success'>
    <?php echo html::a(inlink('ignore'), '<i class="icon-close icon-sm"></i> ' . $lang->admin->notice->ignore, 'hiddenwin', 'class="close" data-dismiss="alert" style="font-size: 12px"');?>
    <div class="content"><i class='icon-exclamation-sign'></i> <?php echo sprintf($lang->admin->notice->register, html::a(inlink('register'), $lang->admin->registerNotice->click, '', 'class="alert-link"'));?></div>
  </div>
  <?php endif;?>

  <div class='main-header'>
    <h2>
      <?php
      printf($lang->admin->info->version, $config->version);
      if($bind) echo sprintf($lang->admin->info->account, '<span class="red">' . $account . '</span>');
      echo $lang->admin->info->links;
      ?>
    </h2>
  </div>
  <?php include '../../misc/view/links.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
