dtable.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. global $lang;
  3. $config->score->dtable = new stdclass();
  4. $config->score->dtable->fieldList['module']['name'] = 'module';
  5. $config->score->dtable->fieldList['module']['title'] = $lang->score->module;
  6. $config->score->dtable->fieldList['module']['type'] = 'category';
  7. $config->score->dtable->fieldList['module']['fixed'] = 'left';
  8. $config->score->dtable->fieldList['method']['name'] = 'method';
  9. $config->score->dtable->fieldList['method']['title'] = $lang->score->method;
  10. $config->score->dtable->fieldList['method']['type'] = 'text';
  11. $config->score->dtable->fieldList['method']['fixed'] = 'left';
  12. $config->score->dtable->fieldList['times']['name'] = 'times';
  13. $config->score->dtable->fieldList['times']['title'] = $lang->score->times;
  14. $config->score->dtable->fieldList['times']['type'] = 'count';
  15. $config->score->dtable->fieldList['times']['sortType'] = false;
  16. $config->score->dtable->fieldList['times']['group'] = 2;
  17. $config->score->dtable->fieldList['hour']['name'] = 'hour';
  18. $config->score->dtable->fieldList['hour']['title'] = $lang->score->hour;
  19. $config->score->dtable->fieldList['hour']['type'] = 'count';
  20. $config->score->dtable->fieldList['hour']['sortType'] = false;
  21. $config->score->dtable->fieldList['hour']['group'] = 2;
  22. $config->score->dtable->fieldList['score']['name'] = 'score';
  23. $config->score->dtable->fieldList['score']['title'] = $lang->score->score;
  24. $config->score->dtable->fieldList['score']['type'] = 'count';
  25. $config->score->dtable->fieldList['score']['sortType'] = false;
  26. $config->score->dtable->fieldList['score']['group'] = 2;
  27. $config->score->dtable->fieldList['desc']['name'] = 'desc';
  28. $config->score->dtable->fieldList['desc']['title'] = $lang->score->desc;
  29. $config->score->dtable->fieldList['desc']['type'] = 'desc';