PMCORE-2827 3.6.0 Community > New UI does not work correctly
This commit is contained in:
@@ -30,21 +30,37 @@ if (isset($_GET['ux'])) {
|
|||||||
if (isset($_GET['ux'])) {
|
if (isset($_GET['ux'])) {
|
||||||
echo 'if (typeof window.parent.ux_env != \'undefined\') {';
|
echo 'if (typeof window.parent.ux_env != \'undefined\') {';
|
||||||
}
|
}
|
||||||
echo ' parent.parent.postMessage("redirect=todo","*");';
|
/*----------------------------------********---------------------------------*/
|
||||||
|
if (true) {
|
||||||
|
echo ' parent.parent.postMessage("redirect=todo","*");';
|
||||||
|
} else {
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
echo " window.parent.location.href = '$url';";
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
if (isset($_GET['ux'])) {
|
if (isset($_GET['ux'])) {
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
if (PMLicensedFeatures::getSingleton()->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09') && $statusPMGmail) {
|
if (PMLicensedFeatures::getSingleton()->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09') && $statusPMGmail) {
|
||||||
echo '} else { window.parent.location.href = \''.$pathDerivateGmail.'\'; }';
|
echo '} else { window.parent.location.href = \''.$pathDerivateGmail.'\'; }';
|
||||||
} else {
|
} else {
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
echo '} else {
|
if (true) {
|
||||||
if (parent.parent.postMessage) {
|
echo '} else {
|
||||||
parent.parent.postMessage("redirect=todo","*");
|
if (parent.parent.postMessage) {
|
||||||
} else {
|
parent.parent.postMessage("redirect=todo","*");
|
||||||
window.parent.location.href = \'casesListExtJs\';
|
} else {
|
||||||
}
|
window.parent.location.href = \'casesListExtJs\';
|
||||||
}';
|
}
|
||||||
|
}';
|
||||||
|
} else {
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
|
echo '} else { window.parent.location.href = \'casesListExtJs\'; }';
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,27 @@ $filter = new InputFilter();
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
||||||
|
<?php
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
if (true) {
|
||||||
|
//In enterprise version this snippet of code should be always be executed
|
||||||
|
//In community version this snippet of code is deleted and is executed the next snippet of code
|
||||||
|
?>
|
||||||
<iframe name="casesFrame" id="casesFrame" src ="<?php echo $cd; ?>../cases/viena_init<?php echo $filter->xssFilterHard($_POST['qs']); ?>" width="99%" height="768" frameborder="0">
|
<iframe name="casesFrame" id="casesFrame" src ="<?php echo $cd; ?>../cases/viena_init<?php echo $filter->xssFilterHard($_POST['qs']); ?>" width="99%" height="768" frameborder="0">
|
||||||
<p>Your browser does not support iframes.</p>
|
<p>Your browser does not support iframes.</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
<?php
|
||||||
|
} else {
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
?>
|
||||||
|
<iframe name="casesFrame" id="casesFrame" src ="<?php echo $cd; ?>../cases/main_init<?php echo $filter->xssFilterHard($_POST['qs']); ?>" width="99%" height="768" frameborder="0">
|
||||||
|
<p>Your browser does not support iframes.</p>
|
||||||
|
</iframe>
|
||||||
|
<?php
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
}
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
?>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
if ( document.getElementById('pm_submenu') )
|
if ( document.getElementById('pm_submenu') )
|
||||||
|
|||||||
Reference in New Issue
Block a user