38 lines
679 B
PHP
Executable File
38 lines
679 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* [Discuz!] (C)2001-2099 Comsenz Inc.
|
|
* This is NOT a freeware, use is subject to license terms
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
if(!defined('IN_DISCUZ')) {
|
|
exit('Access Denied');
|
|
}
|
|
|
|
class task_secmobile {
|
|
|
|
var $version = '1.0';
|
|
var $name = 'secmobile_name';
|
|
var $description = 'secmobile_desc';
|
|
var $copyright = 'Discuz! X Community Team';
|
|
var $icon = '';
|
|
var $period = '';
|
|
var $periodtype = 0;
|
|
var $conditions = array();
|
|
|
|
function csc($task = array()) {
|
|
global $_G;
|
|
|
|
if($_G['member']['secmobilestatus']) {
|
|
return true;
|
|
}
|
|
return array('csc' => 0, 'remaintime' => 0);
|
|
}
|
|
|
|
function view() {
|
|
return lang('task/secmobile', 'secmobile_view');
|
|
}
|
|
|
|
} |