block_groupspecified.php 849 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_groupspecified.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_group', 'class/block/group');
  12. class block_groupspecified extends block_group {
  13. function block_groupspecified() {
  14. $this->setting = array(
  15. 'fids' => array(
  16. 'title' => 'grouplist_fids',
  17. 'type' => 'text'
  18. ),
  19. 'titlelength' => array(
  20. 'title' => 'grouplist_titlelength',
  21. 'type' => 'text',
  22. 'default' => 40
  23. ),
  24. 'summarylength' => array(
  25. 'title' => 'grouplist_summarylength',
  26. 'type' => 'text',
  27. 'default' => 80
  28. )
  29. );
  30. }
  31. function name() {
  32. return lang('blockclass', 'blockclass_group_script_groupspecified');
  33. }
  34. }
  35. ?>