BUG 8391 "Request that an "Edit" button be added to the..." SOLVED
- New feature - Request that an "Edit" button be added to the page to view the profile of a particular user - Added edit button in Summary view * Available from version 2.0.46
This commit is contained in:
@@ -489,10 +489,6 @@ switch ($_POST['action']) {
|
||||
|
||||
$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->user = $aFields;
|
||||
|
||||
|
||||
@@ -82,13 +82,16 @@ switch ($_REQUEST['type']) {
|
||||
break;
|
||||
}
|
||||
|
||||
$users = Array ();
|
||||
$users['USR_UID'] = $_GET['uUID'];
|
||||
$users['USR_FIRSTNAME'] = $aRow['USR_FIRSTNAME'];
|
||||
$users['USR_LASTNAME'] = $aRow['USR_LASTNAME'];
|
||||
$users['USR_USERNAME'] = $aRow['USR_USERNAME'];
|
||||
$users['fullNameFormat'] = $Config['fullNameFormat'];
|
||||
$users['CURRENT_TAB'] = $ctab;
|
||||
$arrayAuthSources = $RBAC->getAllAuthSourcesByUser();
|
||||
|
||||
$users = array();
|
||||
$users["USR_UID"] = $_GET["uUID"];
|
||||
$users["USR_FIRSTNAME"] = $aRow["USR_FIRSTNAME"];
|
||||
$users["USR_LASTNAME"] = $aRow["USR_LASTNAME"];
|
||||
$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->addExtJsScript( 'users/usersGroups', false ); //adding a javascript file .js
|
||||
|
||||
Reference in New Issue
Block a user