/plus/diy.php 里修改提示文字及跳转页面
修改前:
if($dsql->ExecuteNoneQuery($query))
{
$id = $dsql->GetLastID();
if($diy->public == 2)
{
//diy.php?action=view&diyid={$diy->diyid}&id=$id
$goto = "diy.php?action=list&diyid={$diy->diyid}";
$bkmsg = '发布成功,现在转向表单列表页...';
}
else
{
$goto = !empty($cfg_cmspath) ? $cfg_cmspath : '/'; (这里修改跳转页面)
$bkmsg = '发布成功,请等待管理员处理...'; (这里修改提示信息)
}
showmsg($bkmsg, $goto);
}
}
修改后:
if($dsql->ExecuteNoneQuery($query))
{
$id = $dsql->GetLastID();
if($diy->public == 2)
{
//diy.php?action=view&diyid={$diy->diyid}&id=$id
$goto = "diy.php?action=list&diyid={$diy->diyid}";
$bkmsg = '发布成功,现在转向表单列表页...';
}
else
{
$goto = !empty($cfg_cmspath) ? $cfg_cmspath : '/gezhan/index.html';
$bkmsg = '您的订单提交成功,请保持手机畅通,我们会在第一时间和您核对订单信息,确认无误后发货';
}
showmsg($bkmsg, $goto);
}
}
把/gezhan/index.html修改成你要跳转的页面