excel.php 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. global $lang, $app;
  3. $app->loadLang('bug');
  4. $config->excel->testcase = new stdclass();
  5. $config->excel->testcase->initField['stepDesc'] = "1. \n2. \n3. ";
  6. $config->excel->testcase->initField['stepExpect'] = "1. \n2. \n3. ";
  7. $config->excel->caselib = new stdclass();
  8. $config->excel->caselib->initField['stepDesc'] = "1. \n2. \n3. ";
  9. $config->excel->caselib->initField['stepExpect'] = "1. \n2. \n3. ";
  10. $config->excel->bug = new stdclass();
  11. $config->excel->bug->initField['steps'] = str_replace(array('<p>', '</p>'), array('', "\n"), $lang->bug->tplStep . $lang->bug->tplResult . $lang->bug->tplExpect);
  12. $config->excel->bug->initField['openedBuild'] = $lang->trunk . '(#trunk)';
  13. $config->excel->freeze = new stdclass();
  14. $config->excel->freeze->testcase = 'title';
  15. $config->excel->freeze->bug = 'title';
  16. $config->excel->freeze->task = 'name';
  17. $config->excel->freeze->story = 'title';
  18. $config->excel->freeze->tree = 'title';
  19. $config->excel->freeze->todo = 'name';
  20. $config->excel->freeze->leave = 'id';
  21. $config->excel->freeze->makeup = 'id';
  22. $config->excel->freeze->overtime = 'id';
  23. $config->excel->tipsHeight = new stdclass();
  24. $config->excel->tipsHeight->task = '70';
  25. $config->excel->tipsHeight->story = '30';
  26. $config->excel->tipsHeight->epic = $config->excel->tipsHeight->story;
  27. $config->excel->tipsHeight->requirement = $config->excel->tipsHeight->story;