* Finish task #42155.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Show guide video.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function showVideo()
|
||||
{
|
||||
$('video').removeClass('hidden');
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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';?>
|
||||
|
||||
Reference in New Issue
Block a user