First commit
This commit is contained in:
38
source/class/task/task_secmobile.php
Normal file
38
source/class/task/task_secmobile.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user