export.html.php 958 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * The export view file of flow module of ZDOO.
  4. *
  5. * @copyright Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Gang Liu <liugang@cnezsoft.com>
  8. * @package flow
  9. * @version $Id$
  10. * @link http://www.zdoo.com
  11. */
  12. ?>
  13. <?php
  14. if(empty($fields))
  15. {
  16. include $app->getModuleRoot() . 'common/view/header.lite.html.php';
  17. if(commonModel::hasPriv('flow.workflowfield', 'setExport'))
  18. {
  19. $designLink = baseHTML::a($this->createLink('workflowfield', 'setExport', "module={$module}"), $lang->flow->setExport, "target='_parent'");
  20. }
  21. else
  22. {
  23. $designLink = $lang->flow->setExport;
  24. }
  25. echo "<div class='alert'>" . sprintf($lang->flow->tips->emptyExportFields, $designLink) . '</div>';
  26. }
  27. else
  28. {
  29. include '../../file/view/export2excel.html.php';
  30. }
  31. ?>