dtable.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. global $lang, $app;
  3. $config->pssp->dtable = new stdclass();
  4. $config->pssp->dtable->fieldList['check']['name'] = 'check';
  5. $config->pssp->dtable->fieldList['check']['title'] = $lang->pssp->tailor;
  6. $config->pssp->dtable->fieldList['check']['type'] = 'trimCheckbox';
  7. $config->pssp->dtable->fieldList['check']['fixed'] = 'left';
  8. $config->pssp->dtable->fieldList['check']['sortType'] = false;
  9. $config->pssp->dtable->fieldList['check']['show'] = true;
  10. $config->pssp->dtable->fieldList['check']['group'] = 1;
  11. if($app->getClientLang() == 'en') $config->pssp->dtable->fieldList['check']['width'] = 80;
  12. $config->pssp->dtable->fieldList['name']['name'] = 'name';
  13. $config->pssp->dtable->fieldList['name']['title'] = $lang->pssp->name;
  14. $config->pssp->dtable->fieldList['name']['type'] = 'title';
  15. $config->pssp->dtable->fieldList['name']['fixed'] = 'left';
  16. $config->pssp->dtable->fieldList['name']['sortType'] = false;
  17. $config->pssp->dtable->fieldList['name']['nestedToggle'] = true;
  18. $config->pssp->dtable->fieldList['name']['show'] = true;
  19. $config->pssp->dtable->fieldList['name']['group'] = 2;
  20. $config->pssp->dtable->fieldList['type']['name'] = 'type';
  21. $config->pssp->dtable->fieldList['type']['title'] = $lang->pssp->type;
  22. $config->pssp->dtable->fieldList['type']['type'] = 'category';
  23. $config->pssp->dtable->fieldList['type']['map'] = $lang->pssp->typeList;
  24. $config->pssp->dtable->fieldList['type']['sortType'] = false;
  25. $config->pssp->dtable->fieldList['type']['show'] = true;
  26. $config->pssp->dtable->fieldList['type']['group'] = 3;
  27. $config->pssp->dtable->fieldList['tailorNorm']['name'] = 'tailorNorm';
  28. $config->pssp->dtable->fieldList['tailorNorm']['title'] = $lang->pssp->tailorNorm;
  29. $config->pssp->dtable->fieldList['tailorNorm']['type'] = 'desc';
  30. $config->pssp->dtable->fieldList['tailorNorm']['sortType'] = false;
  31. $config->pssp->dtable->fieldList['tailorNorm']['show'] = true;
  32. $config->pssp->dtable->fieldList['tailorNorm']['group'] = 4;
  33. $config->pssp->dtable->fieldList['result']['name'] = 'result';
  34. $config->pssp->dtable->fieldList['result']['title'] = $lang->pssp->result;
  35. $config->pssp->dtable->fieldList['result']['type'] = 'category';
  36. $config->pssp->dtable->fieldList['result']['map'] = $lang->pssp->resultList;
  37. $config->pssp->dtable->fieldList['result']['sortType'] = false;
  38. $config->pssp->dtable->fieldList['result']['show'] = true;
  39. $config->pssp->dtable->fieldList['result']['group'] = 5;
  40. $config->pssp->dtable->fieldList['createdBy']['name'] = 'createdBy';
  41. $config->pssp->dtable->fieldList['createdBy']['title'] = $lang->pssp->createdBy;
  42. $config->pssp->dtable->fieldList['createdBy']['type'] = 'user';
  43. $config->pssp->dtable->fieldList['createdBy']['sortType'] = false;
  44. $config->pssp->dtable->fieldList['createdBy']['show'] = true;
  45. $config->pssp->dtable->fieldList['createdBy']['group'] = 6;
  46. $config->pssp->dtable->fieldList['createdDate']['name'] = 'createdDate';
  47. $config->pssp->dtable->fieldList['createdDate']['title'] = $lang->pssp->createdDate;
  48. $config->pssp->dtable->fieldList['createdDate']['type'] = 'date';
  49. $config->pssp->dtable->fieldList['createdDate']['sortType'] = false;
  50. $config->pssp->dtable->fieldList['createdDate']['show'] = true;
  51. $config->pssp->dtable->fieldList['createdDate']['group'] = 7;