rule.html.php 761 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The score view file of my module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(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 Sun Guangming <sunguangming@easycorp.ltd>
  7. * @package my
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. featureBar
  12. (
  13. set::current('all')
  14. );
  15. toolbar
  16. (
  17. btn
  18. (
  19. setClass('btn primary'),
  20. set::url(helper::createLink('my', 'score')),
  21. $lang->score->common
  22. )
  23. );
  24. dtable
  25. (
  26. set::cols(array_values($config->score->dtable->fieldList)),
  27. set::data($rules),
  28. set::fixedLeftWidth('0.2')
  29. );
  30. render();