diff --git a/module/tutorial/view/index.html.php b/module/tutorial/view/index.html.php index 6675547e4f..b546981014 100644 --- a/module/tutorial/view/index.html.php +++ b/module/tutorial/view/index.html.php @@ -11,36 +11,36 @@ */ ?> - +
- +
-

tutorial->congratulation ?>

-   ' class='btn btn-success'> tutorial->exit ?> +

tutorial->congratulation;?>

+   ' class='btn btn-success'> tutorial->exit;?>
-

tutorial->congratulateTask ?>

- +

tutorial->congratulateTask;?>

+
@@ -104,13 +104,13 @@ $(function() }; var tasks = $.parseJSON(''); - var current = ''; - var setting = formatSetting(''); + var current = ''; + var setting = formatSetting(''); var lang = { - tagetPageTip: 'tutorial->targetPageTip ?>', - target : 'tutorial->target ?>', - requiredTip : 'tutorial->requiredTip ?>' + tagetPageTip: 'tutorial->targetPageTip;?>', + target : 'tutorial->target;?>', + requiredTip : 'tutorial->requiredTip;?>' }; var $tasks = $('#tasks'), @@ -168,7 +168,7 @@ $(function() var postData = []; $.each(setting, function(name, value) {if(value) postData.push(name);}); - $.post('', {finish: postData.join(',')}, function(e) + $.post('', {finish: postData.join(',')}, function(e) { if(e.result === 'success') { @@ -179,7 +179,7 @@ $(function() else { setting[current] = false; - alert('tutorial->serverErrorTip ?>'); + alert('tutorial->serverErrorTip;?>'); } }, 'json').error(function() {alert(lang.timeout)}); } @@ -187,7 +187,7 @@ $(function() var resetTasks = function() { - $.post('', {finish: ''}, function(e) + $.post('', {finish: ''}, function(e) { if(e.result === 'success') { @@ -196,7 +196,7 @@ $(function() } else { - alert('tutorial->serverErrorTip ?>'); + alert('tutorial->serverErrorTip;?>'); } }, 'json').error(function() {alert(lang.timeout)}); }; diff --git a/module/tutorial/view/start.html.php b/module/tutorial/view/start.html.php index 747f98e572..b1eb4bcfa5 100644 --- a/module/tutorial/view/start.html.php +++ b/module/tutorial/view/start.html.php @@ -13,8 +13,8 @@
-

tutorial->common ?>

-

tutorial->desc ?>

+

tutorial->common;?>

+

tutorial->desc;?>

tutorial->start, '_top', "class='btn btn-primary btn-lg btn-wide btn-info'");;?>