- Back to pristine code for check new version.

This commit is contained in:
wangyidong
2012-02-23 00:13:25 +00:00
parent 23890ae729
commit 4e2c87be96
2 changed files with 1 additions and 14 deletions
-10
View File
@@ -2,14 +2,4 @@ function setForm(){}
$(document).ready(function()
{
$('#account').focus();
var iframe = document.getElementById("updater");
iframe.src = url;
if (iframe.attachEvent)
{
iframe.attachEvent("onload", function(){$('#updater').show();});
}
else
{
iframe.onload = function(){$('#updater').show();};
}
})
+1 -4
View File
@@ -41,10 +41,7 @@ include '../../common/view/colorbox.html.php';
powered by <a href='http://www.zentao.net' target='_blank'>ZenTaoPMS</a>(<?php echo $config->version;?>)
<?php echo $lang->donate;?>
<br />
<iframe id='updater' class='hidden' frameborder='0' scrolling='no' allowtransparency='true'></iframe>
<iframe id='updater' frameborder='0' scrolling='no' allowtransparency='true' src="http://www.zentao.net/updater-isLatest-<?php echo $config->version;?>-<?php echo $s;?>.html"></iframe>
</div>
</form>
<script type='text/javascript'>
var url = "http://www.zentao.net/updater-isLatest-<?php echo $config->version;?>-<?php echo $s;?>.html";
</script>
<?php include '../../common/view/footer.lite.html.php';?>