zentaomax.php 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?php
  2. global $lang, $app;
  3. $app->loadLang('story');
  4. $app->loadModuleConfig('story');
  5. $config->testreport->story->dtable->fieldList = array();
  6. $config->testreport->story->dtable->fieldList['id']['name'] = 'id';
  7. $config->testreport->story->dtable->fieldList['id']['title'] = $lang->idAB;
  8. $config->testreport->story->dtable->fieldList['id']['type'] = 'id';
  9. $config->testreport->story->dtable->fieldList['id']['sort'] = false;
  10. $config->testreport->story->dtable->fieldList['title'] = $config->story->dtable->fieldList['title'];
  11. $config->testreport->story->dtable->fieldList['product'] = $config->story->dtable->fieldList['product'];
  12. $config->testreport->story->dtable->fieldList['pri'] = $config->story->dtable->fieldList['pri'];
  13. $config->testreport->story->dtable->fieldList['openedBy'] = $config->story->dtable->fieldList['openedBy'];
  14. $config->testreport->story->dtable->fieldList['assignedTo'] = $config->story->dtable->fieldList['assignedTo'];
  15. $config->testreport->story->dtable->fieldList['estimate'] = $config->story->dtable->fieldList['estimate'];
  16. $config->testreport->story->dtable->fieldList['status'] = $config->story->dtable->fieldList['status'];
  17. $config->testreport->story->dtable->fieldList['stage'] = $config->story->dtable->fieldList['stage'];
  18. $config->testreport->story->dtable->fieldList['title']['sort'] = false;
  19. $config->testreport->story->dtable->fieldList['pri']['sort'] = false;
  20. $config->testreport->story->dtable->fieldList['openedBy']['sort'] = false;
  21. $config->testreport->story->dtable->fieldList['assignedTo']['sort'] = false;
  22. $config->testreport->story->dtable->fieldList['estimate']['sort'] = false;
  23. $config->testreport->story->dtable->fieldList['status']['sort'] = false;
  24. $config->testreport->story->dtable->fieldList['stage']['sort'] = false;
  25. $config->testreport->story->dtable->fieldList['title']['nestedToggle'] = false;
  26. $config->testreport->story->dtable->fieldList['assignedTo']['type'] = 'user';
  27. $config->testreport->story->dtable->fieldList['product']['type'] = 'category';
  28. $config->testreport->story->dtable->fieldList['pri']['fixed'] = false;
  29. $app->loadLang('bug');
  30. $app->loadModuleConfig('bug');
  31. $config->testreport->bug->dtable->fieldList = array();
  32. $config->testreport->bug->dtable->fieldList['id']['name'] = 'id';
  33. $config->testreport->bug->dtable->fieldList['id']['title'] = $lang->idAB;
  34. $config->testreport->bug->dtable->fieldList['id']['type'] = 'id';
  35. $config->testreport->bug->dtable->fieldList['id']['sort'] = false;
  36. $config->testreport->bug->dtable->fieldList['title'] = $config->bug->dtable->fieldList['title'];
  37. $config->testreport->bug->dtable->fieldList['product'] = $config->bug->dtable->fieldList['product'];
  38. $config->testreport->bug->dtable->fieldList['severity'] = $config->bug->dtable->fieldList['severity'];
  39. $config->testreport->bug->dtable->fieldList['pri'] = $config->bug->dtable->fieldList['pri'];
  40. $config->testreport->bug->dtable->fieldList['status'] = $config->bug->dtable->fieldList['status'];
  41. $config->testreport->bug->dtable->fieldList['openedBy'] = $config->bug->dtable->fieldList['openedBy'];
  42. $config->testreport->bug->dtable->fieldList['resolvedBy'] = $config->bug->dtable->fieldList['resolvedBy'];
  43. $config->testreport->bug->dtable->fieldList['resolution'] = $config->bug->dtable->fieldList['resolution'];
  44. $config->testreport->bug->dtable->fieldList['resolvedDate'] = $config->bug->dtable->fieldList['resolvedDate'];
  45. $config->testreport->bug->dtable->fieldList['title']['sort'] = false;
  46. $config->testreport->bug->dtable->fieldList['severity']['sort'] = false;
  47. $config->testreport->bug->dtable->fieldList['pri']['sort'] = false;
  48. $config->testreport->bug->dtable->fieldList['status']['sort'] = false;
  49. $config->testreport->bug->dtable->fieldList['openedBy']['sort'] = false;
  50. $config->testreport->bug->dtable->fieldList['resolvedBy']['sort'] = false;
  51. $config->testreport->bug->dtable->fieldList['resolution']['sort'] = false;
  52. $config->testreport->bug->dtable->fieldList['resolvedDate']['sort'] = false;
  53. $config->testreport->bug->dtable->fieldList['product']['type'] = 'category';
  54. $app->loadLang('testcase');
  55. $app->loadModuleConfig('testcase');
  56. $config->testreport->testcase->dtable->fieldList = array();
  57. $config->testreport->testcase->dtable->fieldList['id']['name'] = 'id';
  58. $config->testreport->testcase->dtable->fieldList['id']['title'] = $lang->idAB;
  59. $config->testreport->testcase->dtable->fieldList['id']['type'] = 'id';
  60. $config->testreport->testcase->dtable->fieldList['id']['sort'] = false;
  61. $config->testreport->testcase->dtable->fieldList['title'] = $config->testcase->dtable->fieldList['title'];
  62. $config->testreport->testcase->dtable->fieldList['product'] = $config->testcase->dtable->fieldList['product'];
  63. $config->testreport->testcase->dtable->fieldList['pri'] = $config->testcase->dtable->fieldList['pri'];
  64. $config->testreport->testcase->dtable->fieldList['status'] = $config->testcase->dtable->fieldList['status'];
  65. $config->testreport->testcase->dtable->fieldList['type'] = $config->testcase->dtable->fieldList['type'];
  66. $config->testreport->testcase->dtable->fieldList['title']['sort'] = false;
  67. $config->testreport->testcase->dtable->fieldList['pri']['sort'] = false;
  68. $config->testreport->testcase->dtable->fieldList['status']['sort'] = false;
  69. $config->testreport->testcase->dtable->fieldList['type']['sort'] = false;
  70. $config->testreport->testcase->dtable->fieldList['assignedTo']['title'] = $lang->testcase->assignedTo;
  71. $config->testreport->testcase->dtable->fieldList['assignedTo']['type'] = 'user';
  72. $config->testreport->testcase->dtable->fieldList['assignedTo']['sort'] = false;
  73. $config->testreport->testcase->dtable->fieldList['lastRunner'] = $config->testcase->dtable->fieldList['lastRunner'];
  74. $config->testreport->testcase->dtable->fieldList['lastRunDate'] = $config->testcase->dtable->fieldList['lastRunDate'];
  75. $config->testreport->testcase->dtable->fieldList['lastRunResult'] = $config->testcase->dtable->fieldList['lastRunResult'];
  76. $config->testreport->testcase->dtable->fieldList['lastRunner']['sort'] = false;
  77. $config->testreport->testcase->dtable->fieldList['lastRunDate']['sort'] = false;
  78. $config->testreport->testcase->dtable->fieldList['lastRunResult']['sort'] = false;
  79. $config->testreport->testcase->dtable->fieldList['title']['nestedToggle'] = false;
  80. $config->testreport->testcase->dtable->fieldList['product']['hidden'] = false;
  81. $config->testreport->testcase->dtable->fieldList['product']['type'] = 'category';