- Back to pristine code for check new version.
This commit is contained in:
@@ -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();};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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';?>
|
||||
|
||||
Reference in New Issue
Block a user