exportchart.html.php 982 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The exportchart view file of task module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2025 禅道软件(青岛)有限公司(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 Yanyi Cao <caoyanyi@chandao.com>
  7. * @package task
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. jsVar('defaultFileName', $lang->task->report->untitled);
  12. jsVar('errorExportChart', $lang->task->report->errorExportChart);
  13. formPanel
  14. (
  15. set::formID('exportChartForm'),
  16. set::title($lang->export),
  17. set::actions(array()),
  18. formRow
  19. (
  20. formGroup
  21. (
  22. set::width('1/2'),
  23. set::name('fileName'),
  24. set::label($lang->setFileName)
  25. ),
  26. btn
  27. (
  28. on::click()->call('exportChart'),
  29. set::text($lang->save),
  30. set::type('primary')
  31. )
  32. )
  33. );