Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -1222,9 +1222,10 @@ class G
|
|||||||
|
|
||||||
$calendarJs = '';
|
$calendarJs = '';
|
||||||
$calendarJsFile = PATH_GULLIVER_HOME . "js/widgets/js-calendar/lang/" . $locale .".js";
|
$calendarJsFile = PATH_GULLIVER_HOME . "js/widgets/js-calendar/lang/" . $locale .".js";
|
||||||
if (file_exists($calendarJsFile)) {
|
if (! file_exists($calendarJsFile)) {
|
||||||
$calendarJs = file_get_contents($calendarJsFile) . "\n";
|
$calendarJsFile = PATH_GULLIVER_HOME . "js/widgets/js-calendar/lang/en.js";
|
||||||
}
|
}
|
||||||
|
$calendarJs = file_get_contents($calendarJsFile) . "\n";
|
||||||
|
|
||||||
return $calendarJs . 'var TRANSLATIONS = ' . G::json_encode( $translation ) . ';' ;
|
return $calendarJs . 'var TRANSLATIONS = ' . G::json_encode( $translation ) . ';' ;
|
||||||
}
|
}
|
||||||
@@ -3468,10 +3469,10 @@ class G
|
|||||||
G::LoadClass("pmFunctions");
|
G::LoadClass("pmFunctions");
|
||||||
G::LoadThirdParty('phpmailer', 'class.phpmailer');
|
G::LoadThirdParty('phpmailer', 'class.phpmailer');
|
||||||
$setup = getEmailConfiguration();
|
$setup = getEmailConfiguration();
|
||||||
if ($setup['MESS_RAUTH'] == false || (is_string($setup['MESS_RAUTH']) && $setup['MESS_RAUTH'] == 'false')) {
|
if ($setup['MESS_RAUTH'] == false || (is_string($setup['MESS_RAUTH']) && $setup['MESS_RAUTH'] == 'false')) {
|
||||||
$setup['MESS_RAUTH'] = 0;
|
$setup['MESS_RAUTH'] = 0;
|
||||||
} else {
|
} else {
|
||||||
$setup['MESS_RAUTH'] = 1;
|
$setup['MESS_RAUTH'] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($setup) == 0 || !isset($setup['MESS_ENGINE']) || !isset($setup['MESS_SERVER'])
|
if (count($setup) == 0 || !isset($setup['MESS_ENGINE']) || !isset($setup['MESS_SERVER'])
|
||||||
|
|||||||
@@ -87,19 +87,13 @@ function getCurrentTime ()
|
|||||||
* @label User Info
|
* @label User Info
|
||||||
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#userInfo.28.29
|
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#userInfo.28.29
|
||||||
*
|
*
|
||||||
* @param string(32) | $user_id | User ID | The user unique ID
|
* @param string(32) | $userUid | User ID | The user unique ID
|
||||||
* @return array | $userInfo | User Info | An associative array with Information
|
* @return array | $info | User Info | An associative array with Information
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function userInfo ($user_uid)
|
function userInfo($userUid)
|
||||||
{
|
{
|
||||||
try {
|
return PMFInformationUser($userUid);
|
||||||
require_once 'classes/model/Users.php';
|
|
||||||
$oUser = new Users();
|
|
||||||
return $oUser->getAllInformation( $user_uid );
|
|
||||||
} catch (Exception $oException) {
|
|
||||||
throw $oException;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1107,6 +1101,40 @@ function WSUpdateUser ($userUid, $userName, $firstName = null, $lastName = null,
|
|||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @method Retrieves information about a user with a given ID.
|
||||||
|
*
|
||||||
|
* @name WSInformationUser
|
||||||
|
* @label WS Information User
|
||||||
|
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#WSInformationUser.28.29
|
||||||
|
*
|
||||||
|
* @param string(32) | $userUid | User UID | The user UID.
|
||||||
|
* @return array | $response | WS array | A WS Response associative array.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function WSInformationUser($userUid)
|
||||||
|
{
|
||||||
|
$client = WSOpen();
|
||||||
|
|
||||||
|
$sessionId = $_SESSION["WS_SESSION_ID"];
|
||||||
|
|
||||||
|
$params = array(
|
||||||
|
"sessionId" => $sessionId,
|
||||||
|
"userUid" => $userUid
|
||||||
|
);
|
||||||
|
|
||||||
|
$result = $client->__soapCall("informationUser", array($params));
|
||||||
|
|
||||||
|
$response = array();
|
||||||
|
$response["status_code"] = $result->status_code;
|
||||||
|
$response["message"] = $result->message;
|
||||||
|
$response["time_stamp"] = $result->timestamp;
|
||||||
|
$response["info"] = (isset($result->info))? $result->info : null;
|
||||||
|
|
||||||
|
return $response;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @method Returns the unique ID for the current active session.
|
* @method Returns the unique ID for the current active session.
|
||||||
@@ -1851,6 +1879,34 @@ function PMFUpdateUser ($userUid, $userName, $firstName = null, $lastName = null
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @method Retrieves information about a user with a given ID.
|
||||||
|
*
|
||||||
|
* @name PMFInformationUser
|
||||||
|
* @label PMF Information User
|
||||||
|
* @link http://wiki.processmaker.com/index.php/ProcessMaker_Functions#PMFInformationUser.28.29
|
||||||
|
*
|
||||||
|
* @param string(32) | $userUid | User UID | The user UID.
|
||||||
|
* @return array | $info | Information of user | An associative array with Information.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function PMFInformationUser($userUid)
|
||||||
|
{
|
||||||
|
G::LoadClass("wsBase");
|
||||||
|
|
||||||
|
$ws = new wsBase();
|
||||||
|
$result = $ws->informationUser($userUid);
|
||||||
|
|
||||||
|
$info = array();
|
||||||
|
|
||||||
|
if ($result->status_code == 0 && isset($result->info)) {
|
||||||
|
$info = $result->info;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $info;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @method Creates a random string of letters and/or numbers of a specified length,which
|
* @method Creates a random string of letters and/or numbers of a specified length,which
|
||||||
|
|||||||
@@ -541,6 +541,12 @@ function handleErrors ($errno, $errstr, $errfile, $errline)
|
|||||||
if (isset( $_SESSION['_CODE_'] )) {
|
if (isset( $_SESSION['_CODE_'] )) {
|
||||||
$sCode = $_SESSION['_CODE_'];
|
$sCode = $_SESSION['_CODE_'];
|
||||||
unset( $_SESSION['_CODE_'] );
|
unset( $_SESSION['_CODE_'] );
|
||||||
|
global $oPMScript;
|
||||||
|
if (isset($oPMScript) && isset($_SESSION['APPLICATION'])) {
|
||||||
|
G::LoadClass( 'case' );
|
||||||
|
$oCase = new Cases();
|
||||||
|
$oCase->updateCase($_SESSION['APPLICATION'], array('APP_DATA' => $oPMScript->aFields));
|
||||||
|
}
|
||||||
registerError( 1, $errstr, $errline - 1, $sCode );
|
registerError( 1, $errstr, $errline - 1, $sCode );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -554,6 +560,8 @@ function handleErrors ($errno, $errstr, $errfile, $errline)
|
|||||||
|
|
||||||
function handleFatalErrors ($buffer)
|
function handleFatalErrors ($buffer)
|
||||||
{
|
{
|
||||||
|
G::LoadClass( 'case' );
|
||||||
|
$oCase = new Cases();
|
||||||
if (preg_match( '/(error<\/b>:)(.+)(<br)/', $buffer, $regs )) {
|
if (preg_match( '/(error<\/b>:)(.+)(<br)/', $buffer, $regs )) {
|
||||||
$err = preg_replace( '/<.*?>/', '', $regs[2] );
|
$err = preg_replace( '/<.*?>/', '', $regs[2] );
|
||||||
$aAux = explode( ' in ', $err );
|
$aAux = explode( ' in ', $err );
|
||||||
@@ -562,23 +570,27 @@ function handleFatalErrors ($buffer)
|
|||||||
registerError( 2, $aAux[0], 0, $sCode );
|
registerError( 2, $aAux[0], 0, $sCode );
|
||||||
if (strpos( $_SERVER['REQUEST_URI'], '/cases/cases_Step' ) !== false) {
|
if (strpos( $_SERVER['REQUEST_URI'], '/cases/cases_Step' ) !== false) {
|
||||||
if (strpos( $_SERVER['REQUEST_URI'], '&ACTION=GENERATE' ) !== false) {
|
if (strpos( $_SERVER['REQUEST_URI'], '&ACTION=GENERATE' ) !== false) {
|
||||||
G::LoadClass( 'case' );
|
|
||||||
$oCase = new Cases();
|
|
||||||
$aNextStep = $oCase->getNextStep( $_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION'] );
|
$aNextStep = $oCase->getNextStep( $_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION'] );
|
||||||
if ($_SESSION['TRIGGER_DEBUG']['ISSET']) {
|
if ($_SESSION['TRIGGER_DEBUG']['ISSET']) {
|
||||||
$_SESSION['TRIGGER_DEBUG']['TIME'] = 'AFTER';
|
$_SESSION['TRIGGER_DEBUG']['TIME'] = 'AFTER';
|
||||||
$_SESSION['TRIGGER_DEBUG']['BREAKPAGE'] = $aNextStep['PAGE'];
|
$_SESSION['TRIGGER_DEBUG']['BREAKPAGE'] = $aNextStep['PAGE'];
|
||||||
$aNextStep['PAGE'] = $aNextStep['PAGE'] . '&breakpoint=triggerdebug';
|
$aNextStep['PAGE'] = $aNextStep['PAGE'] . '&breakpoint=triggerdebug';
|
||||||
}
|
}
|
||||||
|
global $oPMScript;
|
||||||
|
if (isset($oPMScript) && isset($_SESSION['APPLICATION'])) {
|
||||||
|
$oCase->updateCase($_SESSION['APPLICATION'], array('APP_DATA' => $oPMScript->aFields));
|
||||||
|
}
|
||||||
G::header( 'Location: ' . $aNextStep['PAGE'] );
|
G::header( 'Location: ' . $aNextStep['PAGE'] );
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
$_SESSION['_NO_EXECUTE_TRIGGERS_'] = 1;
|
$_SESSION['_NO_EXECUTE_TRIGGERS_'] = 1;
|
||||||
|
global $oPMScript;
|
||||||
|
if (isset($oPMScript) && isset($_SESSION['APPLICATION'])) {
|
||||||
|
$oCase->updateCase($_SESSION['APPLICATION'], array('APP_DATA' => $oPMScript->aFields));
|
||||||
|
}
|
||||||
G::header( 'Location: ' . $_SERVER['REQUEST_URI'] );
|
G::header( 'Location: ' . $_SERVER['REQUEST_URI'] );
|
||||||
die();
|
die();
|
||||||
} else {
|
} else {
|
||||||
G::LoadClass( 'case' );
|
|
||||||
$oCase = new Cases();
|
|
||||||
$aNextStep = $oCase->getNextStep( $_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION'] );
|
$aNextStep = $oCase->getNextStep( $_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION'] );
|
||||||
if ($_SESSION['TRIGGER_DEBUG']['ISSET']) {
|
if ($_SESSION['TRIGGER_DEBUG']['ISSET']) {
|
||||||
$_SESSION['TRIGGER_DEBUG']['TIME'] = 'AFTER';
|
$_SESSION['TRIGGER_DEBUG']['TIME'] = 'AFTER';
|
||||||
@@ -588,6 +600,10 @@ function handleFatalErrors ($buffer)
|
|||||||
if (strpos( $aNextStep['PAGE'], 'TYPE=ASSIGN_TASK&UID=-1' ) !== false) {
|
if (strpos( $aNextStep['PAGE'], 'TYPE=ASSIGN_TASK&UID=-1' ) !== false) {
|
||||||
G::SendMessageText( 'Fatal error in trigger', 'error' );
|
G::SendMessageText( 'Fatal error in trigger', 'error' );
|
||||||
}
|
}
|
||||||
|
global $oPMScript;
|
||||||
|
if (isset($oPMScript) && isset($_SESSION['APPLICATION'])) {
|
||||||
|
$oCase->updateCase($_SESSION['APPLICATION'], array('APP_DATA' => $oPMScript->aFields));
|
||||||
|
}
|
||||||
G::header( 'Location: ' . $aNextStep['PAGE'] );
|
G::header( 'Location: ' . $aNextStep['PAGE'] );
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1217,7 +1217,41 @@ class wsBase
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$result = wsResponse( 100, $e->getMessage() );
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information User
|
||||||
|
* @param string userUid : The user UID.
|
||||||
|
* @return $result will return an object
|
||||||
|
*/
|
||||||
|
public function informationUser($userUid)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
if (empty($userUid)) {
|
||||||
|
$result = new wsResponse(100, G::LoadTranslation("ID_REQUIRED_FIELD") . " userUid");
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
$user = new Users();
|
||||||
|
$userInfo = $user->getAllInformation($userUid);
|
||||||
|
|
||||||
|
//Response
|
||||||
|
$res = new wsResponse(0, G::LoadTranslation("ID_COMMAND_EXECUTED_SUCCESSFULLY"));
|
||||||
|
|
||||||
|
$result = new stdClass();
|
||||||
|
$result->status_code = $res->status_code;
|
||||||
|
$result->message = $res->message;
|
||||||
|
$result->timestamp = $res->timestamp;
|
||||||
|
$result->info = $userInfo;
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
} catch (Exception $e) {
|
||||||
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -1648,7 +1682,7 @@ class wsBase
|
|||||||
$this->originalValues['INDEX'] = $_SESSION['INDEX'];
|
$this->originalValues['INDEX'] = $_SESSION['INDEX'];
|
||||||
unset( $_SESSION['INDEX'] );
|
unset( $_SESSION['INDEX'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset( $_SESSION['USER_LOGGED'] )) {
|
if (isset( $_SESSION['USER_LOGGED'] )) {
|
||||||
$this->originalValues['USER_LOGGED'] = $_SESSION['USER_LOGGED'];
|
$this->originalValues['USER_LOGGED'] = $_SESSION['USER_LOGGED'];
|
||||||
unset( $_SESSION['USER_LOGGED'] );
|
unset( $_SESSION['USER_LOGGED'] );
|
||||||
@@ -1664,7 +1698,7 @@ class wsBase
|
|||||||
unset( $_SESSION['STEP_POSITION'] );
|
unset( $_SESSION['STEP_POSITION'] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* restore the Session variables with values of $originalValues array, if this is set.
|
* restore the Session variables with values of $originalValues array, if this is set.
|
||||||
*
|
*
|
||||||
@@ -1696,7 +1730,7 @@ class wsBase
|
|||||||
$_SESSION['USR_USERNAME'] = $this->originalValues['USR_USERNAME'];
|
$_SESSION['USR_USERNAME'] = $this->originalValues['USR_USERNAME'];
|
||||||
unset( $this->originalValues['USR_USERNAME']);
|
unset( $this->originalValues['USR_USERNAME']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset( $this->originalValues['USER_LOGGED'] )) {
|
if (isset( $this->originalValues['USER_LOGGED'] )) {
|
||||||
$_SESSION['USER_LOGGED'] = $this->originalValues['USER_LOGGED'];
|
$_SESSION['USER_LOGGED'] = $this->originalValues['USER_LOGGED'];
|
||||||
unset( $this->originalValues['USER_LOGGED']);
|
unset( $this->originalValues['USER_LOGGED']);
|
||||||
@@ -1720,9 +1754,9 @@ class wsBase
|
|||||||
public function newCase ($processId, $userId, $taskId, $variables)
|
public function newCase ($processId, $userId, $taskId, $variables)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$this->saveTemporarySessionVars();
|
$this->saveTemporarySessionVars();
|
||||||
|
|
||||||
$Fields = array ();
|
$Fields = array ();
|
||||||
|
|
||||||
if (is_array( $variables ) && count( $variables ) > 0) {
|
if (is_array( $variables ) && count( $variables ) > 0) {
|
||||||
@@ -1796,7 +1830,7 @@ class wsBase
|
|||||||
$up_case = $oCase->updateCase( $caseId, $oldFields );
|
$up_case = $oCase->updateCase( $caseId, $oldFields );
|
||||||
|
|
||||||
$this->restoreSessionVars();
|
$this->restoreSessionVars();
|
||||||
|
|
||||||
$result = new wsResponse( 0, G::loadTranslation( 'ID_STARTED_SUCCESSFULLY' ) );
|
$result = new wsResponse( 0, G::loadTranslation( 'ID_STARTED_SUCCESSFULLY' ) );
|
||||||
$result->caseId = $caseId;
|
$result->caseId = $caseId;
|
||||||
$result->caseNumber = $caseNr;
|
$result->caseNumber = $caseNr;
|
||||||
@@ -2839,7 +2873,7 @@ class wsBase
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$result = wsResponse( 100, $e->getMessage() );
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -2885,7 +2919,7 @@ class wsBase
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$result = wsResponse( 100, $e->getMessage() );
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -2941,7 +2975,7 @@ class wsBase
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$result = wsResponse( 100, $e->getMessage() );
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@@ -2987,7 +3021,7 @@ class wsBase
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$result = wsResponse( 100, $e->getMessage() );
|
$result = new wsResponse(100, $e->getMessage());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,6 +275,15 @@ class AppFolder extends BaseAppFolder
|
|||||||
$oCriteria->add( AppDocumentPeer::APP_DOC_STATUS, 'ACTIVE' );
|
$oCriteria->add( AppDocumentPeer::APP_DOC_STATUS, 'ACTIVE' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$numRecTotal = AppDocumentPeer::doCount($oCriteria);
|
||||||
|
|
||||||
|
$auxCriteria = clone $oCriteria;
|
||||||
|
$auxCriteria->addJoin(AppDocumentPeer::DOC_UID, OutputDocumentPeer::OUT_DOC_UID);
|
||||||
|
$auxCriteria->add(AppDocumentPeer::APP_DOC_TYPE, 'OUTPUT');
|
||||||
|
$auxCriteria->add(OutputDocumentPeer::OUT_DOC_UID, '-1', Criteria::NOT_EQUAL);
|
||||||
|
$auxCriteria->add(OutputDocumentPeer::OUT_DOC_GENERATE, 'BOTH');
|
||||||
|
$numRecTotal += AppDocumentPeer::doCount($auxCriteria);
|
||||||
|
|
||||||
$oCase->verifyTable();
|
$oCase->verifyTable();
|
||||||
|
|
||||||
$oCriteria->addAscendingOrderByColumn( AppDocumentPeer::APP_DOC_INDEX );
|
$oCriteria->addAscendingOrderByColumn( AppDocumentPeer::APP_DOC_INDEX );
|
||||||
@@ -321,8 +330,10 @@ class AppFolder extends BaseAppFolder
|
|||||||
}
|
}
|
||||||
$rs->next();
|
$rs->next();
|
||||||
}
|
}
|
||||||
$response['totalDocumentsCount'] = count($response['documents']);
|
|
||||||
return ($response);
|
$response["totalDocumentsCount"] = $numRecTotal;
|
||||||
|
|
||||||
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCompleteDocumentInfo ($appUid, $appDocUid, $docVersion, $docUid, $usrId)
|
public function getCompleteDocumentInfo ($appUid, $appDocUid, $docVersion, $docUid, $usrId)
|
||||||
|
|||||||
@@ -138,9 +138,9 @@ class Users extends BaseUsers
|
|||||||
$aIsoSubdivision = IsoSubdivision::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'] );
|
$aIsoSubdivision = IsoSubdivision::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'] );
|
||||||
$aIsoLocation = IsoLocation::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'], $aFields['USR_LOCATION'] );
|
$aIsoLocation = IsoLocation::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'], $aFields['USR_LOCATION'] );
|
||||||
|
|
||||||
$aFields['USR_COUNTRY_NAME'] = $aIsoCountry['IC_NAME'];
|
$aFields["USR_COUNTRY_NAME"] = (!empty($aIsoCountry["IC_NAME"]))? $aIsoCountry["IC_NAME"] : "";
|
||||||
$aFields['USR_CITY_NAME'] = $aIsoSubdivision['IS_NAME'];
|
$aFields["USR_CITY_NAME"] = (!empty($aIsoSubdivision["IS_NAME"]))? $aIsoSubdivision["IS_NAME"] : "";
|
||||||
$aFields['USR_LOCATION_NAME'] = $aIsoLocation['IL_NAME'];
|
$aFields["USR_LOCATION_NAME"] = (!empty($aIsoLocation["IL_NAME"]))? $aIsoLocation["IL_NAME"] : "";
|
||||||
|
|
||||||
$result = $aFields;
|
$result = $aFields;
|
||||||
|
|
||||||
|
|||||||
@@ -121,30 +121,40 @@ function expandNode()
|
|||||||
$totalDocuments=0;
|
$totalDocuments=0;
|
||||||
|
|
||||||
if (($_POST['sendWhat'] == "dirs") || ($_POST['sendWhat'] == "both")) {
|
if (($_POST['sendWhat'] == "dirs") || ($_POST['sendWhat'] == "both")) {
|
||||||
$folderListObj = $oPMFolder->getFolderList ($_POST ['node'] != 'root' ?
|
$folderListObj = $oPMFolder->getFolderList(
|
||||||
$_POST ['node'] == 'NA' ? "" : $_POST ['node'] : $rootFolder, $limit, $start);
|
($_POST["node"] != "root")? (($_POST["node"] == "NA")? "" : $_POST["node"]) : $rootFolder,
|
||||||
//G::pr($folderListObj);
|
$limit,
|
||||||
|
$start
|
||||||
|
);
|
||||||
|
|
||||||
$folderList=$folderListObj['folders'];
|
$folderList=$folderListObj['folders'];
|
||||||
$totalFolders=$folderListObj['totalFoldersCount'];
|
$totalFolders=$folderListObj['totalFoldersCount'];
|
||||||
$totalItems+=count($folderList);
|
$totalItems+=count($folderList);
|
||||||
//G::pr($folderListObj);
|
|
||||||
}
|
}
|
||||||
if (($_POST['sendWhat'] == "files") || ($_POST['sendWhat'] == "both")) {
|
if (($_POST['sendWhat'] == "files") || ($_POST['sendWhat'] == "both")) {
|
||||||
global $RBAC;
|
global $RBAC;
|
||||||
|
|
||||||
$user = ($RBAC->userCanAccess('PM_ALLCASES') == 1)? '' : $_SESSION['USER_LOGGED'];
|
$user = ($RBAC->userCanAccess('PM_ALLCASES') == 1)? '' : $_SESSION['USER_LOGGED'];
|
||||||
$folderContentObj = $oPMFolder->getFolderContent ($_POST ['node'] != 'root' ?
|
|
||||||
$_POST ['node'] == 'NA' ? "" : $_POST ['node'] : $rootFolder, array(), null, null, $limit, $start, $user, true);
|
$folderContentObj = $oPMFolder->getFolderContent(
|
||||||
|
($_POST["node"] != "root")? (($_POST["node"] == "NA")? "" : $_POST["node"]) : $rootFolder,
|
||||||
|
array(),
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
$limit,
|
||||||
|
$start,
|
||||||
|
$user,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
$folderContent=$folderContentObj['documents'];
|
$folderContent=$folderContentObj['documents'];
|
||||||
$totalDocuments=$folderContentObj['totalDocumentsCount'];
|
$totalDocuments=$folderContentObj['totalDocumentsCount'];
|
||||||
$totalItems+=count($folderContent);
|
$totalItems+=count($folderContent);
|
||||||
//G::pr($folderContent);
|
|
||||||
}
|
}
|
||||||
// G::pr($folderList);
|
|
||||||
//var_dump(isset($folderList));
|
|
||||||
$processListTree=array();
|
$processListTree=array();
|
||||||
$tempTree=array();
|
$tempTree=array();
|
||||||
if (isset($folderList) && sizeof($folderList)>0) {
|
if (isset($folderList) && sizeof($folderList)>0) {
|
||||||
//print'krlos';
|
|
||||||
//$tempTree=array();
|
//$tempTree=array();
|
||||||
foreach ($folderList as $key => $obj) {
|
foreach ($folderList as $key => $obj) {
|
||||||
//$tempTree ['all-obj'] = $obj;
|
//$tempTree ['all-obj'] = $obj;
|
||||||
@@ -339,15 +349,15 @@ function expandNode()
|
|||||||
$tempTree=array();
|
$tempTree=array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//G::pr($processListTree);
|
|
||||||
if ((isset($_POST['option'])) && ($_POST['option'] == "gridDocuments")) {
|
if ((isset($_POST['option'])) && ($_POST['option'] == "gridDocuments")) {
|
||||||
$processListTreeTemp['totalCount']=$totalFolders+count($processListTree);
|
$processListTreeTemp["totalCount"] = $totalFolders + $totalDocuments;
|
||||||
$processListTreeTemp['msg']='correct reload';
|
$processListTreeTemp['msg']='correct reload';
|
||||||
$processListTreeTemp['items']=$processListTree;
|
$processListTreeTemp['items']=$processListTree;
|
||||||
$processListTree = $processListTreeTemp;
|
$processListTree = $processListTreeTemp;
|
||||||
}
|
}
|
||||||
//G::pr ($processListTree);die;
|
|
||||||
print G::json_encode ($processListTree);
|
echo G::json_encode($processListTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
function openPMFolder()
|
function openPMFolder()
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ foreach ($aTriggersList as $i => $v) {
|
|||||||
$aTriggersList[$i]['TRI_TITLE'] = (strlen( $aTriggersList[$i]['TRI_TITLE'] ) > 32) ? substr( $aTriggersList[$i]['TRI_TITLE'], 0, 32 ) . '...' : $aTriggersList[$i]['TRI_TITLE'];
|
$aTriggersList[$i]['TRI_TITLE'] = (strlen( $aTriggersList[$i]['TRI_TITLE'] ) > 32) ? substr( $aTriggersList[$i]['TRI_TITLE'], 0, 32 ) . '...' : $aTriggersList[$i]['TRI_TITLE'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$aTriggersList = array_merge( Array ($aTriggersFileds, $aTriggersList ));
|
$aTriggersList = array_merge( $aTriggersFileds, $aTriggersList );
|
||||||
|
|
||||||
$_DBArray['tasks'] = $aTasks;
|
$_DBArray['tasks'] = $aTasks;
|
||||||
$_DBArray['TMP_TRIGGERS'] = $aTriggersList;
|
$_DBArray['TMP_TRIGGERS'] = $aTriggersList;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ foreach ($aTriggersList as $i => $v) {
|
|||||||
$aTriggersList[$i]['TRI_TITLE'] = (strlen( $aTriggersList[$i]['TRI_TITLE'] ) > 32) ? substr( $aTriggersList[$i]['TRI_TITLE'], 0, 32 ) . '...' : $aTriggersList[$i]['TRI_TITLE'];
|
$aTriggersList[$i]['TRI_TITLE'] = (strlen( $aTriggersList[$i]['TRI_TITLE'] ) > 32) ? substr( $aTriggersList[$i]['TRI_TITLE'], 0, 32 ) . '...' : $aTriggersList[$i]['TRI_TITLE'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$aTriggersList = array_merge( Array ($aTriggersFileds), $aTriggersList );
|
$aTriggersList = array_merge( $aTriggersFileds, $aTriggersList );
|
||||||
|
|
||||||
$_DBArray['tasks'] = $aTasks;
|
$_DBArray['tasks'] = $aTasks;
|
||||||
$_DBArray['TMP_TRIGGERS'] = $aTriggersList;
|
$_DBArray['TMP_TRIGGERS'] = $aTriggersList;
|
||||||
|
|||||||
@@ -225,6 +225,50 @@
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
<xs:complexType name="informationUserStruct">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="username" type="xs:string"/>
|
||||||
|
<xs:element name="firstname" type="xs:string"/>
|
||||||
|
<xs:element name="lastname" type="xs:string"/>
|
||||||
|
<xs:element name="mail" type="xs:string"/>
|
||||||
|
<xs:element name="address" type="xs:string"/>
|
||||||
|
<xs:element name="zipcode" type="xs:string"/>
|
||||||
|
<xs:element name="country" type="xs:string"/>
|
||||||
|
<xs:element name="state" type="xs:string"/>
|
||||||
|
<xs:element name="location" type="xs:string"/>
|
||||||
|
<xs:element name="phone" type="xs:string"/>
|
||||||
|
<xs:element name="fax" type="xs:string"/>
|
||||||
|
<xs:element name="cellular" type="xs:string"/>
|
||||||
|
<xs:element name="birthday" type="xs:string"/>
|
||||||
|
<xs:element name="position" type="xs:string"/>
|
||||||
|
<xs:element name="replacedby" type="xs:string"/>
|
||||||
|
<xs:element name="duedate" type="xs:string"/>
|
||||||
|
<xs:element name="calendar" type="xs:string"/>
|
||||||
|
<xs:element name="status" type="xs:string"/>
|
||||||
|
<xs:element name="department" type="xs:string"/>
|
||||||
|
<xs:element name="reportsto" type="xs:string"/>
|
||||||
|
<xs:element name="userexperience" type="xs:string"/>
|
||||||
|
<xs:element name="photo" type="xs:string"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
<xs:element name="informationUserRequest">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="sessionId" type="xs:string"/>
|
||||||
|
<xs:element name="userUid" type="xs:string"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="informationUserResponse">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="status_code" type="xs:integer"/>
|
||||||
|
<xs:element name="message" type="xs:string"/>
|
||||||
|
<xs:element name="timestamp" type="xs:string"/>
|
||||||
|
<xs:element name="info" minOccurs="0" maxOccurs="unbounded" type="xs0:informationUserStruct"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
<xs:element name="createGroupRequest">
|
<xs:element name="createGroupRequest">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
@@ -896,6 +940,12 @@
|
|||||||
<message name="updateUserResponse">
|
<message name="updateUserResponse">
|
||||||
<part name="parameters" element="xs0:updateUserResponse"/>
|
<part name="parameters" element="xs0:updateUserResponse"/>
|
||||||
</message>
|
</message>
|
||||||
|
<message name="informationUserRequest">
|
||||||
|
<part name="parameters" element="xs0:informationUserRequest"/>
|
||||||
|
</message>
|
||||||
|
<message name="informationUserResponse">
|
||||||
|
<part name="parameters" element="xs0:informationUserResponse"/>
|
||||||
|
</message>
|
||||||
<message name="createGroupRequest">
|
<message name="createGroupRequest">
|
||||||
<part name="parameters" element="xs0:createGroupRequest"/>
|
<part name="parameters" element="xs0:createGroupRequest"/>
|
||||||
</message>
|
</message>
|
||||||
@@ -1091,6 +1141,10 @@
|
|||||||
<input message="xs0:updateUserRequest"/>
|
<input message="xs0:updateUserRequest"/>
|
||||||
<output message="xs0:updateUserResponse"/>
|
<output message="xs0:updateUserResponse"/>
|
||||||
</operation>
|
</operation>
|
||||||
|
<operation name="informationUser">
|
||||||
|
<input message="xs0:informationUserRequest"/>
|
||||||
|
<output message="xs0:informationUserResponse"/>
|
||||||
|
</operation>
|
||||||
<operation name="createGroup">
|
<operation name="createGroup">
|
||||||
<input message="xs0:createGroupRequest"/>
|
<input message="xs0:createGroupRequest"/>
|
||||||
<output message="xs0:createGroupResponse"/>
|
<output message="xs0:createGroupResponse"/>
|
||||||
@@ -1301,6 +1355,15 @@
|
|||||||
<soap12:body use="literal"/>
|
<soap12:body use="literal"/>
|
||||||
</output>
|
</output>
|
||||||
</operation>
|
</operation>
|
||||||
|
<operation name="informationUser">
|
||||||
|
<soap12:operation soapAction="urn:informationUser" soapActionRequired="true" style="document"/>
|
||||||
|
<input>
|
||||||
|
<soap12:body use="literal"/>
|
||||||
|
</input>
|
||||||
|
<output>
|
||||||
|
<soap12:body use="literal"/>
|
||||||
|
</output>
|
||||||
|
</operation>
|
||||||
<operation name="createGroup">
|
<operation name="createGroup">
|
||||||
<soap12:operation soapAction="urn:createGroup" soapActionRequired="true" style="document"/>
|
<soap12:operation soapAction="urn:createGroup" soapActionRequired="true" style="document"/>
|
||||||
<input>
|
<input>
|
||||||
|
|||||||
@@ -873,6 +873,26 @@ function updateUser ($params)
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function informationUser($params)
|
||||||
|
{
|
||||||
|
$result = isValidSession($params->sessionId);
|
||||||
|
|
||||||
|
if ($result->status_code != 0) {
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ifPermission($params->sessionId, "PM_USERS") == 0) {
|
||||||
|
$result = new wsResponse(2, "You do not have privileges");
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
$ws = new wsBase();
|
||||||
|
$result = $ws->informationUser($params->userUid);
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
function CreateGroup ($params)
|
function CreateGroup ($params)
|
||||||
{
|
{
|
||||||
$vsResult = isValidSession( $params->sessionId );
|
$vsResult = isValidSession( $params->sessionId );
|
||||||
@@ -1170,46 +1190,48 @@ function unpauseCase ($params)
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
$server = new SoapServer( $wsdl );
|
$server = new SoapServer($wsdl);
|
||||||
$server->addFunction( "Login" );
|
|
||||||
$server->addFunction( "ProcessList" );
|
$server->addFunction("Login");
|
||||||
$server->addFunction( "CaseList" );
|
$server->addFunction("ProcessList");
|
||||||
$server->addFunction( "UnassignedCaseList" );
|
$server->addFunction("CaseList");
|
||||||
$server->addFunction( "RoleList" );
|
$server->addFunction("UnassignedCaseList");
|
||||||
$server->addFunction( "GroupList" );
|
$server->addFunction("RoleList");
|
||||||
$server->addFunction( "DepartmentList" );
|
$server->addFunction("GroupList");
|
||||||
$server->addFunction( "UserList" );
|
$server->addFunction("DepartmentList");
|
||||||
$server->addFunction( "TriggerList" );
|
$server->addFunction("UserList");
|
||||||
$server->addFunction( "outputDocumentList" );
|
$server->addFunction("TriggerList");
|
||||||
$server->addFunction( "inputDocumentList" );
|
$server->addFunction("outputDocumentList");
|
||||||
$server->addFunction( "inputDocumentProcessList" );
|
$server->addFunction("inputDocumentList");
|
||||||
$server->addFunction( "removeDocument" );
|
$server->addFunction("inputDocumentProcessList");
|
||||||
$server->addFunction( "SendMessage" );
|
$server->addFunction("removeDocument");
|
||||||
$server->addFunction( "SendVariables" );
|
$server->addFunction("SendMessage");
|
||||||
$server->addFunction( "GetVariables" );
|
$server->addFunction("SendVariables");
|
||||||
$server->addFunction( "GetVariablesNames" );
|
$server->addFunction("GetVariables");
|
||||||
$server->addFunction( "DerivateCase" );
|
$server->addFunction("GetVariablesNames");
|
||||||
$server->addFunction( "RouteCase" );
|
$server->addFunction("DerivateCase");
|
||||||
$server->addFunction( "executeTrigger" );
|
$server->addFunction("RouteCase");
|
||||||
$server->addFunction( "NewCaseImpersonate" );
|
$server->addFunction("executeTrigger");
|
||||||
$server->addFunction( "NewCase" );
|
$server->addFunction("NewCaseImpersonate");
|
||||||
$server->addFunction( "AssignUserToGroup" );
|
$server->addFunction("NewCase");
|
||||||
$server->addFunction( "AssignUserToDepartment" );
|
$server->addFunction("AssignUserToGroup");
|
||||||
$server->addFunction( "CreateGroup" );
|
$server->addFunction("AssignUserToDepartment");
|
||||||
$server->addFunction( "CreateDepartment" );
|
$server->addFunction("CreateGroup");
|
||||||
$server->addFunction( "CreateUser" );
|
$server->addFunction("CreateDepartment");
|
||||||
$server->addFunction( "updateUser" );
|
$server->addFunction("CreateUser");
|
||||||
$server->addFunction( "getCaseInfo" );
|
$server->addFunction("updateUser");
|
||||||
$server->addFunction( "TaskList" );
|
$server->addFunction("informationUser");
|
||||||
$server->addFunction( "TaskCase" );
|
$server->addFunction("getCaseInfo");
|
||||||
$server->addFunction( "ReassignCase" );
|
$server->addFunction("TaskList");
|
||||||
$server->addFunction( "systemInformation" );
|
$server->addFunction("TaskCase");
|
||||||
$server->addFunction( "importProcessFromLibrary" );
|
$server->addFunction("ReassignCase");
|
||||||
$server->addFunction( "removeUserFromGroup" );
|
$server->addFunction("systemInformation");
|
||||||
$server->addFunction( "getCaseNotes" );
|
$server->addFunction("importProcessFromLibrary");
|
||||||
$server->addFunction( "deleteCase" );
|
$server->addFunction("removeUserFromGroup");
|
||||||
$server->addFunction( "cancelCase" );
|
$server->addFunction("getCaseNotes");
|
||||||
$server->addFunction( "pauseCase" );
|
$server->addFunction("deleteCase");
|
||||||
$server->addFunction( "unpauseCase" );
|
$server->addFunction("cancelCase");
|
||||||
|
$server->addFunction("pauseCase");
|
||||||
|
$server->addFunction("unpauseCase");
|
||||||
$server->handle();
|
$server->handle();
|
||||||
|
|
||||||
|
|||||||
@@ -489,10 +489,6 @@ switch ($_POST['action']) {
|
|||||||
|
|
||||||
$aFields['CASES_MENUSELECTED_NAME'] = $casesMenuSelected;
|
$aFields['CASES_MENUSELECTED_NAME'] = $casesMenuSelected;
|
||||||
|
|
||||||
$aFields['USR_COUNTRY_NAME'] = (! empty( $aFields['USR_COUNTRY_NAME'] )) ? $aFields['USR_COUNTRY_NAME'] : '';
|
|
||||||
$aFields['USR_CITY_NAME'] = (! empty( $aFields['USR_CITY_NAME'] )) ? $aFields['USR_CITY_NAME'] : '';
|
|
||||||
$aFields['USR_LOCATION_NAME'] = (! empty( $aFields['USR_LOCATION_NAME'] )) ? $aFields['USR_LOCATION_NAME'] : '';
|
|
||||||
|
|
||||||
$result->success = true;
|
$result->success = true;
|
||||||
$result->user = $aFields;
|
$result->user = $aFields;
|
||||||
|
|
||||||
|
|||||||
@@ -82,13 +82,16 @@ switch ($_REQUEST['type']) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$users = Array ();
|
$arrayAuthSources = $RBAC->getAllAuthSourcesByUser();
|
||||||
$users['USR_UID'] = $_GET['uUID'];
|
|
||||||
$users['USR_FIRSTNAME'] = $aRow['USR_FIRSTNAME'];
|
$users = array();
|
||||||
$users['USR_LASTNAME'] = $aRow['USR_LASTNAME'];
|
$users["USR_UID"] = $_GET["uUID"];
|
||||||
$users['USR_USERNAME'] = $aRow['USR_USERNAME'];
|
$users["USR_FIRSTNAME"] = $aRow["USR_FIRSTNAME"];
|
||||||
$users['fullNameFormat'] = $Config['fullNameFormat'];
|
$users["USR_LASTNAME"] = $aRow["USR_LASTNAME"];
|
||||||
$users['CURRENT_TAB'] = $ctab;
|
$users["USR_USERNAME"] = $aRow["USR_USERNAME"];
|
||||||
|
$users["USR_AUTH_SOURCE"] = (isset($arrayAuthSources[$_GET["uUID"]]))? $arrayAuthSources[$_GET["uUID"]] : "ProcessMaker (MYSQL)";
|
||||||
|
$users["fullNameFormat"] = $Config["fullNameFormat"];
|
||||||
|
$users["CURRENT_TAB"] = $ctab;
|
||||||
|
|
||||||
$oHeadPublisher = & headPublisher::getSingleton();
|
$oHeadPublisher = & headPublisher::getSingleton();
|
||||||
$oHeadPublisher->addExtJsScript( 'users/usersGroups', false ); //adding a javascript file .js
|
$oHeadPublisher->addExtJsScript( 'users/usersGroups', false ); //adding a javascript file .js
|
||||||
|
|||||||
@@ -837,7 +837,7 @@ ul.x-tab-strip li.x-tab-edge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.x-tab-scrolling {
|
.x-tab-scrolling {
|
||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-tab-panel-bbar .x-toolbar {
|
.x-tab-panel-bbar .x-toolbar {
|
||||||
@@ -2265,7 +2265,7 @@ div.x-toolbar-no-items {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ext-strict .x-grid3-header-pop-inner {
|
.ext-strict .x-grid3-header-pop-inner {
|
||||||
width:14px;
|
width:14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-grid3-header-inner {
|
.x-grid3-header-inner {
|
||||||
@@ -4465,7 +4465,7 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
|
|
||||||
.x-html-editor-tb .x-edit-bold, .x-menu-item img.x-edit-bold {
|
.x-html-editor-tb .x-edit-bold, .x-menu-item img.x-edit-bold {
|
||||||
background-position:0 0;
|
background-position:0 0;
|
||||||
background-image:url(../images/default/editor/tb-sprite.gif);
|
background-image:url(../images/default/editor/tb-sprite.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-html-editor-tb .x-edit-italic, .x-menu-item img.x-edit-italic {
|
.x-html-editor-tb .x-edit-italic, .x-menu-item img.x-edit-italic {
|
||||||
@@ -5023,7 +5023,7 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
-khtml-user-select:none;
|
-khtml-user-select:none;
|
||||||
-webkit-user-select:ignore;
|
-webkit-user-select:ignore;
|
||||||
display:block;
|
display:block;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Horizontal styles */
|
/* Horizontal styles */
|
||||||
@@ -5147,4 +5147,8 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
|
|
||||||
.ext-gecko2 .ext-mb-fix-cursor {
|
.ext-gecko2 .ext-mb-fix-cursor {
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.x-box-inner .x-form-check-wrap {
|
||||||
|
text-align:center;
|
||||||
}
|
}
|
||||||
@@ -837,7 +837,7 @@ ul.x-tab-strip li.x-tab-edge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.x-tab-scrolling {
|
.x-tab-scrolling {
|
||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-tab-panel-bbar .x-toolbar {
|
.x-tab-panel-bbar .x-toolbar {
|
||||||
@@ -2265,7 +2265,7 @@ div.x-toolbar-no-items {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ext-strict .x-grid3-header-pop-inner {
|
.ext-strict .x-grid3-header-pop-inner {
|
||||||
width:14px;
|
width:14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-grid3-header-inner {
|
.x-grid3-header-inner {
|
||||||
@@ -4465,7 +4465,7 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
|
|
||||||
.x-html-editor-tb .x-edit-bold, .x-menu-item img.x-edit-bold {
|
.x-html-editor-tb .x-edit-bold, .x-menu-item img.x-edit-bold {
|
||||||
background-position:0 0;
|
background-position:0 0;
|
||||||
background-image:url(../images/default/editor/tb-sprite.gif);
|
background-image:url(../images/default/editor/tb-sprite.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-html-editor-tb .x-edit-italic, .x-menu-item img.x-edit-italic {
|
.x-html-editor-tb .x-edit-italic, .x-menu-item img.x-edit-italic {
|
||||||
@@ -5023,7 +5023,7 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
-khtml-user-select:none;
|
-khtml-user-select:none;
|
||||||
-webkit-user-select:ignore;
|
-webkit-user-select:ignore;
|
||||||
display:block;
|
display:block;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Horizontal styles */
|
/* Horizontal styles */
|
||||||
@@ -5147,4 +5147,8 @@ body.ext-ie6.x-body-masked .x-window select {
|
|||||||
|
|
||||||
.ext-gecko2 .ext-mb-fix-cursor {
|
.ext-gecko2 .ext-mb-fix-cursor {
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.x-box-inner .x-form-check-wrap {
|
||||||
|
text-align:center;
|
||||||
}
|
}
|
||||||
@@ -1093,11 +1093,7 @@ var gridbb = new Ext.PagingToolbar({
|
|||||||
lastText : TRANSLATIONS.ID_LAST,
|
lastText : TRANSLATIONS.ID_LAST,
|
||||||
nextText : TRANSLATIONS.ID_NEXT,
|
nextText : TRANSLATIONS.ID_NEXT,
|
||||||
prevText : TRANSLATIONS.ID_PREVIOUS,
|
prevText : TRANSLATIONS.ID_PREVIOUS,
|
||||||
refreshText : TRANSLATIONS.ID_RELOAD,
|
refreshText: TRANSLATIONS.ID_RELOAD
|
||||||
items : [ '-', ' ', ' ', ' ', ' ', ' ', new Ext.ux.StatusBar({
|
|
||||||
defaultText : TRANSLATIONS.ID_DONE,
|
|
||||||
id : 'statusPanel'
|
|
||||||
}) ]
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var grid;
|
var grid;
|
||||||
|
|||||||
@@ -841,6 +841,7 @@ importProcessExistProcess = function()
|
|||||||
header : false,
|
header : false,
|
||||||
width : 460,
|
width : 460,
|
||||||
height : 210,
|
height : 210,
|
||||||
|
autoHeight : true,
|
||||||
modal : true,
|
modal : true,
|
||||||
autoScroll : false,
|
autoScroll : false,
|
||||||
maximizable : false,
|
maximizable : false,
|
||||||
@@ -853,7 +854,7 @@ importProcessExistProcess = function()
|
|||||||
fileUpload : false,
|
fileUpload : false,
|
||||||
width : 440,
|
width : 440,
|
||||||
frame : true,
|
frame : true,
|
||||||
autoHeight : false,
|
autoHeight : true,
|
||||||
bodyStyle : 'padding: 10px 10px 0 10px;',
|
bodyStyle : 'padding: 10px 10px 0 10px;',
|
||||||
labelWidth : 50,
|
labelWidth : 50,
|
||||||
defaults : {
|
defaults : {
|
||||||
|
|||||||
@@ -263,8 +263,8 @@ Ext.onReady(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
//GROUPS DRAG AND DROP PANEL
|
//GROUPS DRAG AND DROP PANEL
|
||||||
GroupsPanel = new Ext.Panel({
|
GroupsPanel = new Ext.Panel({
|
||||||
title : _('ID_GROUPS'),
|
title: _("ID_GROUPS"),
|
||||||
autoWidth : true,
|
autoWidth : true,
|
||||||
layout : 'hbox',
|
layout : 'hbox',
|
||||||
defaults : { flex : 1 }, //auto stretch
|
defaults : { flex : 1 }, //auto stretch
|
||||||
@@ -408,7 +408,15 @@ Ext.onReady(function(){
|
|||||||
{columnWidth:.6, padding: 3, layout: 'form', items: [userFields]},
|
{columnWidth:.6, padding: 3, layout: 'form', items: [userFields]},
|
||||||
{columnWidth:.4, padding: 3, layout: 'form', items: [userPhoto, caseFields]}
|
{columnWidth:.4, padding: 3, layout: 'form', items: [userPhoto, caseFields]}
|
||||||
]
|
]
|
||||||
}]
|
}],
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
text: _("ID_EDIT"),
|
||||||
|
handler: function () {
|
||||||
|
location.href = "usersEdit?USR_UID=" + USERS.USR_UID + "&USR_AUTH_SOURCE=" + USERS.USR_AUTH_SOURCE + "&MODE=edit";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
SummaryPanel = new Ext.Panel({
|
SummaryPanel = new Ext.Panel({
|
||||||
|
|||||||
Reference in New Issue
Block a user