xiuno_plugin/z_ayou/hook/post_start_init.htm
2018-11-15 17:35:36 +08:00

35 lines
733 B
HTML

// 这里是为 更新数据时 提供数组,发表时由于没有数据所以必须为空
if($route == 'thread' && $action == 'create') {
$pa = '';
$pb = '';
$pc = '';
$pd = '';
$pe = '';
$pf = '';
$pg = '';
$ph = '';
$pi = '';
$pj = '';
} elseif($route == 'post' && $action == 'update') {
$pa = $post['pa'];
$pb = $post['pb'];
$pc = $post['pc'];
$pd = $post['pd'];
$pe = $post['pe'];
$pf = $post['pf'];
$pg = $post['pg'];
$ph = $post['ph'];
$pi = $post['pi'];
$pj = $post['pj'];
} elseif($route == 'post' && $action == 'create') {
$pa = '';
$pb = '';
$pc = '';
$pd = '';
$pe = '';
$pf = '';
$pg = '';
$ph = '';
$pi = '';
$pj = '';
}