* Finish task #42155.

This commit is contained in:
liyuchun
2021-09-03 14:37:28 +08:00
parent 92efb7df91
commit 6f9a5c7e67
4 changed files with 16 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* Show guide video.
*
* @access public
* @return void
*/
function showVideo()
{
$('video').removeClass('hidden');
}
+2 -1
View File
@@ -43,6 +43,7 @@ EOT;
global $config;
$lang->install->introduction = "Zentao {$this->config->version} Introduction";
$lang->install->howToUse = "How do you like to use ZenTao?";
$lang->install->guideVideo = 'https://dl.cnezsoft.com/vedio/zentaoconcepteng0716.mp4';
$lang->install->introductionContent = <<<EOT
<div>
<h4>Welcome to %s</h4>
@@ -64,7 +65,7 @@ $lang->install->introductionContent = <<<EOT
</div>
<div class='text-center introduction-link'>
<a href='https://dl.cnezsoft.com/zentao/zentaoconcept.pdf' target='_blank' class='btn btn-wide btn-info'><i class='icon icon-p-square'></i> Document of introduction</a>
<a href='https://dl.cnezsoft.com/vedio/zentaoconcepteng0716.mp4' target='_blank' class='btn btn-wide btn-info'><i class='icon icon-video-play'></i> Video of introduction</a>
<a href='javascript:showVideo()' class='btn btn-wide btn-info'><i class='icon icon-video-play'></i> Video of introduction</a>
</div>
</div>
EOT;
+3 -3
View File
@@ -40,9 +40,9 @@ $lang->install->links = <<<EOT
您现在正在安装的版本是 <strong class='text-danger'>%s</strong>。
EOT;
global $config;
$lang->install->introduction = "禅道{$this->config->version}版本功能介绍";
$lang->install->introduction = "禅道15系列功能介绍";
$lang->install->howToUse = "请问您计划如何使用禅道的新版本呢";
$lang->install->guideVideo = 'https://dl.cnezsoft.com/vedio/program0716.mp4';
$lang->install->introductionContent = <<<EOT
<div>
<h4>尊敬的用户您好,欢迎您使用禅道项目管理系统。</h4>
@@ -64,7 +64,7 @@ $lang->install->introductionContent = <<<EOT
</div>
<div class='text-center introduction-link'>
<a href='https://dl.cnezsoft.com/zentao/zentaoconcept.pdf' target='_blank' class='btn btn-wide btn-info'><i class='icon icon-p-square'></i> 文档介绍</a>
<a href='https://dl.cnezsoft.com/vedio/program0716.mp4' target='_blank' class='btn btn-wide btn-info'><i class='icon icon-video-play'></i> 视频介绍</a>
<a href='javascript:showVideo()' class='btn btn-wide btn-info'><i class='icon icon-video-play'></i> 视频介绍</a>
</div>
</div>
EOT;
+1
View File
@@ -17,6 +17,7 @@
<h1 class='text-center'><?php echo $title;?></h1>
<div class='panel-body'>
<?php echo $lang->install->introductionContent;?>
<video class='hidden' src="<?php echo $lang->install->guideVideo;?>" width="100%" controls ="controls"></video>
<div class='text-center'>
<h2><?php echo $lang->install->howToUse;?></h2>
<?php $systemMode = isset($lang->upgrade->to15Mode['classic']) ? 'classic' : 'new';?>