issue #8 ,change the text

This commit is contained in:
Jianxuan Li 2015-06-09 15:34:45 +08:00
parent 41fa299bce
commit 23cfddcab3
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?php
$this->headTitle('寒区旱区科学数据中心');
$this->headTitle('');
if(!empty($this->pageTitle))
{
$this->headTitle()->setSeparator(' - ');
@ -8,13 +8,13 @@ if(!empty($this->pageTitle))
?>
<div class="row-fluit">
<div class="hero-unit">
<h2><?= $this->content ?><?php if(!empty($this->url)) echo "系统正在为您跳转..."?></h2>
<h2><?= $this->content ?><?php if(!empty($this->url)) echo "System will auto redirect..."?></h2>
<?php if(!empty($this->url)) {?>
<?php if($this->url == -1) { ?>
<a href="javascript:history.go(-1);">如果没有跳转请点击这样</a>
<a href="javascript:history.go(-1);">Click for redirect manually</a>
<script language="javascript">setTimeout("history.go(-1)",3000);</script>
<?php }else {?>
<a href="<?= $this->url ?>">如果没有跳转请点击这样</a>
<a href="<?= $this->url ?>">Click for redirect manually</a>
<script language="javascript">setTimeout("self.location='<?= $this->url?>'",3000);</script>
<?php } } ?>
</div>