mobile_extends_check.php
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: mobile_extends_check.php 33590 2013-07-12 06:39:08Z andyzheng $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class mobile_api {
var $variable = array();
function common() {
$this->variable = array(
'extends' => array(
'extendversion' => '1',
'extendlist' => array(
array(
'identifier' => 'dz_newthread',
'name' => lang('plugin/mobile', 'mobile_extend_newthread'),
'icon' => '0',
'islogin' => '0',
'iconright' => '0',
'redirect' => '',
),
array(
'identifier' => 'dz_newreply',
'name' => lang('plugin/mobile', 'mobile_extend_newreply'),
'icon' => '0',
'islogin' => '0',
'iconright' => '0',
'redirect' => '',
),
array(
'identifier' => 'dz_digest',
'name' => lang('plugin/mobile', 'mobile_extend_digest'),
'icon' => '0',
'islogin' => '0',
'iconright' => '0',
'redirect' => '',
),
array(
'identifier' => 'dz_newpic',
'name' => lang('plugin/mobile', 'mobile_extend_newpic'),
'icon' => '0',
'islogin' => '0',
'iconright' => '0',
'redirect' => '',
),
),
)
);
}
function output() {
mobile_core::result(mobile_core::variable($this->variable));
}
}
?>