BUG 10911 "'Right click' not works on Designer tab in IE10." SOLVED
- "Right click" not works on Designer tab in IE10. - Solved problem, added tag meta for "Compatibility mode" in IE10 * Available from version ProcessMaker-2.5
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
{$meta}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
{$meta}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
|
||||
@@ -274,6 +274,10 @@ class SkinEngine
|
||||
}
|
||||
|
||||
if ($sw == 1) {
|
||||
if ($ie == 10) {
|
||||
$ie = 8;
|
||||
}
|
||||
|
||||
$doctype = null;
|
||||
$meta = "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=$ie\" />";
|
||||
}
|
||||
@@ -390,7 +394,7 @@ class SkinEngine
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
|
||||
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
if (defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||
@@ -603,7 +607,19 @@ class SkinEngine
|
||||
}
|
||||
else {
|
||||
$smarty->template_dir = $this->layoutFile['dirname'];
|
||||
$header = '';
|
||||
|
||||
$meta = null;
|
||||
$header = null;
|
||||
|
||||
if (preg_match("/^.*\(.*MSIE (\d+)\..+\).*$/", $_SERVER["HTTP_USER_AGENT"], $arrayMatch)) {
|
||||
$ie = intval($arrayMatch[1]);
|
||||
|
||||
if ($ie == 10) {
|
||||
$ie = 8;
|
||||
|
||||
$meta = "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=$ie\" />";
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($oHeadPublisher)) {
|
||||
if (defined('SYS_SYS')) {
|
||||
@@ -613,6 +629,9 @@ class SkinEngine
|
||||
$header .= $oHeadPublisher->getExtJsStylesheets($this->cssFileName);
|
||||
}
|
||||
|
||||
$smarty->assign("meta", $meta);
|
||||
$smarty->assign("header", $header);
|
||||
|
||||
$footer = '';
|
||||
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
@@ -647,7 +666,7 @@ class SkinEngine
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
|
||||
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
if ( defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||
@@ -677,7 +696,6 @@ class SkinEngine
|
||||
}
|
||||
|
||||
$smarty->assign('linklogout', $logout);
|
||||
$smarty->assign('header', $header);
|
||||
$smarty->assign('footer', $footer);
|
||||
$smarty->assign('tpl_menu', PATH_TEMPLATE . 'menu.html');
|
||||
$smarty->assign('tpl_submenu', PATH_TEMPLATE . 'submenu.html');
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
{$meta}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
{$meta}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
@@ -19,7 +18,7 @@
|
||||
{if $user_logged neq ''}
|
||||
{$msgVer}<label class="textBlue">{$userfullname} <a href="../users/myInfo">{$user}</a> | </label>
|
||||
{if $switch_interface}
|
||||
<label class="textBlue"><a href="../home">{$switch_interface_label}</a> | </label>
|
||||
<label class="textBlue"><a href="../home">{$switch_interface_label}</a> | </label>
|
||||
{/if}
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
|
||||
Reference in New Issue
Block a user