PM-1606
This commit is contained in:
@@ -224,6 +224,11 @@ class pmDynaform
|
|||||||
ob_clean();
|
ob_clean();
|
||||||
$json = G::json_decode($this->record["DYN_CONTENT"]);
|
$json = G::json_decode($this->record["DYN_CONTENT"]);
|
||||||
$this->jsonr($json);
|
$this->jsonr($json);
|
||||||
|
$title = "<table width='100%' align='center'>\n" .
|
||||||
|
" <tr class='userGroupTitle'>\n" .
|
||||||
|
" <td width='100%' align='center'>" . $headData["CASE"] . " #: " . $headData["APP_NUMBER"] . " " . $headData["TITLE"] . ": " . $headData["APP_TITLE"] . "</td>\n" .
|
||||||
|
" </tr>\n" .
|
||||||
|
"</table>\n";
|
||||||
$javascrip = "" .
|
$javascrip = "" .
|
||||||
"<script type='text/javascript'>\n" .
|
"<script type='text/javascript'>\n" .
|
||||||
"var jsondata = " . G::json_encode($json) . ";\n" .
|
"var jsondata = " . G::json_encode($json) . ";\n" .
|
||||||
@@ -240,12 +245,8 @@ class pmDynaform
|
|||||||
"</script>\n" .
|
"</script>\n" .
|
||||||
"<script type='text/javascript' src='/jscore/cases/core/cases_Step.js'></script>\n" .
|
"<script type='text/javascript' src='/jscore/cases/core/cases_Step.js'></script>\n" .
|
||||||
"<script type='text/javascript' src='/jscore/cases/core/pmDynaform.js'></script>\n" .
|
"<script type='text/javascript' src='/jscore/cases/core/pmDynaform.js'></script>\n" .
|
||||||
"<table width='100%' align='center'>\n" .
|
($this->app_data["PRO_SHOW_MESSAGE"] === 1 ? '' : $title ) .
|
||||||
" <tr class='userGroupTitle'>\n" .
|
"<div style='width:100%;padding:0px 10px 0px 10px;margin:15px 0px 0px 0px;'>\n" .
|
||||||
" <td width='100%' align='center'>" . $headData["CASE"] . " #: " . $headData["APP_NUMBER"] . " " . $headData["TITLE"] . ": " . $headData["APP_TITLE"] . "</td>\n" .
|
|
||||||
" </tr>\n" .
|
|
||||||
"</table>\n" .
|
|
||||||
"<div style='width:100%;padding: 0px 10px 0px 10px'>\n" .
|
|
||||||
" <img src='/images/bulletButtonLeft.gif' style='float:left;'> \n" .
|
" <img src='/images/bulletButtonLeft.gif' style='float:left;'> \n" .
|
||||||
" <a id='dyn_backward' href='' style='float:left;'>\n" .
|
" <a id='dyn_backward' href='' style='float:left;'>\n" .
|
||||||
" </a>\n" .
|
" </a>\n" .
|
||||||
|
|||||||
@@ -271,6 +271,7 @@ try {
|
|||||||
G::LoadClass('pmDynaform');
|
G::LoadClass('pmDynaform');
|
||||||
$a = new pmDynaform($_GET['UID'], $Fields['APP_DATA']);
|
$a = new pmDynaform($_GET['UID'], $Fields['APP_DATA']);
|
||||||
if ($a->isResponsive()) {
|
if ($a->isResponsive()) {
|
||||||
|
$a->app_data["PRO_SHOW_MESSAGE"] = $noShowTitle;
|
||||||
$a->printEdit((!isset($_SESSION["PM_RUN_OUTSIDE_MAIN_APP"])) ? "true" : "false", $_SESSION['APPLICATION'], $array, $oStep->getStepMode());
|
$a->printEdit((!isset($_SESSION["PM_RUN_OUTSIDE_MAIN_APP"])) ? "true" : "false", $_SESSION['APPLICATION'], $array, $oStep->getStepMode());
|
||||||
} else {
|
} else {
|
||||||
$G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_GET['UID'], '', $Fields['APP_DATA'], 'cases_SaveData?UID=' . $_GET['UID'] . '&APP_UID=' . $_SESSION['APPLICATION'], '', (strtolower($oStep->getStepMode()) != 'edit' ? strtolower($oStep->getStepMode()) : ''));
|
$G_PUBLISH->AddContent('dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_GET['UID'], '', $Fields['APP_DATA'], 'cases_SaveData?UID=' . $_GET['UID'] . '&APP_UID=' . $_SESSION['APPLICATION'], '', (strtolower($oStep->getStepMode()) != 'edit' ? strtolower($oStep->getStepMode()) : ''));
|
||||||
|
|||||||
Reference in New Issue
Block a user