* improve tutorial UI.

This commit is contained in:
Catouse
2016-04-26 17:12:28 +08:00
parent 652dbbed75
commit 12f5593d66
7 changed files with 52 additions and 19 deletions
+3 -2
View File
@@ -80,11 +80,12 @@ class tutorial extends control
*/
public function wizard($module, $method, $params = '')
{
define('WIZARD', true);
define('WIZARD_MODULE', $module);
define('WIZARD_METHOD', $method);
$params = helper::safe64Decode($params);
if($_POST)
{
die();
die(js::locate(helper::createLink('tutorial', 'wizard', "module=$module&method=$method&params=$params"), 'parent'));
}
die($this->fetch($module, $method, $params));
}