block_picspecified.php 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_picspecified.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_pic', 'class/block/space');
  12. class block_picspecified extends block_pic {
  13. function block_picspecified() {
  14. $this->setting = array(
  15. 'picids' => array(
  16. 'title' => 'piclist_picids',
  17. 'type' => 'text',
  18. 'value' => ''
  19. ),
  20. 'uids' => array(
  21. 'title' => 'piclist_uids',
  22. 'type' => 'text',
  23. 'value' => ''
  24. ),
  25. 'aids' => array(
  26. 'title' => 'piclist_aids',
  27. 'type' => 'text',
  28. 'value' => ''
  29. ),
  30. 'titlelength' => array(
  31. 'title' => 'piclist_titlelength',
  32. 'type' => 'text',
  33. 'default' => 40
  34. )
  35. );
  36. }
  37. function name() {
  38. return lang('blockclass', 'blockclass_pic_script_picspecified');
  39. }
  40. }
  41. ?>