mobile_extends_check.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: mobile_extends_check.php 33590 2013-07-12 06:39:08Z andyzheng $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. class mobile_api {
  12. var $variable = array();
  13. function common() {
  14. $this->variable = array(
  15. 'extends' => array(
  16. 'extendversion' => '1',
  17. 'extendlist' => array(
  18. array(
  19. 'identifier' => 'dz_newthread',
  20. 'name' => lang('plugin/mobile', 'mobile_extend_newthread'),
  21. 'icon' => '0',
  22. 'islogin' => '0',
  23. 'iconright' => '0',
  24. 'redirect' => '',
  25. ),
  26. array(
  27. 'identifier' => 'dz_newreply',
  28. 'name' => lang('plugin/mobile', 'mobile_extend_newreply'),
  29. 'icon' => '0',
  30. 'islogin' => '0',
  31. 'iconright' => '0',
  32. 'redirect' => '',
  33. ),
  34. array(
  35. 'identifier' => 'dz_digest',
  36. 'name' => lang('plugin/mobile', 'mobile_extend_digest'),
  37. 'icon' => '0',
  38. 'islogin' => '0',
  39. 'iconright' => '0',
  40. 'redirect' => '',
  41. ),
  42. array(
  43. 'identifier' => 'dz_newpic',
  44. 'name' => lang('plugin/mobile', 'mobile_extend_newpic'),
  45. 'icon' => '0',
  46. 'islogin' => '0',
  47. 'iconright' => '0',
  48. 'redirect' => '',
  49. ),
  50. ),
  51. )
  52. );
  53. }
  54. function output() {
  55. mobile_core::result(mobile_core::variable($this->variable));
  56. }
  57. }
  58. ?>