Include new login window size instead of console size.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1277 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
c758029bbf
commit
5a7520e741
|
@ -152,6 +152,7 @@ function loadConfig()
|
||||||
|
|
||||||
// Javascript window sizes
|
// Javascript window sizes
|
||||||
$jws = array(
|
$jws = array(
|
||||||
|
'login' => array( 'w'=>720, 'h'=>480 ),
|
||||||
'console' => array( 'w'=>720, 'h'=>312 ),
|
'console' => array( 'w'=>720, 'h'=>312 ),
|
||||||
'state' => array( 'w'=>300, 'h'=>120 ),
|
'state' => array( 'w'=>300, 'h'=>120 ),
|
||||||
'version' => array( 'w'=>320, 'h'=>140 ),
|
'version' => array( 'w'=>320, 'h'=>140 ),
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<title>ZM - <?= $zmSlangLogin ?></title>
|
<title>ZM - <?= $zmSlangLogin ?></title>
|
||||||
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h'] ?> );
|
window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<title>ZM - <?= $zmSlangLoggingIn ?></title>
|
<title>ZM - <?= $zmSlangLoggingIn ?></title>
|
||||||
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h'] ?> );
|
//window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );
|
||||||
window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", 250 );
|
window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", 250 );
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue