* ajust code.

This commit is contained in:
Catouse
2016-04-25 16:16:02 +08:00
parent dfa4471e26
commit 72bab02bef
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
$lang->tutorial = new stdclass();
$lang->tutorial->common = '新手教程';
$lang->tutorial->desc = '通过完成一系列任务,快速了解禅道的基本使用方法。这可能会花费您10分钟,你可以随时退出任务。';
$lang->tutorial->desc = '通过完成一系列任务,快速了解禅道的基本使用方法。这可能会花费你10分钟,你可以随时退出任务。';
$lang->tutorial->start = '立即开始';
$lang->tutorial->exit = '退出任务';
$lang->tutorial->congratulation = '恭喜,你已完成了所有任务!';
+2 -2
View File
@@ -76,8 +76,8 @@
<?php
$nav = $task['nav'];
$task['name'] = $name;
$task['id'] = $idx+1;
$task['url'] = helper::createLink($nav['module'], $nav['method'], isset($nav['vars']) ? $nav['vars'] : '', 'tutorial');
$task['id'] = $idx+1;
$task['url'] = helper::createLink($nav['module'], $nav['method'], isset($nav['vars']) ? $nav['vars'] : '', 'tutorial');
$tasks[$name] = $task;
?>
<li data-name='<?php echo $name; ?>'><a class='btn-task' href='javascript:;' data-name='<?php echo $name; ?>'><span><?php echo $idx++; ?></span>. <span class='task-name'><?php echo $task['title'] ?></span><i class='icon icon-check pull-right'></i></a></li>