mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-18 05:48:44 -04:00
Made version popup not appear if version not retrieved.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@823 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
@@ -108,7 +108,7 @@ window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", <?= (REFRESH_M
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if ( ZM_CHECK_FOR_UPDATES && canEdit( 'System' ) && ( ZM_VERSION != ZM_DYN_LAST_VERSION ) && ( ZM_DYN_LAST_VERSION != ZM_DYN_CURR_VERSION ) && ( ZM_DYN_NEXT_REMINDER < time() ) )
|
||||
if ( ZM_CHECK_FOR_UPDATES && canEdit( 'System' ) && ZM_DYN_LAST_VERSION && ( ZM_VERSION != ZM_DYN_LAST_VERSION ) && ( ZM_DYN_LAST_VERSION != ZM_DYN_CURR_VERSION ) && ( ZM_DYN_NEXT_REMINDER < time() ) )
|
||||
{
|
||||
?>
|
||||
newWindow( '<?= $PHP_SELF ?>?view=version', 'zmVersion', <?= $jws['version']['w'] ?>, <?= $jws['version']['h'] ?> );
|
||||
|
||||
Reference in New Issue
Block a user