zentaopms/module/install/view/index.html.php
2023-05-16 10:47:08 +08:00

71 lines
2.8 KiB
PHP

<?php
/**
* The html template file of index method of install module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
* @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id: index.html.php 4129 2013-01-18 01:58:14Z wwccss $
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<div class='container'>
<div class='modal-dialog'>
<div class='modal-header'>
<div class='btn-group'>
<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><?php echo $app->config->langs[$app->cookie->lang];?> <span class='caret'></span></button>
<ul class='dropdown-menu'>
<?php
foreach ($app->config->langs as $key => $value)
{
if($key == $app->cookie->lang) continue;
echo '<li>' . html::a('javascript:selectLang("' . $key . '")', $value) . '</li>';
}
?>
</ul>
</div>
</div>
<div class='modal-body'>
<h3><?php echo $lang->install->welcome;?></h3>
<table>
<tr><td colspan='2'><?php echo nl2br($lang->install->desc);?></td></tr>
<tr>
<td class=''><?php echo nl2br(sprintf($lang->install->links, $versionName));?></td>
<td class='w-p25'>
<?php if($this->app->clientLang != 'en'):?>
<img src="<?php echo $this->app->getWebRoot() . 'theme/default/images/main/weixin.jpg'?>" width='200' height='200'>
<?php endif;?>
</td>
</tr>
<!--
<tr>
<td colspan='2'>
<h5><?php echo $lang->install->promotion?></h5>
<div class='row'>
<?php foreach($lang->install->product as $product):?>
<div class='col-md-4'>
<a class="card ad" href="<?php echo $lang->install->{$product}->url;?>" target="_blank">
<div class="img-wrapper"><img src="<?php echo $defaultTheme . $lang->install->{$product}->logo;?>" /> <?php echo $lang->install->{$product}->name;?></div>
<div class="card-reveal">
<h5 class="card-heading"><?php echo $lang->install->{$product}->name?></h5>
<div class="card-content"><?php echo $lang->install->{$product}->desc?></div>
</div>
</a>
</div>
<?php endforeach;?>
</div>
</td>
</tr>
-->
</table>
</div>
<div class='modal-footer'>
<div class='form-group'>
<?php echo html::a(inlink('license'), $lang->install->start, '', "class='btn btn-wide btn-primary'");?>
</div>
</div>
</div>
</div>
<?php include '../../common/view/footer.lite.html.php';?>