uploadlicense.html.php 956 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The uploadlicense view file of admin module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Shujie Tian <tianshujie@chandao.com>
  7. * @package admin
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. set::title($lang->admin->uploadLicense),
  14. !empty($fixFile) ? set::actions(false) : null,
  15. empty($fixFile) ? input(set::type('file'), set::name('file')) : div
  16. (
  17. span(setClass('label secondary-pale w-full p-4 justify-start'), html(sprintf($lang->admin->notWritable, join('</code><code>', $fixFile)))),
  18. btn
  19. (
  20. setClass('mt-4'),
  21. setData(array('load' => 'modal')),
  22. on::click('loadModal()'),
  23. $lang->refresh
  24. )
  25. )
  26. );