使用
public function settingsDisplay($settings)
{
global $_W, $_GPC;
if (checksubmit()) {
$dat = array('title' => $_GPC['title'], 'info' => $_GPC['info'], 'shareimg' => $_GPC['shareimg']);
$this->saveSettings($dat);
message('保存成功', 'refresh');
}
include $this->template('setting');
}
调用:
$title = $this->module['config']['title'];
$txt = $this->module['config']['info'];
功能介绍