block_albumspecified.php 933 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_albumspecified.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_album', 'class/block/space');
  12. class block_albumspecified extends block_album {
  13. function block_albumspecified() {
  14. $this->setting = array(
  15. 'catid' => array(
  16. 'title' => 'albumlist_catid',
  17. 'type' => 'mselect',
  18. ),
  19. 'aids' => array(
  20. 'title' => 'albumlist_aids',
  21. 'type' => 'text',
  22. 'value' => ''
  23. ),
  24. 'uids' => array(
  25. 'title' => 'albumlist_uids',
  26. 'type' => 'text',
  27. 'value' => ''
  28. ),
  29. 'titlelength' => array(
  30. 'title' => 'albumlist_titlelength',
  31. 'type' => 'text',
  32. 'default' => 40
  33. )
  34. );
  35. }
  36. function name() {
  37. return lang('blockclass', 'blockclass_album_script_albumspecified');
  38. }
  39. }
  40. ?>