license.html.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * The license view file of admin module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2014 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
  6. * @license LGPL (http://www.gnu.org/licenses/lgpl.html)
  7. * @author Yidong Wang <yidong@cnezsoft.com>
  8. * @package admin
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <div id='mainContent' class='main-content'>
  15. <div class='mw-600pxt'>
  16. <div class='main-header'>
  17. <h2><?php echo $lang->admin->license?></h2>
  18. <div class='btn-toolbar pull-right'><?php echo html::a(inlink('uploadLicense'), $lang->admin->uploadLicense, '', "class='btn btn-primary iframe'")?></div>
  19. </div>
  20. <table class='table table-borderless table-data'>
  21. <?php foreach($lang->admin->property as $key => $name):?>
  22. <?php $property = zget($ioncubeProperties, $key, '');?>
  23. <?php if($key == 'serviceDeadline' && helper::isZeroDate($property)) continue;?>
  24. <tr>
  25. <th class='w-120px'><?php echo $name?></th>
  26. <?php
  27. if($key == 'expireDate' and $property == 'All Life') $property = $lang->admin->licenseInfo['alllife'];
  28. if($key == 'user' and empty($property)) $property = $lang->admin->licenseInfo['nouser'];
  29. ?>
  30. <td><?php echo $property?></td>
  31. </tr>
  32. <?php endforeach;?>
  33. </table>
  34. </div>
  35. </div>
  36. <script>
  37. $('#subNavbar li[data-id=system]').addClass('active');
  38. </script>
  39. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>