block_grouptradespecified.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: block_grouptradespecified.php 23608 2011-07-27 08:10:07Z cnteacher $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. require_once libfile('block_grouptrade', 'class/block/group');
  12. class block_grouptradespecified extends block_grouptrade {
  13. function block_grouptradespecified() {
  14. $this->setting = array(
  15. 'tids' => array(
  16. 'title' => 'grouptrade_tids',
  17. 'type' => 'text'
  18. ),
  19. 'uids' => array(
  20. 'title' => 'grouptrade_uids',
  21. 'type' => 'text'
  22. ),
  23. 'keyword' => array(
  24. 'title' => 'grouptrade_keyword',
  25. 'type' => 'text'
  26. ),
  27. 'fids' => array(
  28. 'title' => 'grouptrade_fids',
  29. 'type' => 'text'
  30. ),
  31. 'gtids' => array(
  32. 'title' => 'grouptrade_gtids',
  33. 'type' => 'mselect',
  34. 'value' => array(
  35. ),
  36. ),
  37. 'titlelength' => array(
  38. 'title' => 'grouptrade_titlelength',
  39. 'type' => 'text',
  40. 'default' => 40
  41. ),
  42. 'summarylength' => array(
  43. 'title' => 'grouptrade_summarylength',
  44. 'type' => 'text',
  45. 'default' => 80
  46. ),
  47. );
  48. }
  49. function name() {
  50. return lang('blockclass', 'blockclass_grouptrade_script_grouptradespecified');
  51. }
  52. }
  53. ?>