uploadlicense.html.php 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * The upload 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.lite.html.php';?>
  14. <div id='mainContent' class='main-content'>
  15. <div class='main-header'>
  16. <h2><?php echo $lang->admin->uploadLicense;?></h2>
  17. </div>
  18. <?php if(empty($fixFile)):?>
  19. <form method='post' enctype='multipart/form-data' class='form-ajax' style='padding: 5% 20%'>
  20. <div class='input-group'>
  21. <input type='file' name='file' class='form-control' accept='.zip'/>
  22. <span class='input-group-btn'><?php echo html::submitButton();?></span>
  23. </div>
  24. </form>
  25. <?php else:?>
  26. <div class='alert alert-info'>
  27. <p><?php printf($lang->admin->notWritable, join('</code><code>', $fixFile))?></p>
  28. </div>
  29. <p style='padding:0 0 20px 20px;'><?php echo html::a(inlink('uploadLicense'), $lang->refresh, '', "class='btn'")?></p>
  30. <?php endif;?>
  31. </div>
  32. <?php include $app->getModuleRoot() . 'common/view/footer.lite.html.php';?>