Merge branch 'master' into storageareas
This commit is contained in:
commit
da6a142d12
|
@ -70,8 +70,8 @@ session_start();
|
||||||
$layout_id = '';
|
$layout_id = '';
|
||||||
if ( isset($_COOKIE['zmMontageLayout']) ) {
|
if ( isset($_COOKIE['zmMontageLayout']) ) {
|
||||||
$layout_id = $_SESSION['zmMontageLayout'] = $_COOKIE['zmMontageLayout'];
|
$layout_id = $_SESSION['zmMontageLayout'] = $_COOKIE['zmMontageLayout'];
|
||||||
} elseif ( isset($_SESSION['zmMontageLayout']) ) {
|
#} elseif ( isset($_SESSION['zmMontageLayout']) ) {
|
||||||
$layout_id = $_SESSION['zmMontageLayout'];
|
#$layout_id = $_SESSION['zmMontageLayout'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$options = array();
|
$options = array();
|
||||||
|
@ -87,15 +87,15 @@ if ( $Layout and ( $Layout->Name() != 'Freeform' ) ) {
|
||||||
|
|
||||||
if ( isset($_COOKIE['zmMontageWidth']) and $_COOKIE['zmMontageWidth'] ) {
|
if ( isset($_COOKIE['zmMontageWidth']) and $_COOKIE['zmMontageWidth'] ) {
|
||||||
$_SESSION['zmMontageWidth'] = $options['width'] = $_COOKIE['zmMontageWidth'];
|
$_SESSION['zmMontageWidth'] = $options['width'] = $_COOKIE['zmMontageWidth'];
|
||||||
} elseif ( isset($_SESSION['zmMontageWidth']) and $_SESSION['zmMontageWidth'] ) {
|
#} elseif ( isset($_SESSION['zmMontageWidth']) and $_SESSION['zmMontageWidth'] ) {
|
||||||
$options['width'] = $_SESSION['zmMontageWidth'];
|
#$options['width'] = $_SESSION['zmMontageWidth'];
|
||||||
} else
|
} else
|
||||||
$options['width'] = '';
|
$options['width'] = '';
|
||||||
|
|
||||||
if ( isset($_COOKIE['zmMontageHeight']) and $_COOKIE['zmMontageHeight'] )
|
if ( isset($_COOKIE['zmMontageHeight']) and $_COOKIE['zmMontageHeight'] )
|
||||||
$_SESSION['zmMontageHeight'] = $options['height'] = $_COOKIE['zmMontageHeight'];
|
$_SESSION['zmMontageHeight'] = $options['height'] = $_COOKIE['zmMontageHeight'];
|
||||||
else if ( isset($_SESSION['zmMontageHeight']) and $_SESSION['zmMontageHeight'] )
|
#else if ( isset($_SESSION['zmMontageHeight']) and $_SESSION['zmMontageHeight'] )
|
||||||
$options['height'] = $_SESSION['zmMontageHeight'];
|
#$options['height'] = $_SESSION['zmMontageHeight'];
|
||||||
else
|
else
|
||||||
$options['height'] = '';
|
$options['height'] = '';
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ xhtmlHeaders(__FILE__, translate('Montage'));
|
||||||
<body>
|
<body>
|
||||||
<div id="page">
|
<div id="page">
|
||||||
<?php echo getNavBarHTML() ?>
|
<?php echo getNavBarHTML() ?>
|
||||||
<div id="header">  
|
<div id="header">
|
||||||
<a href="#"><span id="hdrbutton" class="glyphicon glyphicon-menu-up pull-right"></span></a>
|
<a href="#"><span id="hdrbutton" class="glyphicon glyphicon-menu-up pull-right"></span></a>
|
||||||
<div id="flipMontageHeader">
|
<div id="flipMontageHeader">
|
||||||
<div id="headerButtons">
|
<div id="headerButtons">
|
||||||
|
|
Loading…
Reference in New Issue