Update montage.php

Make use of new zmMontageScale cookie
This commit is contained in:
Scott Robinson 2013-12-22 20:56:18 +00:00
parent db41693fd6
commit 375d67cdf2
1 changed files with 3 additions and 0 deletions

View File

@ -44,8 +44,11 @@ foreach( dbFetchAll( $sql ) as $row )
{
continue;
}
if ( isset( $_REQUEST['scale'] ) )
$scale = validInt($_REQUEST['scale']);
else if ( isset( $_COOKIE['zmMontageScale'] ) )
$scale = $_COOKIE['zmMontageScale'];
else
$scale = reScale( SCALE_BASE, $row['DefaultScale'], ZM_WEB_DEFAULT_SCALE );