Merge branch 'master' of bitbucket.org:colosa/processmaker
This commit is contained in:
@@ -117,6 +117,7 @@ class OauthAccessTokens extends BaseOauthAccessTokens
|
||||
$criteria->addSelectColumn(OauthClientsPeer::CLIENT_DESCRIPTION);
|
||||
|
||||
$criteria->addJoin(OauthAccessTokensPeer::CLIENT_ID, OauthClientsPeer::CLIENT_ID, Criteria::LEFT_JOIN);
|
||||
$criteria->add(OauthAccessTokensPeer::EXPIRES, date('Y-m-d H:i:s'), Criteria::GREATER_THAN);
|
||||
|
||||
if ($arrayFilterData && isset($arrayFilterData["USER_ID"]) && $arrayFilterData["USER_ID"] != "") {
|
||||
$criteria->add(OauthAccessTokensPeer::USER_ID, $arrayFilterData["USER_ID"], Criteria::EQUAL);
|
||||
|
||||
@@ -151,6 +151,8 @@ class OauthClients extends BaseOauthClients
|
||||
$criteria->addSelectColumn(OauthClientsPeer::REDIRECT_URI);
|
||||
$criteria->addSelectColumn(OauthClientsPeer::USR_UID);
|
||||
|
||||
$criteria->add(OauthClientsPeer::CLIENT_ID, 'x-pm-local-client', Criteria::NOT_EQUAL);
|
||||
|
||||
if ($arrayFilterData && isset($arrayFilterData["USR_UID"]) && $arrayFilterData["USR_UID"] != "") {
|
||||
$criteria->add(OauthClientsPeer::USR_UID, $arrayFilterData["USR_UID"], Criteria::EQUAL);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: ProcessMaker 2.5.1.1\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2014-05-22 15:21:26\n"
|
||||
"PO-Revision-Date: 2014-06-11 09:56:42\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Colosa Developers Team <developers@colosa.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -15016,8 +15016,8 @@ msgstr "Upload from file"
|
||||
# TRANSLATION
|
||||
# LABEL/ID_FIELD_REQUIRED
|
||||
#: LABEL/ID_FIELD_REQUIRED
|
||||
msgid "This field is required"
|
||||
msgstr "This field is required"
|
||||
msgid "The field {0} is required."
|
||||
msgstr "The field {0} is required."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ERROR_REGISTERED
|
||||
@@ -15421,6 +15421,12 @@ msgstr "Account Options"
|
||||
msgid "User must change password at next logon"
|
||||
msgstr "User must change password at next logon"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_HIDE_DIRS
|
||||
#: LABEL/ID_HIDE_DIRS
|
||||
msgid "Hide Dirs"
|
||||
msgstr "Hide Dirs"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_UNDEFINED_VALUE_IS_REQUIRED
|
||||
#: LABEL/ID_UNDEFINED_VALUE_IS_REQUIRED
|
||||
@@ -16027,6 +16033,270 @@ msgstr "This user: {0}, can not update the data."
|
||||
msgid "The user with usr_uid: {0}, cannot be deleted while it has cases assigned."
|
||||
msgstr "The user with usr_uid: {0}, cannot be deleted while it has cases assigned."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_DOES_NOT_EXIST
|
||||
#: LABEL/ID_ROLE_DOES_NOT_EXIST
|
||||
msgid "The role with {0}: {1} does not exist."
|
||||
msgstr "The role with {0}: {1} does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_CODE_ALREADY_EXISTS
|
||||
#: LABEL/ID_ROLE_CODE_ALREADY_EXISTS
|
||||
msgid "The role code with {0}: \"{1}\" already exists."
|
||||
msgstr "The role code with {0}: \"{1}\" already exists."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_NAME_ALREADY_EXISTS
|
||||
#: LABEL/ID_ROLE_NAME_ALREADY_EXISTS
|
||||
msgid "The role name with {0}: \"{1}\" already exists."
|
||||
msgstr "The role name with {0}: \"{1}\" already exists."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_FIELD_CANNOT_CONTAIN_SPECIAL_CHARACTERS
|
||||
#: LABEL/ID_ROLE_FIELD_CANNOT_CONTAIN_SPECIAL_CHARACTERS
|
||||
msgid "The \"{0}\" field cannot contain special characters or spaces."
|
||||
msgstr "The \"{0}\" field cannot contain special characters or spaces."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_USER_IS_ALREADY_ASSIGNED
|
||||
#: LABEL/ID_ROLE_USER_IS_ALREADY_ASSIGNED
|
||||
msgid "The user with {0}: {1} is already assigned to the role."
|
||||
msgstr "The user with {0}: {1} is already assigned to the role."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_USER_IS_NOT_ASSIGNED
|
||||
#: LABEL/ID_ROLE_USER_IS_NOT_ASSIGNED
|
||||
msgid "The user with {0}: {1} is not assigned to the role."
|
||||
msgstr "The user with {0}: {1} is not assigned to the role."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PERMISSION_DOES_NOT_EXIST
|
||||
#: LABEL/ID_PERMISSION_DOES_NOT_EXIST
|
||||
msgid "The permission with {0}: {1} does not exist."
|
||||
msgstr "The permission with {0}: {1} does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_PERMISSION_IS_ALREADY_ASSIGNED
|
||||
#: LABEL/ID_ROLE_PERMISSION_IS_ALREADY_ASSIGNED
|
||||
msgid "The permission with {0}: {1} is already assigned to the role."
|
||||
msgstr "The permission with {0}: {1} is already assigned to the role."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_PERMISSION_IS_NOT_ASSIGNED
|
||||
#: LABEL/ID_ROLE_PERMISSION_IS_NOT_ASSIGNED
|
||||
msgid "The permission with {0}: {1} is not assigned to the role."
|
||||
msgstr "The permission with {0}: {1} is not assigned to the role."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_ROLE_PERMISSION_ROLE_PERMISSIONS_CAN_NOT_BE_CHANGED
|
||||
#: LABEL/ID_ROLE_PERMISSION_ROLE_PERMISSIONS_CAN_NOT_BE_CHANGED
|
||||
msgid "The permissions of the \"{0}\" role can not be changed."
|
||||
msgstr "The permissions of the \"{0}\" role can not be changed."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DEPARTMENT_NOT_EXIST
|
||||
#: LABEL/ID_DEPARTMENT_NOT_EXIST
|
||||
msgid "The departament with {0}: '{1}' does not exist."
|
||||
msgstr "The departament with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_USER_NOT_EXIST
|
||||
#: LABEL/ID_USER_NOT_EXIST
|
||||
msgid "The user with {0}: '{1}' does not exist."
|
||||
msgstr "The user with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_APPLICATION_NOT_EXIST
|
||||
#: LABEL/ID_APPLICATION_NOT_EXIST
|
||||
msgid "The application with {0}: '{1}' does not exist."
|
||||
msgstr "The application with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TRIGGER_NOT_EXIST
|
||||
#: LABEL/ID_TRIGGER_NOT_EXIST
|
||||
msgid "The trigger with {0}: '{1}' does not exist."
|
||||
msgstr "The trigger with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_EVENT_NOT_EXIST
|
||||
#: LABEL/ID_EVENT_NOT_EXIST
|
||||
msgid "The event with {0}: '{1}' does not exist."
|
||||
msgstr "The event with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TASK_NOT_EXIST
|
||||
#: LABEL/ID_TASK_NOT_EXIST
|
||||
msgid "The task with {0}: '{1}' does not exist."
|
||||
msgstr "The task with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESS_PERMISSION_NOT_EXIST
|
||||
#: LABEL/ID_PROCESS_PERMISSION_NOT_EXIST
|
||||
msgid "The process permission with {0}: '{1}' does not exist."
|
||||
msgstr "The process permission with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_GROUP_NOT_EXIST
|
||||
#: LABEL/ID_GROUP_NOT_EXIST
|
||||
msgid "The group with {0}: '{1}' does not exist."
|
||||
msgstr "The group with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DYNAFORM_NOT_EXIST
|
||||
#: LABEL/ID_DYNAFORM_NOT_EXIST
|
||||
msgid "The dynaform with {0}: '{1}' does not exist."
|
||||
msgstr "The dynaform with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INPUT_NOT_EXIST
|
||||
#: LABEL/ID_INPUT_NOT_EXIST
|
||||
msgid "The input with {0}: '{1}' does not exist."
|
||||
msgstr "The input with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_OUTPUT_NOT_EXIST
|
||||
#: LABEL/ID_OUTPUT_NOT_EXIST
|
||||
msgid "The output with {0}: '{1}' does not exist."
|
||||
msgstr "The output with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESS_NOT_EXIST
|
||||
#: LABEL/ID_PROCESS_NOT_EXIST
|
||||
msgid "The process with {0}: '{1}' does not exist."
|
||||
msgstr "The process with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROJECT_NOT_EXIST
|
||||
#: LABEL/ID_PROJECT_NOT_EXIST
|
||||
msgid "The project with {0}: '{1}' does not exist."
|
||||
msgstr "The project with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_NOT_EXIST
|
||||
#: LABEL/ID_DBC_NOT_EXIST
|
||||
msgid "The database connection with {0}: '{1}' does not exist."
|
||||
msgstr "The database connection with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CATEGORY_NOT_EXIST
|
||||
#: LABEL/ID_CATEGORY_NOT_EXIST
|
||||
msgid "The category with {0}: '{1}' does not exist."
|
||||
msgstr "The category with {0}: '{1}' does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DATE_NOT_VALID
|
||||
#: LABEL/ID_DATE_NOT_VALID
|
||||
msgid "The value '{0}' is not a valid date for the format '{1}'."
|
||||
msgstr "The value '{0}' is not a valid date for the format '{1}'."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_VALUE_ARRAY
|
||||
#: LABEL/ID_INVALID_VALUE_ARRAY
|
||||
msgid "Invalid value for '{0}' it must be an array."
|
||||
msgstr "Invalid value for '{0}' it must be an array."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_VALUE_STRING
|
||||
#: LABEL/ID_INVALID_VALUE_STRING
|
||||
msgid "Invalid value for '{0}' it must be a string."
|
||||
msgstr "Invalid value for '{0}' it must be a string."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_VALUE_INTEGER
|
||||
#: LABEL/ID_INVALID_VALUE_INTEGER
|
||||
msgid "Invalid value for '{0}' it must be a integer."
|
||||
msgstr "Invalid value for '{0}' it must be a integer."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_VALUE_BOOLEAN
|
||||
#: LABEL/ID_INVALID_VALUE_BOOLEAN
|
||||
msgid "Invalid value for '{0}' it must be a boolean."
|
||||
msgstr "Invalid value for '{0}' it must be a boolean."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_VALUE_IS_EMPTY
|
||||
#: LABEL/ID_INVALID_VALUE_IS_EMPTY
|
||||
msgid "The field '{0}' is empty."
|
||||
msgstr "The field '{0}' is empty."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INCORRECT_VALUE_ACTION
|
||||
#: LABEL/ID_INCORRECT_VALUE_ACTION
|
||||
msgid "The value for $action is incorrect."
|
||||
msgstr "The value for $action is incorrect."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CASE_ALREADY_CANCELED
|
||||
#: LABEL/ID_CASE_ALREADY_CANCELED
|
||||
msgid "The case '{0}' is already canceled"
|
||||
msgstr "The case '{0}' is already canceled"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CASE_IS_CANCELED
|
||||
#: LABEL/ID_CASE_IS_CANCELED
|
||||
msgid "The case '{0}' is canceled"
|
||||
msgstr "The case '{0}' is canceled"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INVALID_MAX_PERMITTED
|
||||
#: LABEL/ID_INVALID_MAX_PERMITTED
|
||||
msgid "Invalid value for '{0}', the permitted maximum length of {1} characters."
|
||||
msgstr "Invalid value for '{0}', the permitted maximum length of {1} characters."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_TYPE_INVALID
|
||||
#: LABEL/ID_DBC_TYPE_INVALID
|
||||
msgid "The dababase connection with dbs_type: '{0}' is invalid"
|
||||
msgstr "The dababase connection with dbs_type: '{0}' is invalid"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_SERVER_INVALID
|
||||
#: LABEL/ID_DBC_SERVER_INVALID
|
||||
msgid "The dababase connection with dbs_server: '{0}', is invalid"
|
||||
msgstr "The dababase connection with dbs_server: '{0}', is invalid"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_DBNAME_INVALID
|
||||
#: LABEL/ID_DBC_DBNAME_INVALID
|
||||
msgid "The dababase connection with dbs_database_name: '{0}' is invalid"
|
||||
msgstr "The dababase connection with dbs_database_name: '{0}' is invalid"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_PORT_INVALID
|
||||
#: LABEL/ID_DBC_PORT_INVALID
|
||||
msgid "The dababase connection with dbs_port: '{0}' is invalid"
|
||||
msgstr "The dababase connection with dbs_port: '{0}' is invalid"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DBC_ENCODE_INVALID
|
||||
#: LABEL/ID_DBC_ENCODE_INVALID
|
||||
msgid "The dababase connection with dbs_encode: '{0}' is invalid"
|
||||
msgstr "The dababase connection with dbs_encode: '{0}' is invalid"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN
|
||||
#: LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN
|
||||
msgid "Can not delete the department, it has a children department."
|
||||
msgstr "Can not delete the department, it has a children department."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_USERS
|
||||
#: LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_USERS
|
||||
msgid "[LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_USERS] Department cannot be deleted while has assigned users."
|
||||
msgstr "Department cannot be deleted while has assigned users."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CANT_SAVE_TRIGGER
|
||||
#: LABEL/ID_CANT_SAVE_TRIGGER
|
||||
msgid "A trigger with the same name already exists in this process."
|
||||
msgstr "A trigger with the same name already exists in this process."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CASE_DOES_NOT_EXIST2
|
||||
#: LABEL/ID_CASE_DOES_NOT_EXIST2
|
||||
msgid "The case with {0}: {1} does not exist."
|
||||
msgstr "The case with {0}: {1} does not exist."
|
||||
|
||||
# additionalTables/additionalTablesData.xml?ADD_TAB_NAME
|
||||
# additionalTables/additionalTablesData.xml
|
||||
#: text - ADD_TAB_NAME
|
||||
@@ -21919,6 +22189,30 @@ msgstr "Encode"
|
||||
msgid "[dbConnections/dbConnections_Edit.xml?DBS_ENCODE-]"
|
||||
msgstr "..."
|
||||
|
||||
# dbConnections/dbConnections_Edit.xml?DBS_CONNECTION_TYPE
|
||||
# dbConnections/dbConnections_Edit.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE
|
||||
msgid "Select Connection Type"
|
||||
msgstr "Select Connection Type"
|
||||
|
||||
# dbConnections/dbConnections_Edit.xml?DBS_CONNECTION_TYPE-NORMAL
|
||||
# dbConnections/dbConnections_Edit.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE - NORMAL
|
||||
msgid "[dbConnections/dbConnections_Edit.xml?DBS_CONNECTION_TYPE-NORMAL]"
|
||||
msgstr "Normal"
|
||||
|
||||
# dbConnections/dbConnections_Edit.xml?DBS_CONNECTION_TYPE-TNS
|
||||
# dbConnections/dbConnections_Edit.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE - TNS
|
||||
msgid "[dbConnections/dbConnections_Edit.xml?DBS_CONNECTION_TYPE-TNS]"
|
||||
msgstr "TNS"
|
||||
|
||||
# dbConnections/dbConnections_Edit.xml?DBS_TNS
|
||||
# dbConnections/dbConnections_Edit.xml
|
||||
#: text - DBS_TNS
|
||||
msgid "TNS"
|
||||
msgstr "TNS"
|
||||
|
||||
# dbConnections/dbConnections_Edit.xml?DBS_SERVER
|
||||
# dbConnections/dbConnections_Edit.xml
|
||||
#: text - DBS_SERVER
|
||||
@@ -21997,6 +22291,30 @@ msgstr "Encode"
|
||||
msgid "[dbConnections/dbConnections_New.xml?DBS_ENCODE-]"
|
||||
msgstr "..."
|
||||
|
||||
# dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE
|
||||
# dbConnections/dbConnections_New.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE
|
||||
msgid "[dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE] Select Connection Type"
|
||||
msgstr "Select Connection Type"
|
||||
|
||||
# dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE-NORMAL
|
||||
# dbConnections/dbConnections_New.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE - NORMAL
|
||||
msgid "[dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE-NORMAL]"
|
||||
msgstr "Normal"
|
||||
|
||||
# dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE-TNS
|
||||
# dbConnections/dbConnections_New.xml
|
||||
#: dropdown - DBS_CONNECTION_TYPE - TNS
|
||||
msgid "[dbConnections/dbConnections_New.xml?DBS_CONNECTION_TYPE-TNS]"
|
||||
msgstr "TNS"
|
||||
|
||||
# dbConnections/dbConnections_New.xml?DBS_TNS
|
||||
# dbConnections/dbConnections_New.xml
|
||||
#: text - DBS_TNS
|
||||
msgid "[dbConnections/dbConnections_New.xml?DBS_TNS] TNS"
|
||||
msgstr "TNS"
|
||||
|
||||
# dbConnections/dbConnections_New.xml?DBS_SERVER
|
||||
# dbConnections/dbConnections_New.xml
|
||||
#: text - DBS_SERVER
|
||||
|
||||
@@ -6452,7 +6452,7 @@ SELECT 'LABEL','ID_GRID_WIZARD','en','ProcessMaker Grid Wizard','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_UPLOAD_FROM_FILE','en','Upload from file','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_FIELD_REQUIRED','en','This field is required','2014-01-15'
|
||||
SELECT 'LABEL','ID_FIELD_REQUIRED','en','The field {0} is required.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ERROR_REGISTERED','en','Errors registered:','2014-01-15'
|
||||
UNION ALL
|
||||
@@ -6590,6 +6590,8 @@ SELECT 'LABEL','ID_ACCOUNT_OPTIONS','en','Account Options','2014-05-16'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_MUST_CHANGE_PASSWORD_AT_NEXT_LOGON','en','User must change password at next logon','2014-05-16'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_HIDE_DIRS','en','Hide Dirs','2014-05-26'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_UNDEFINED_VALUE_IS_REQUIRED','en','Undefined value for "{0}", it is required.','2014-05-20'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_CAN_NOT_BE_EMPTY','en','Invalid value for "{0}", it can not be empty.','2014-05-20'
|
||||
@@ -6731,11 +6733,11 @@ SELECT 'LABEL','ID_INVALID_VALUE_FOR','en','Invalid value specified for: {0}','2
|
||||
SELECT 'LABEL','ID_CASE_SCHEDULER_DOES_NOT_EXIST','en','This case scheduler with sch_uid: {0} does not exist!','2014-05-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INFORMATION_EMPTY','en','The information sended is empty!','2014-05-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_TASK_NOT_FOUND','en','Task not found for id: {0}','2014-05-21'
|
||||
;
|
||||
INSERT INTO [TRANSLATION] ([TRN_CATEGORY],[TRN_ID],[TRN_LANG],[TRN_VALUE],[TRN_UPDATE_DATE])
|
||||
|
||||
SELECT 'LABEL','ID_TASK_NOT_FOUND','en','Task not found for id: {0}','2014-05-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CAN_NOT_BE_EMPTY','en','{0}, can not be empty','2014-05-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_SCHEDULER_DUPLICATE','en','Duplicate Case Scheduler name','2014-05-21'
|
||||
@@ -6793,6 +6795,94 @@ SELECT 'LABEL','ID_DOES_NOT_CORRESPOND','en','This id: {0} does not correspond t
|
||||
SELECT 'LABEL','ID_USER_CAN_NOT_UPDATE','en','This user: {0}, can not update the data.','2014-05-22'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_CAN_NOT_BE_DELETED','en','The user with usr_uid: {0}, cannot be deleted while it has cases assigned.','2014-05-22'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_DOES_NOT_EXIST','en','The role with {0}: {1} does not exist.','2014-06-03'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_CODE_ALREADY_EXISTS','en','The role code with {0}: "{1}" already exists.','2014-06-03'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_NAME_ALREADY_EXISTS','en','The role name with {0}: "{1}" already exists.','2014-05-27'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_FIELD_CANNOT_CONTAIN_SPECIAL_CHARACTERS','en','The "{0}" field cannot contain special characters or spaces.','2014-05-27'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_USER_IS_ALREADY_ASSIGNED','en','The user with {0}: {1} is already assigned to the role.','2014-05-28'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_USER_IS_NOT_ASSIGNED','en','The user with {0}: {1} is not assigned to the role.','2014-05-28'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PERMISSION_DOES_NOT_EXIST','en','The permission with {0}: {1} does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_PERMISSION_IS_ALREADY_ASSIGNED','en','The permission with {0}: {1} is already assigned to the role.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_PERMISSION_IS_NOT_ASSIGNED','en','The permission with {0}: {1} is not assigned to the role.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ROLE_PERMISSION_ROLE_PERMISSIONS_CAN_NOT_BE_CHANGED','en','The permissions of the "{0}" role can not be changed.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DEPARTMENT_NOT_EXIST','en','The departament with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_NOT_EXIST','en','The user with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_APPLICATION_NOT_EXIST','en','The application with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_TRIGGER_NOT_EXIST','en','The trigger with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_EVENT_NOT_EXIST','en','The event with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_TASK_NOT_EXIST','en','The task with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PROCESS_PERMISSION_NOT_EXIST','en','The process permission with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_GROUP_NOT_EXIST','en','The group with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DYNAFORM_NOT_EXIST','en','The dynaform with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INPUT_NOT_EXIST','en','The input with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_OUTPUT_NOT_EXIST','en','The output with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PROCESS_NOT_EXIST','en','The process with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PROJECT_NOT_EXIST','en','The project with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_NOT_EXIST','en','The database connection with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CATEGORY_NOT_EXIST','en','The category with {0}: ''{1}'' does not exist.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DATE_NOT_VALID','en','The value ''{0}'' is not a valid date for the format ''{1}''.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_ARRAY','en','Invalid value for ''{0}'' it must be an array.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_STRING','en','Invalid value for ''{0}'' it must be a string.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_INTEGER','en','Invalid value for ''{0}'' it must be a integer.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_BOOLEAN','en','Invalid value for ''{0}'' it must be a boolean.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_VALUE_IS_EMPTY','en','The field ''{0}'' is empty.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INCORRECT_VALUE_ACTION','en','The value for $action is incorrect.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_ALREADY_CANCELED','en','The case ''{0}'' is already canceled','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_IS_CANCELED','en','The case ''{0}'' is canceled','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INVALID_MAX_PERMITTED','en','Invalid value for ''{0}'', the permitted maximum length of {1} characters.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_TYPE_INVALID','en','The dababase connection with dbs_type: ''{0}'' is invalid','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_SERVER_INVALID','en','The dababase connection with dbs_server: ''{0}'', is invalid','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_DBNAME_INVALID','en','The dababase connection with dbs_database_name: ''{0}'' is invalid','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_PORT_INVALID','en','The dababase connection with dbs_port: ''{0}'' is invalid','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DBC_ENCODE_INVALID','en','The dababase connection with dbs_encode: ''{0}'' is invalid','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN','en','Can not delete the department, it has a children department.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while has assigned users.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CANT_SAVE_TRIGGER','en','A trigger with the same name already exists in this process.','2014-05-29'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_DOES_NOT_EXIST2','en','The case with {0}: {1} does not exist.','2014-06-05'
|
||||
;
|
||||
|
||||
INSERT INTO ISO_LOCATION ([IC_UID],[IL_UID],[IL_NAME],[IL_NORMAL_NAME],[IS_UID])
|
||||
|
||||
@@ -3952,7 +3952,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_VARIABLE_PICKER','en','pmVariablePicker','2014-01-15') ,
|
||||
( 'LABEL','ID_GRID_WIZARD','en','ProcessMaker Grid Wizard','2014-01-15') ,
|
||||
( 'LABEL','ID_UPLOAD_FROM_FILE','en','Upload from file','2014-01-15') ,
|
||||
( 'LABEL','ID_FIELD_REQUIRED','en','This field is required','2014-01-15') ,
|
||||
( 'LABEL','ID_FIELD_REQUIRED','en','The field {0} is required.','2014-05-29') ,
|
||||
( 'LABEL','ID_ERROR_REGISTERED','en','Errors registered:','2014-01-15') ,
|
||||
( 'LABEL','ID_ACTIONS_BY_EMAIL','en','actionsByEmail.html','2014-01-15') ,
|
||||
( 'LABEL','ID_UNASSIGNED_MESSAGE','en','unassignedMessage.html','2014-01-15') ,
|
||||
@@ -4022,6 +4022,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_INSTALL_USE_CURRENT_USER','en','Use the current user as a Database owner (It doesn''t create new users in the Database )','2014-05-07') ,
|
||||
( 'LABEL','ID_ACCOUNT_OPTIONS','en','Account Options','2014-05-16') ,
|
||||
( 'LABEL','ID_USER_MUST_CHANGE_PASSWORD_AT_NEXT_LOGON','en','User must change password at next logon','2014-05-16') ,
|
||||
( 'LABEL','ID_HIDE_DIRS','en','Hide Dirs','2014-05-26') ,
|
||||
( 'LABEL','ID_UNDEFINED_VALUE_IS_REQUIRED','en','Undefined value for "{0}", it is required.','2014-05-20') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_CAN_NOT_BE_EMPTY','en','Invalid value for "{0}", it can not be empty.','2014-05-20') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_ONLY_ACCEPTS_VALUES','en','Invalid value for "{0}", it only accepts values: "{1}".','2014-05-20') ,
|
||||
@@ -4092,10 +4093,10 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_CASES_INCORRECT_INFORMATION','en','Incorrect or unavailable information about this case: {0}','2014-05-21') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_FOR','en','Invalid value specified for: {0}','2014-05-21') ,
|
||||
( 'LABEL','ID_CASE_SCHEDULER_DOES_NOT_EXIST','en','This case scheduler with sch_uid: {0} does not exist!','2014-05-21') ,
|
||||
( 'LABEL','ID_INFORMATION_EMPTY','en','The information sended is empty!','2014-05-21') ,
|
||||
( 'LABEL','ID_TASK_NOT_FOUND','en','Task not found for id: {0}','2014-05-21') ;
|
||||
( 'LABEL','ID_INFORMATION_EMPTY','en','The information sended is empty!','2014-05-21') ;
|
||||
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
||||
|
||||
( 'LABEL','ID_TASK_NOT_FOUND','en','Task not found for id: {0}','2014-05-21') ,
|
||||
( 'LABEL','ID_CAN_NOT_BE_EMPTY','en','{0}, can not be empty','2014-05-21') ,
|
||||
( 'LABEL','ID_CASE_SCHEDULER_DUPLICATE','en','Duplicate Case Scheduler name','2014-05-21') ,
|
||||
( 'LABEL','ID_INVALID_SCH_START_TIME','en','Invalid value specified for sch_start_time. Expecting time in HH:MM format (The time can not be increased to 23:59)','2014-05-21') ,
|
||||
@@ -4124,7 +4125,51 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_ALREADY_ASSIGNED','en','This id: {0} is already assigned to task: {1}','2014-05-22') ,
|
||||
( 'LABEL','ID_DOES_NOT_CORRESPOND','en','This id: {0} does not correspond to a registered {1}','2014-05-22') ,
|
||||
( 'LABEL','ID_USER_CAN_NOT_UPDATE','en','This user: {0}, can not update the data.','2014-05-22') ,
|
||||
( 'LABEL','ID_USER_CAN_NOT_BE_DELETED','en','The user with usr_uid: {0}, cannot be deleted while it has cases assigned.','2014-05-22') ;
|
||||
( 'LABEL','ID_USER_CAN_NOT_BE_DELETED','en','The user with usr_uid: {0}, cannot be deleted while it has cases assigned.','2014-05-22') ,
|
||||
( 'LABEL','ID_ROLE_DOES_NOT_EXIST','en','The role with {0}: {1} does not exist.','2014-06-03') ,
|
||||
( 'LABEL','ID_ROLE_CODE_ALREADY_EXISTS','en','The role code with {0}: "{1}" already exists.','2014-06-03') ,
|
||||
( 'LABEL','ID_ROLE_NAME_ALREADY_EXISTS','en','The role name with {0}: "{1}" already exists.','2014-05-27') ,
|
||||
( 'LABEL','ID_ROLE_FIELD_CANNOT_CONTAIN_SPECIAL_CHARACTERS','en','The "{0}" field cannot contain special characters or spaces.','2014-05-27') ,
|
||||
( 'LABEL','ID_ROLE_USER_IS_ALREADY_ASSIGNED','en','The user with {0}: {1} is already assigned to the role.','2014-05-28') ,
|
||||
( 'LABEL','ID_ROLE_USER_IS_NOT_ASSIGNED','en','The user with {0}: {1} is not assigned to the role.','2014-05-28') ,
|
||||
( 'LABEL','ID_PERMISSION_DOES_NOT_EXIST','en','The permission with {0}: {1} does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_ROLE_PERMISSION_IS_ALREADY_ASSIGNED','en','The permission with {0}: {1} is already assigned to the role.','2014-05-29') ,
|
||||
( 'LABEL','ID_ROLE_PERMISSION_IS_NOT_ASSIGNED','en','The permission with {0}: {1} is not assigned to the role.','2014-05-29') ,
|
||||
( 'LABEL','ID_ROLE_PERMISSION_ROLE_PERMISSIONS_CAN_NOT_BE_CHANGED','en','The permissions of the "{0}" role can not be changed.','2014-05-29') ,
|
||||
( 'LABEL','ID_DEPARTMENT_NOT_EXIST','en','The departament with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_USER_NOT_EXIST','en','The user with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_APPLICATION_NOT_EXIST','en','The application with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_TRIGGER_NOT_EXIST','en','The trigger with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_EVENT_NOT_EXIST','en','The event with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_TASK_NOT_EXIST','en','The task with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_PROCESS_PERMISSION_NOT_EXIST','en','The process permission with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_GROUP_NOT_EXIST','en','The group with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_DYNAFORM_NOT_EXIST','en','The dynaform with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_INPUT_NOT_EXIST','en','The input with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_OUTPUT_NOT_EXIST','en','The output with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_PROCESS_NOT_EXIST','en','The process with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_PROJECT_NOT_EXIST','en','The project with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_NOT_EXIST','en','The database connection with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_CATEGORY_NOT_EXIST','en','The category with {0}: ''{1}'' does not exist.','2014-05-29') ,
|
||||
( 'LABEL','ID_DATE_NOT_VALID','en','The value ''{0}'' is not a valid date for the format ''{1}''.','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_ARRAY','en','Invalid value for ''{0}'' it must be an array.','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_STRING','en','Invalid value for ''{0}'' it must be a string.','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_INTEGER','en','Invalid value for ''{0}'' it must be a integer.','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_BOOLEAN','en','Invalid value for ''{0}'' it must be a boolean.','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_VALUE_IS_EMPTY','en','The field ''{0}'' is empty.','2014-05-29') ,
|
||||
( 'LABEL','ID_INCORRECT_VALUE_ACTION','en','The value for $action is incorrect.','2014-05-29') ,
|
||||
( 'LABEL','ID_CASE_ALREADY_CANCELED','en','The case ''{0}'' is already canceled','2014-05-29') ,
|
||||
( 'LABEL','ID_CASE_IS_CANCELED','en','The case ''{0}'' is canceled','2014-05-29') ,
|
||||
( 'LABEL','ID_INVALID_MAX_PERMITTED','en','Invalid value for ''{0}'', the permitted maximum length of {1} characters.','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_TYPE_INVALID','en','The dababase connection with dbs_type: ''{0}'' is invalid','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_SERVER_INVALID','en','The dababase connection with dbs_server: ''{0}'', is invalid','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_DBNAME_INVALID','en','The dababase connection with dbs_database_name: ''{0}'' is invalid','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_PORT_INVALID','en','The dababase connection with dbs_port: ''{0}'' is invalid','2014-05-29') ,
|
||||
( 'LABEL','ID_DBC_ENCODE_INVALID','en','The dababase connection with dbs_encode: ''{0}'' is invalid','2014-05-29') ,
|
||||
( 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN','en','Can not delete the department, it has a children department.','2014-05-29') ,
|
||||
( 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while has assigned users.','2014-05-29') ,
|
||||
( 'LABEL','ID_CANT_SAVE_TRIGGER','en','A trigger with the same name already exists in this process.','2014-05-29') ,
|
||||
( 'LABEL','ID_CASE_DOES_NOT_EXIST2','en','The case with {0}: {1} does not exist.','2014-06-05') ;
|
||||
|
||||
INSERT INTO ISO_LOCATION (IC_UID,IL_UID,IL_NAME,IL_NORMAL_NAME,IS_UID) VALUES
|
||||
('AD','','',' ','') ,
|
||||
|
||||
28
workflow/engine/methods/oauth2/applications.php
Normal file
28
workflow/engine/methods/oauth2/applications.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* main.php Cases List main processor
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*/
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
$G_PUBLISH->AddContent('view', 'oauth2/applicationsLoad');
|
||||
G::RenderPage('publish');
|
||||
|
||||
@@ -3,7 +3,7 @@ $config = array();
|
||||
$config["pageSize"] = 20;
|
||||
|
||||
$headPublisher = &headPublisher::getSingleton();
|
||||
$headPublisher->addContent("oauth2" . PATH_SEP . "clientSetup"); //Adding a HTML file .html
|
||||
//$headPublisher->addContent("oauth2" . PATH_SEP . "clientSetup"); //Adding a HTML file .html
|
||||
$headPublisher->addExtJsScript("oauth2" . PATH_SEP . "clientSetup", false); //Adding a JavaScript file .js
|
||||
$headPublisher->assign("CONFIG", $config);
|
||||
$headPublisher->assign("CREATE_CLIENT", (isset($_GET["create_app"]))? 1 : 0);
|
||||
|
||||
@@ -332,7 +332,7 @@ accessTokenSetup.application = {
|
||||
});
|
||||
|
||||
var btn2 = new Ext.Button({
|
||||
text: "Delete",
|
||||
text: "Remove Access",
|
||||
iconCls: "button_menu_ext ss_sprite ss_cross",
|
||||
renderTo: id2,
|
||||
|
||||
@@ -342,11 +342,11 @@ accessTokenSetup.application = {
|
||||
sm.selectRow(rowIndex, true);
|
||||
|
||||
var record = grdpnlMain.getSelectionModel().getSelected();
|
||||
|
||||
console.log(record);
|
||||
if (typeof(record) != "undefined") {
|
||||
Ext.MessageBox.confirm(
|
||||
_("ID_CONFIRM"),
|
||||
"Do you want to delete selected Application?",
|
||||
"Are you sure to remove access to the <b>"+record.get("CLIENT_NAME")+"</b> application?",
|
||||
function (btn)
|
||||
{
|
||||
if (btn == "yes") {
|
||||
@@ -394,13 +394,13 @@ accessTokenSetup.application = {
|
||||
//style: "margin: 0 auto 0 auto;",
|
||||
//width: 550,
|
||||
//height: 450,
|
||||
title: "<div><div style=\"float: left;\">" + "Applications" + "</div><div id=\"divClientSetup\" style=\"float: right;\"></div><div style=\"clear: both; height: 0; line-height:0; font-size: 0;\"></div></div>",
|
||||
title: "<div><div style=\"float: left;\">" + "User Applications" + "</div><div id=\"divClientSetup\" style=\"float: right;\"></div><div style=\"clear: both; height: 0; line-height:0; font-size: 0;\"></div></div>",
|
||||
border: false,
|
||||
|
||||
listeners: {
|
||||
afterrender: function (grid)
|
||||
{
|
||||
var btn = new Ext.Button({
|
||||
/*ar btn = new Ext.Button({
|
||||
text: " " + "Setup My Applications",
|
||||
iconCls: "button_menu_ext ss_sprite ss_cog",
|
||||
renderTo: "divClientSetup",
|
||||
@@ -409,7 +409,7 @@ accessTokenSetup.application = {
|
||||
{
|
||||
location.href = "clientSetup";
|
||||
}
|
||||
});
|
||||
});*/
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
30
workflow/engine/templates/oauth2/applicationsLoad.php
Normal file
30
workflow/engine/templates/oauth2/applicationsLoad.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
||||
<style type="text/css">
|
||||
*html body {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
</style>
|
||||
<iframe name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
|
||||
<p>Your browser does not support iframes.</p>
|
||||
</iframe>
|
||||
</body>
|
||||
<script>
|
||||
oClientWinSize = getClientWindowSize();
|
||||
if ( document.getElementById('pm_submenu') )
|
||||
document.getElementById('pm_submenu').style.display = 'none';
|
||||
document.documentElement.style.overflowY = 'hidden';
|
||||
|
||||
function autoResizeScreen() {
|
||||
oCasesFrame = document.getElementById('adminFrame');
|
||||
oClientWinSize = getClientWindowSize();
|
||||
height = oClientWinSize.height-90;
|
||||
oCasesFrame.style.height = height;
|
||||
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('setup-frame');
|
||||
|
||||
if(oCasesSubFrame)
|
||||
oCasesSubFrame.style.height = height-5;
|
||||
else
|
||||
setTimeout('autoResizeScreen()', 2000);
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
@@ -137,7 +137,7 @@ clientSetup.application = {
|
||||
winData.setTitle("Edit Application");
|
||||
winData.show();
|
||||
|
||||
Ext.getCmp("btnSubmit").btnEl.dom.innerHTML = "Edit Application";
|
||||
Ext.getCmp("btnSubmit").btnEl.dom.innerHTML = "Save Changes";
|
||||
|
||||
Ext.getCmp("txtName").allowBlank = false;
|
||||
}
|
||||
@@ -336,8 +336,8 @@ clientSetup.application = {
|
||||
id: "txtRedirectUri",
|
||||
name: "txtRedirectUri",
|
||||
|
||||
fieldLabel: "Callback URL",
|
||||
vtype: "url"
|
||||
fieldLabel: "Callback URL"/*,
|
||||
vtype: "url"*/
|
||||
},
|
||||
{
|
||||
xtype: "label",
|
||||
@@ -353,7 +353,7 @@ clientSetup.application = {
|
||||
buttons: [
|
||||
{
|
||||
id: "btnSubmit",
|
||||
//text: "",
|
||||
text: "Save",
|
||||
handler: function ()
|
||||
{
|
||||
if (Ext.getCmp("frmOauthClient").getForm().isValid()) {
|
||||
@@ -634,22 +634,22 @@ clientSetup.application = {
|
||||
//style: "margin: 0 auto 0 auto;",
|
||||
//width: 550,
|
||||
//height: 450,
|
||||
title: "<div><div style=\"float: left;\">" + "My Applications" + "</div><div id=\"divAccessTokenSetup\" style=\"float: right;\"></div><div style=\"clear: both; height: 0; line-height:0; font-size: 0;\"></div></div>",
|
||||
title: "<div><div style=\"float: left;\">" + "ProcessMaker Dev Tools / User Applications" + "</div><div id=\"divAccessTokenSetup\" style=\"float: right;\"></div><div style=\"clear: both; height: 0; line-height:0; font-size: 0;\"></div></div>",
|
||||
border: false,
|
||||
|
||||
listeners: {
|
||||
afterrender: function (grid)
|
||||
{
|
||||
var btn = new Ext.Button({
|
||||
text: " " + "Applications",
|
||||
iconCls: "button_menu_ext ss_sprite ss_arrow_left",
|
||||
renderTo: "divAccessTokenSetup",
|
||||
|
||||
handler: function ()
|
||||
{
|
||||
location.href = "accessTokenSetup";
|
||||
}
|
||||
});
|
||||
// var btn = new Ext.Button({
|
||||
// text: " " + "Applications",
|
||||
// iconCls: "button_menu_ext ss_sprite ss_arrow_left",
|
||||
// renderTo: "divAccessTokenSetup",
|
||||
//
|
||||
// handler: function ()
|
||||
// {
|
||||
// location.href = "accessTokenSetup";
|
||||
// }
|
||||
// });
|
||||
},
|
||||
rowdblclick: function (grid, rowIndex, evt)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user