block_blogspecified.php 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_blogspecified.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_blog', 'class/block/space');
  12. class block_blogspecified extends block_blog {
  13. function block_blogspecified() {
  14. $this->setting = array(
  15. 'blogids' => array(
  16. 'title' => 'bloglist_blogids',
  17. 'type' => 'text'
  18. ),
  19. 'uids' => array(
  20. 'title' => 'bloglist_uids',
  21. 'type' => 'text',
  22. ),
  23. 'catid' => array(
  24. 'title' => 'bloglist_catid',
  25. 'type'=>'mselect',
  26. ),
  27. 'titlelength' => array(
  28. 'title' => 'bloglist_titlelength',
  29. 'type' => 'text',
  30. 'default' => 40
  31. ),
  32. 'summarylength' => array(
  33. 'title' => 'bloglist_summarylength',
  34. 'type' => 'text',
  35. 'default' => 80
  36. )
  37. );
  38. }
  39. function name() {
  40. return lang('blockclass', 'blockclass_blog_script_blogspecified');
  41. }
  42. }
  43. ?>