Id():$monitors[$monIdx+1]->Id(); $montageWidth = $monitor->ScaledWidth(); $montageHeight = $monitor->ScaledHeight(); $widthScale = ($montageWidth*SCALE_BASE)/$monitor->Width(); $heightScale = ($montageHeight*SCALE_BASE)/$monitor->Height(); $scale = (int)(($widthScale<$heightScale)?$widthScale:$heightScale); } noCacheHeaders(); xhtmlHeaders(__FILE__, translate('CycleWatch') ); ?>
$scale, 'mode'=>$mode ) ); } else { echo "There are no monitors to view."; } ?>