Merge branch 'master' of bitbucket.org:colosa/processmaker into CONSOLIDATED
This commit is contained in:
@@ -14,26 +14,22 @@ class pmDynaform
|
||||
public $fields = null;
|
||||
public $record = null;
|
||||
public $credentials = null;
|
||||
public $data = array();
|
||||
public $lang = null;
|
||||
public $langs = null;
|
||||
|
||||
public function __construct($fields)
|
||||
{
|
||||
$this->fields = $fields;
|
||||
if (count($fields) && count($fields['APP_DATA'])) {
|
||||
$this->getDynaform();
|
||||
$this->getCredentials();
|
||||
}
|
||||
$this->getDynaform();
|
||||
$this->getCredentials();
|
||||
if (isset($this->fields["APP_UID"])) {
|
||||
//current
|
||||
$cases = new \ProcessMaker\BusinessModel\Cases();
|
||||
$this->data = $cases->getCaseVariables($this->fields["APP_UID"]);
|
||||
} else {
|
||||
//history
|
||||
$this->fields["APP_UID"] = null;
|
||||
if (isset($this->fields["APP_DATA"]))
|
||||
$this->data = $this->fields["APP_DATA"];
|
||||
if (isset($this->data["DYN_CONTENT_HISTORY"]))
|
||||
$this->record["DYN_CONTENT"] = $this->data["DYN_CONTENT_HISTORY"];
|
||||
if (isset($this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"]))
|
||||
$this->record["DYN_CONTENT"] = $this->fields["APP_DATA"]["DYN_CONTENT_HISTORY"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +40,7 @@ class pmDynaform
|
||||
}
|
||||
$a = new Criteria("workflow");
|
||||
$a->addSelectColumn(DynaformPeer::DYN_VERSION);
|
||||
$a->addSelectColumn(DynaformPeer::DYN_LABEL);
|
||||
$a->addSelectColumn(DynaformPeer::DYN_CONTENT);
|
||||
$a->addSelectColumn(DynaformPeer::PRO_UID);
|
||||
$a->addSelectColumn(DynaformPeer::DYN_UID);
|
||||
@@ -53,6 +50,7 @@ class pmDynaform
|
||||
$ds->next();
|
||||
$row = $ds->getRow();
|
||||
$this->record = isset($row) ? $row : null;
|
||||
$this->langs = ($this->record["DYN_LABEL"] !== "" && $this->record["DYN_LABEL"] !== null) ? G::json_decode($this->record["DYN_LABEL"]) : null;
|
||||
return $this->record;
|
||||
}
|
||||
|
||||
@@ -87,8 +85,8 @@ class pmDynaform
|
||||
$prefixs = array("@@", "@#", "@%", "@?", "@$", "@=");
|
||||
if (is_string($value) && in_array(substr($value, 0, 2), $prefixs)) {
|
||||
$triggerValue = substr($value, 2);
|
||||
if (isset($this->app_data[$triggerValue])) {
|
||||
$json->$key = $this->app_data[$triggerValue];
|
||||
if (isset($this->fields["APP_DATA"][$triggerValue])) {
|
||||
$json->$key = $this->fields["APP_DATA"][$triggerValue];
|
||||
}
|
||||
}
|
||||
//query & options
|
||||
@@ -107,16 +105,18 @@ class pmDynaform
|
||||
$json->options = array();
|
||||
else {
|
||||
//convert stdClass to array
|
||||
$option = array();
|
||||
foreach ($json->options as $valueOptions) {
|
||||
array_push($option, array(
|
||||
"value" => $valueOptions->value,
|
||||
"label" => $valueOptions->label
|
||||
));
|
||||
if (is_array($json->options)) {
|
||||
$option = array();
|
||||
foreach ($json->options as $valueOptions) {
|
||||
array_push($option, array(
|
||||
"value" => $valueOptions->value,
|
||||
"label" => isset($valueOptions->label) ? $valueOptions->label : ""
|
||||
));
|
||||
}
|
||||
$json->options = $option;
|
||||
}
|
||||
$json->options = $option;
|
||||
}
|
||||
if ($json->dbConnection !== "none" && $json->sql !== "") {
|
||||
if ($json->dbConnection !== "" && $json->dbConnection !== "none" && $json->sql !== "") {
|
||||
$cnn = Propel::getConnection($json->dbConnection);
|
||||
$stmt = $cnn->createStatement();
|
||||
$rs = $stmt->executeQuery(strtoupper($json->sql), \ResultSet::FETCHMODE_NUM);
|
||||
@@ -136,21 +136,21 @@ class pmDynaform
|
||||
//data
|
||||
if ($key === "type" && ($value === "text" || $value === "textarea" || $value === "suggest" || $value === "dropdown" || $value === "checkbox" || $value === "radio" || $value === "datetime")) {
|
||||
$json->data = array(
|
||||
"value" => isset($this->data[$json->name]) ? $this->data[$json->name] : $json->data["value"],
|
||||
"label" => isset($this->data[$json->name . "_label"]) ? $this->data[$json->name . "_label"] : $json->data["label"]
|
||||
"value" => isset($this->fields["APP_DATA"][$json->name]) ? $this->fields["APP_DATA"][$json->name] : (is_array($json->data) ? $json->data["value"] : $json->data->value),
|
||||
"label" => isset($this->fields["APP_DATA"][$json->name . "_label"]) ? $this->fields["APP_DATA"][$json->name . "_label"] : (is_array($json->data) ? $json->data["label"] : $json->data->label)
|
||||
);
|
||||
}
|
||||
if ($key === "type" && ($value === "checkbox")) {
|
||||
$json->data = array(
|
||||
"value" => isset($this->data[$json->name]) ? $this->data[$json->name] : array(),
|
||||
"label" => isset($this->data[$json->name . "_label"]) ? $this->data[$json->name . "_label"] : "[]"
|
||||
"value" => isset($this->fields["APP_DATA"][$json->name]) ? $this->fields["APP_DATA"][$json->name] : array(),
|
||||
"label" => isset($this->fields["APP_DATA"][$json->name . "_label"]) ? $this->fields["APP_DATA"][$json->name . "_label"] : "[]"
|
||||
);
|
||||
}
|
||||
if ($key === "type" && ($value === "file") && isset($this->app_data["APPLICATION"])) {
|
||||
if ($key === "type" && ($value === "file") && isset($this->fields["APP_DATA"]["APPLICATION"])) {
|
||||
$oCriteria = new Criteria("workflow");
|
||||
$oCriteria->addSelectColumn(AppDocumentPeer::APP_DOC_UID);
|
||||
$oCriteria->addSelectColumn(AppDocumentPeer::DOC_VERSION);
|
||||
$oCriteria->add(AppDocumentPeer::APP_UID, $this->app_data["APPLICATION"]);
|
||||
$oCriteria->add(AppDocumentPeer::APP_UID, $this->fields["APP_DATA"]["APPLICATION"]);
|
||||
$oCriteria->add(AppDocumentPeer::APP_DOC_FIELDNAME, $json->name);
|
||||
$rs = AppDocumentPeer::doSelectRS($oCriteria);
|
||||
$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||
@@ -161,14 +161,14 @@ class pmDynaform
|
||||
}
|
||||
$json->data = array(
|
||||
"value" => $links,
|
||||
"label" => isset($this->data[$json->name . "_label"]) ? $this->data[$json->name . "_label"] : "[]"
|
||||
"label" => isset($this->fields["APP_DATA"][$json->name . "_label"]) ? $this->fields["APP_DATA"][$json->name . "_label"] : "[]"
|
||||
);
|
||||
}
|
||||
//grid
|
||||
if ($key === "type" && ($value === "grid")) {
|
||||
if (isset($this->data[$json->name])) {
|
||||
if (isset($this->fields["APP_DATA"][$json->name])) {
|
||||
//rows
|
||||
$rows = $this->data[$json->name];
|
||||
$rows = $this->fields["APP_DATA"][$json->name];
|
||||
foreach ($rows as $keyRow => $row) {
|
||||
//cells
|
||||
$cells = array();
|
||||
@@ -193,6 +193,24 @@ class pmDynaform
|
||||
$json->data = $rows;
|
||||
}
|
||||
}
|
||||
//languages
|
||||
if ($this->lang === null && $key === "language" && isset($json->language)) {
|
||||
$this->lang = $json->language;
|
||||
}
|
||||
if ($key === "label" && isset($json->label) && $this->langs !== null && isset($this->langs->{$this->lang})) {
|
||||
$langs = $this->langs->{$this->lang}->Labels;
|
||||
foreach ($langs as $langsValue) {
|
||||
if ($json->label === $langsValue->msgid)
|
||||
$json->label = $langsValue->msgstr;
|
||||
}
|
||||
}
|
||||
if ($key === "title" && isset($json->title) && $this->langs !== null && isset($this->langs->{$this->lang})) {
|
||||
$langs = $this->langs->{$this->lang}->Labels;
|
||||
foreach ($langs as $langsValue) {
|
||||
if ($json->title === $langsValue->msgid)
|
||||
$json->title = $langsValue->msgstr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -244,10 +262,6 @@ class pmDynaform
|
||||
$file = file_get_contents(PATH_HOME . 'public_html/lib/pmdynaform/build/pmdynaform.html');
|
||||
$file = str_replace("{javascript}", $javascrip, $file);
|
||||
echo $file;
|
||||
echo "<pre>";
|
||||
//echo print_r($this->fields, true);
|
||||
// echo print_r($this->data, true);
|
||||
echo "</pre>";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,8 @@ class DynaformMapBuilder
|
||||
|
||||
$tMap->addColumn('DYN_CONTENT', 'DynContent', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('DYN_LABEL', 'DynLabel', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('DYN_VERSION', 'DynVersion', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
$tMap->addValidator('DYN_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'xmlform|grid', 'Please select a valid dynaform type.');
|
||||
|
||||
@@ -57,6 +57,12 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $dyn_content;
|
||||
|
||||
/**
|
||||
* The value for the dyn_label field.
|
||||
* @var string
|
||||
*/
|
||||
protected $dyn_label;
|
||||
|
||||
/**
|
||||
* The value for the dyn_version field.
|
||||
* @var int
|
||||
@@ -132,6 +138,17 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
return $this->dyn_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dyn_label] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDynLabel()
|
||||
{
|
||||
|
||||
return $this->dyn_label;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dyn_version] column value.
|
||||
*
|
||||
@@ -253,6 +270,28 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
|
||||
} // setDynContent()
|
||||
|
||||
/**
|
||||
* Set the value of [dyn_label] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDynLabel($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->dyn_label !== $v) {
|
||||
$this->dyn_label = $v;
|
||||
$this->modifiedColumns[] = DynaformPeer::DYN_LABEL;
|
||||
}
|
||||
|
||||
} // setDynLabel()
|
||||
|
||||
/**
|
||||
* Set the value of [dyn_version] column.
|
||||
*
|
||||
@@ -302,14 +341,16 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
|
||||
$this->dyn_content = $rs->getString($startcol + 4);
|
||||
|
||||
$this->dyn_version = $rs->getInt($startcol + 5);
|
||||
$this->dyn_label = $rs->getString($startcol + 5);
|
||||
|
||||
$this->dyn_version = $rs->getInt($startcol + 6);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 6; // 6 = DynaformPeer::NUM_COLUMNS - DynaformPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 7; // 7 = DynaformPeer::NUM_COLUMNS - DynaformPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating Dynaform object", $e);
|
||||
@@ -529,6 +570,9 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
return $this->getDynContent();
|
||||
break;
|
||||
case 5:
|
||||
return $this->getDynLabel();
|
||||
break;
|
||||
case 6:
|
||||
return $this->getDynVersion();
|
||||
break;
|
||||
default:
|
||||
@@ -556,7 +600,8 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$keys[2] => $this->getDynType(),
|
||||
$keys[3] => $this->getDynFilename(),
|
||||
$keys[4] => $this->getDynContent(),
|
||||
$keys[5] => $this->getDynVersion(),
|
||||
$keys[5] => $this->getDynLabel(),
|
||||
$keys[6] => $this->getDynVersion(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -604,6 +649,9 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$this->setDynContent($value);
|
||||
break;
|
||||
case 5:
|
||||
$this->setDynLabel($value);
|
||||
break;
|
||||
case 6:
|
||||
$this->setDynVersion($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -650,7 +698,11 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[5], $arr)) {
|
||||
$this->setDynVersion($arr[$keys[5]]);
|
||||
$this->setDynLabel($arr[$keys[5]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[6], $arr)) {
|
||||
$this->setDynVersion($arr[$keys[6]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -684,6 +736,10 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$criteria->add(DynaformPeer::DYN_CONTENT, $this->dyn_content);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DynaformPeer::DYN_LABEL)) {
|
||||
$criteria->add(DynaformPeer::DYN_LABEL, $this->dyn_label);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DynaformPeer::DYN_VERSION)) {
|
||||
$criteria->add(DynaformPeer::DYN_VERSION, $this->dyn_version);
|
||||
}
|
||||
@@ -750,6 +806,8 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setDynContent($this->dyn_content);
|
||||
|
||||
$copyObj->setDynLabel($this->dyn_label);
|
||||
|
||||
$copyObj->setDynVersion($this->dyn_version);
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseDynaformPeer
|
||||
const CLASS_DEFAULT = 'classes.model.Dynaform';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 6;
|
||||
const NUM_COLUMNS = 7;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -46,6 +46,9 @@ abstract class BaseDynaformPeer
|
||||
/** the column name for the DYN_CONTENT field */
|
||||
const DYN_CONTENT = 'DYNAFORM.DYN_CONTENT';
|
||||
|
||||
/** the column name for the DYN_LABEL field */
|
||||
const DYN_LABEL = 'DYNAFORM.DYN_LABEL';
|
||||
|
||||
/** the column name for the DYN_VERSION field */
|
||||
const DYN_VERSION = 'DYNAFORM.DYN_VERSION';
|
||||
|
||||
@@ -60,10 +63,10 @@ abstract class BaseDynaformPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid', 'ProUid', 'DynType', 'DynFilename', 'DynContent', 'DynVersion', ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID, DynaformPeer::PRO_UID, DynaformPeer::DYN_TYPE, DynaformPeer::DYN_FILENAME, DynaformPeer::DYN_CONTENT, DynaformPeer::DYN_VERSION, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID', 'PRO_UID', 'DYN_TYPE', 'DYN_FILENAME', 'DYN_CONTENT', 'DYN_VERSION', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid', 'ProUid', 'DynType', 'DynFilename', 'DynContent', 'DynLabel', 'DynVersion', ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID, DynaformPeer::PRO_UID, DynaformPeer::DYN_TYPE, DynaformPeer::DYN_FILENAME, DynaformPeer::DYN_CONTENT, DynaformPeer::DYN_LABEL, DynaformPeer::DYN_VERSION, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID', 'PRO_UID', 'DYN_TYPE', 'DYN_FILENAME', 'DYN_CONTENT', 'DYN_LABEL', 'DYN_VERSION', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -73,10 +76,10 @@ abstract class BaseDynaformPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid' => 0, 'ProUid' => 1, 'DynType' => 2, 'DynFilename' => 3, 'DynContent' => 4, 'DynVersion' => 5, ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID => 0, DynaformPeer::PRO_UID => 1, DynaformPeer::DYN_TYPE => 2, DynaformPeer::DYN_FILENAME => 3, DynaformPeer::DYN_CONTENT => 4, DynaformPeer::DYN_VERSION => 5, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID' => 0, 'PRO_UID' => 1, 'DYN_TYPE' => 2, 'DYN_FILENAME' => 3, 'DYN_CONTENT' => 4, 'DYN_VERSION' => 5, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid' => 0, 'ProUid' => 1, 'DynType' => 2, 'DynFilename' => 3, 'DynContent' => 4, 'DynLabel' => 5, 'DynVersion' => 6, ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID => 0, DynaformPeer::PRO_UID => 1, DynaformPeer::DYN_TYPE => 2, DynaformPeer::DYN_FILENAME => 3, DynaformPeer::DYN_CONTENT => 4, DynaformPeer::DYN_LABEL => 5, DynaformPeer::DYN_VERSION => 6, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID' => 0, 'PRO_UID' => 1, 'DYN_TYPE' => 2, 'DYN_FILENAME' => 3, 'DYN_CONTENT' => 4, 'DYN_LABEL' => 5, 'DYN_VERSION' => 6, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -187,6 +190,8 @@ abstract class BaseDynaformPeer
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_CONTENT);
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_LABEL);
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_VERSION);
|
||||
|
||||
}
|
||||
|
||||
@@ -459,6 +459,7 @@
|
||||
<column name="DYN_TYPE" type="VARCHAR" size="20" required="true" default="xmlform"/>
|
||||
<column name="DYN_FILENAME" type="VARCHAR" size="100" required="true" default=""/>
|
||||
<column name="DYN_CONTENT" type="LONGVARCHAR"/>
|
||||
<column name="DYN_LABEL" type="LONGVARCHAR"/>
|
||||
<column name="DYN_VERSION" type="INTEGER" required="true"/>
|
||||
<validator column="DYN_TYPE">
|
||||
<rule name="validValues" value="xmlform|grid" message="Please select a valid dynaform type."/>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: ProcessMaker 3.0\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2015-03-06 19:05:43\n"
|
||||
"PO-Revision-Date: 2015-03-24 14:24:23\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Colosa Developers Team <developers@colosa.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -14938,8 +14938,8 @@ msgstr "The following error has occurred when trying to send the notifications:"
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DATE_FORMAT_17
|
||||
#: LABEL/ID_DATE_FORMAT_17
|
||||
msgid "dd de M de Y"
|
||||
msgstr "dd de M de Y"
|
||||
msgid "dd de M de Y (Date format only for Spanish language)"
|
||||
msgstr "dd de M de Y (Date format only for Spanish language)"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_THIS_QUARTER
|
||||
@@ -15532,8 +15532,8 @@ msgstr "The total primary key fields of the PM Table is {0}, the attribute {1} h
|
||||
# TRANSLATION
|
||||
# LABEL/ID_USER_DOES_NOT_EXIST
|
||||
#: LABEL/ID_USER_DOES_NOT_EXIST
|
||||
msgid "The user with {0}: {1} does not exist."
|
||||
msgstr "The user with {0}: {1} does not exist."
|
||||
msgid "The User with {0}: {1} does not exist."
|
||||
msgstr "The User with {0}: {1} does not exist."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_USER_DOES_NOT_HAVE_ACTIVITY_ASSIGNED
|
||||
@@ -16288,8 +16288,8 @@ msgstr "It is not possible to delete the department because it has subdepartment
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_USERS
|
||||
#: LABEL/ID_CANT_DELETE_DEPARTMENT_HAS_USERS
|
||||
msgid "Department cannot be deleted while has assigned users."
|
||||
msgstr "Department cannot be deleted while has assigned users."
|
||||
msgid "Department cannot be deleted while it has assigned users."
|
||||
msgstr "Department cannot be deleted while it has assigned users."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CANT_SAVE_TRIGGER
|
||||
@@ -18325,6 +18325,330 @@ msgstr "Event deleted"
|
||||
msgid "Thread Status"
|
||||
msgstr "Thread Status"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_GRID_PAGE_DISPLAYING_DASHBOARD_MESSAGE
|
||||
#: LABEL/ID_GRID_PAGE_DISPLAYING_DASHBOARD_MESSAGE
|
||||
msgid "Displaying Dashboards {0} - {1} of {2}"
|
||||
msgstr "Displaying Dashboards {0} - {1} of {2}"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_GRID_PAGE_NO_DASHBOARD_MESSAGE
|
||||
#: LABEL/ID_GRID_PAGE_NO_DASHBOARD_MESSAGE
|
||||
msgid "No Dashboards to display"
|
||||
msgstr "No Dashboards to display"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CONFIRM_DELETE_DASHBOARD
|
||||
#: LABEL/ID_CONFIRM_DELETE_DASHBOARD
|
||||
msgid "Do you want to delete selected Dashboard?"
|
||||
msgstr "Do you want to delete selected Dashboard?"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASHBOARD_SUCCESS_DELETE
|
||||
#: LABEL/ID_DASHBOARD_SUCCESS_DELETE
|
||||
msgid "Dashboard has been deleted correctly."
|
||||
msgstr "Dashboard has been deleted correctly."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_GRID_PAGE_DISPLAYING_0WNER_MESSAGE
|
||||
#: LABEL/ID_GRID_PAGE_DISPLAYING_0WNER_MESSAGE
|
||||
msgid "Displaying Owners {0} - {1} of {2}"
|
||||
msgstr "Displaying Owners {0} - {1} of {2}"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_GRID_PAGE_NO_OWNER_MESSAGE
|
||||
#: LABEL/ID_GRID_PAGE_NO_OWNER_MESSAGE
|
||||
msgid "No Owners to display"
|
||||
msgstr "No Owners to display"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_OWNER_TYPE
|
||||
#: LABEL/ID_OWNER_TYPE
|
||||
msgid "Type owner"
|
||||
msgstr "Type owner"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_OWNER_INFORMATION
|
||||
#: LABEL/ID_OWNER_INFORMATION
|
||||
msgid "Owner Information"
|
||||
msgstr "Owner Information"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_NEW_TAB_INDICATOR
|
||||
#: LABEL/ID_NEW_TAB_INDICATOR
|
||||
msgid "Add Indicator"
|
||||
msgstr "Add Indicator"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TITLE_DASHBOARD
|
||||
#: LABEL/ID_TITLE_DASHBOARD
|
||||
msgid "Dashboard Indicator Title"
|
||||
msgstr "Dashboard Indicator Title"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASHBOARD_INDICATOR_INFORMATION
|
||||
#: LABEL/ID_DASHBOARD_INDICATOR_INFORMATION
|
||||
msgid "Indicator Information"
|
||||
msgstr "Indicator Information"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR
|
||||
#: LABEL/ID_INDICATOR
|
||||
msgid "Indicator"
|
||||
msgstr "Indicator"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_TITLE
|
||||
#: LABEL/ID_INDICATOR_TITLE
|
||||
msgid "Indicator Title"
|
||||
msgstr "Indicator Title"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASHBOARD_TITLE
|
||||
#: LABEL/ID_DASHBOARD_TITLE
|
||||
msgid "Dashboard Title"
|
||||
msgstr "Dashboard Title"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_TYPE
|
||||
#: LABEL/ID_INDICATOR_TYPE
|
||||
msgid "Indicator Type"
|
||||
msgstr "Indicator Type"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_GOAL
|
||||
#: LABEL/ID_INDICATOR_GOAL
|
||||
msgid "Goal"
|
||||
msgstr "Goal"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_FIRST_FIGURE
|
||||
#: LABEL/ID_FIRST_FIGURE
|
||||
msgid "First Graph"
|
||||
msgstr "First Graph"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PERIODICITY
|
||||
#: LABEL/ID_PERIODICITY
|
||||
msgid "Periodicity"
|
||||
msgstr "Periodicity"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_SECOND_FIGURE
|
||||
#: LABEL/ID_SECOND_FIGURE
|
||||
msgid "Second Graph"
|
||||
msgstr "Second Graph"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASHBOARD_OWNER_SUCCESS_DELETE
|
||||
#: LABEL/ID_DASHBOARD_OWNER_SUCCESS_DELETE
|
||||
msgid "Owner Dashboard has been deleted correctly."
|
||||
msgstr "Owner Dashboard has been deleted correctly."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESS_EFFICIENCE
|
||||
#: LABEL/ID_PROCESS_EFFICIENCE
|
||||
msgid "Process Efficience Index"
|
||||
msgstr "Process Efficience Index"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESS_INEFFICIENCE
|
||||
#: LABEL/ID_PROCESS_INEFFICIENCE
|
||||
msgid "Process Inefficience Cost"
|
||||
msgstr "Process Inefficience Cost"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_EMPLYEE_EFFICIENCIE
|
||||
#: LABEL/ID_EMPLYEE_EFFICIENCIE
|
||||
msgid "Employee Efficience Index"
|
||||
msgstr "Employee Efficience Index"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_USER_INEFFICIENCE
|
||||
#: LABEL/ID_USER_INEFFICIENCE
|
||||
msgid "Inefficience Cost By User"
|
||||
msgstr "Inefficience Cost By User"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_OVER_DUE
|
||||
#: LABEL/ID_OVER_DUE
|
||||
msgid "% Over due"
|
||||
msgstr "% Over due"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_NEW_CASES
|
||||
#: LABEL/ID_NEW_CASES
|
||||
msgid "New Cases"
|
||||
msgstr "New Cases"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_COMPLETED_CASES
|
||||
#: LABEL/ID_COMPLETED_CASES
|
||||
msgid "Completed Cases"
|
||||
msgstr "Completed Cases"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_WORKING_CASES
|
||||
#: LABEL/ID_WORKING_CASES
|
||||
msgid "Working Cases"
|
||||
msgstr "Working Cases"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_BARS
|
||||
#: LABEL/ID_BARS
|
||||
msgid "Bars"
|
||||
msgstr "Bars"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_LINES
|
||||
#: LABEL/ID_LINES
|
||||
msgid "Lines"
|
||||
msgstr "Lines"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_MONTH
|
||||
#: LABEL/ID_MONTH
|
||||
msgid "Month"
|
||||
msgstr "Month"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_QUARTER
|
||||
#: LABEL/ID_QUARTER
|
||||
msgid "Quarter"
|
||||
msgstr "Quarter"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_SEMESTER
|
||||
#: LABEL/ID_SEMESTER
|
||||
msgid "Semester"
|
||||
msgstr "Semester"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_YEAR
|
||||
#: LABEL/ID_YEAR
|
||||
msgid "Year"
|
||||
msgstr "Year"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_SET_MANAGER
|
||||
#: LABEL/ID_SET_MANAGER
|
||||
msgid "Set Manager"
|
||||
msgstr "Set Manager"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_SET_MANAGER_SUCCESS
|
||||
#: LABEL/ID_SET_MANAGER_SUCCESS
|
||||
msgid "Manager assigned correctly"
|
||||
msgstr "Manager assigned correctly"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DELETE_MANAGER
|
||||
#: LABEL/ID_DELETE_MANAGER
|
||||
msgid "You cannot unassign the manager"
|
||||
msgstr "You cannot unassign the manager"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DEPARTMENT_TITLE_ALREADY_EXISTS
|
||||
#: LABEL/ID_DEPARTMENT_TITLE_ALREADY_EXISTS
|
||||
msgid "The department title with {0}: \"{1}\" already exists."
|
||||
msgstr "The department title with {0}: \"{1}\" already exists."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASH_COMPARE_MONTH
|
||||
#: LABEL/ID_DASH_COMPARE_MONTH
|
||||
msgid "Compare this month to"
|
||||
msgstr "Compare this month to"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASH_COMPARE
|
||||
#: LABEL/ID_DASH_COMPARE
|
||||
msgid "Compare"
|
||||
msgstr "Compare"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DASH_CLICK_TO_VIEW
|
||||
#: LABEL/ID_DASH_CLICK_TO_VIEW
|
||||
msgid "You can click on one of the dashboards to view the data or click on the favorite icon to make it your main dashboard."
|
||||
msgstr "You can click on one of the dashboards to view the data or click on the favorite icon to make it your main dashboard."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_SET_NO_MANAGER
|
||||
#: LABEL/ID_SET_NO_MANAGER
|
||||
msgid "No set Manager"
|
||||
msgstr "No set Manager"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_NO_SET_MANAGER_SUCCES
|
||||
#: LABEL/ID_NO_SET_MANAGER_SUCCES
|
||||
msgid "Manager unassigned correctly"
|
||||
msgstr "Manager unassigned correctly"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_PROCESS_REQUIRED
|
||||
#: LABEL/ID_INDICATOR_PROCESS_REQUIRED
|
||||
msgid "The field Process of indicator \"{0}\" is required."
|
||||
msgstr "The field Process of indicator \"{0}\" is required."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_TITLE_REQUIRED
|
||||
#: LABEL/ID_INDICATOR_TITLE_REQUIRED
|
||||
msgid "The field Title of indicator \"{0}\" is required."
|
||||
msgstr "The field Title of indicator \"{0}\" is required."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_INDICATOR_TYPE_REQUIRED
|
||||
#: LABEL/ID_INDICATOR_TYPE_REQUIRED
|
||||
msgid "The field Type of indicator \"{0}\" is required."
|
||||
msgstr "The field Type of indicator \"{0}\" is required."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_MAX_INDICATOR_DASHBOARD
|
||||
#: LABEL/ID_MAX_INDICATOR_DASHBOARD
|
||||
msgid "Maximum number of tabs"
|
||||
msgstr "Maximum number of tabs"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_USER_NAME_ALREADY_EXISTS
|
||||
#: LABEL/ID_USER_NAME_ALREADY_EXISTS
|
||||
msgid "The User Name with {0}: \"{1}\" already exists."
|
||||
msgstr "The User Name with {0}: \"{1}\" already exists."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_LESS_THAN
|
||||
#: LABEL/ID_LESS_THAN
|
||||
msgid "less than"
|
||||
msgstr "less than"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_MORE_THAN
|
||||
#: LABEL/ID_MORE_THAN
|
||||
msgid "more than"
|
||||
msgstr "more than"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CASE_NO_CURRENT_TASKS_BECAUSE_CASE_ITS_COMPLETED
|
||||
#: LABEL/ID_CASE_NO_CURRENT_TASKS_BECAUSE_CASE_ITS_COMPLETED
|
||||
msgid "There are no current tasks because case {0}: {1} has COMPLETED status"
|
||||
msgstr "There are no current tasks because case {0}: {1} has COMPLETED status"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CONSOLIDATED_CASE_LIST
|
||||
#: LABEL/ID_CONSOLIDATED_CASE_LIST
|
||||
msgid "Consolidated Case List"
|
||||
msgstr "Consolidated Case List"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_CONSOLIDATED_DYNAFORM_REQUIRED
|
||||
#: LABEL/ID_CONSOLIDATED_DYNAFORM_REQUIRED
|
||||
msgid "The process has no type template Dynaform grid, this Dynaform is required"
|
||||
msgstr "The process has no type template Dynaform grid, this Dynaform is required"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_DEPARTMENT_MANAGER_EXIST
|
||||
#: LABEL/ID_DEPARTMENT_MANAGER_EXIST
|
||||
msgid "The user: {0} is other department manager."
|
||||
msgstr "The user: {0} is other department manager."
|
||||
|
||||
# additionalTables/additionalTablesData.xml?ADD_TAB_NAME
|
||||
# additionalTables/additionalTablesData.xml
|
||||
#: text - ADD_TAB_NAME
|
||||
|
||||
@@ -1848,7 +1848,7 @@ SELECT 'LABEL','ID_MSG_CONFIRM_REMOVE_USER','en','Are you sure you want to remov
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_MSG_CONFIRM_DEASIGN_USER_GROUP_MESSAGE','en','Are you sure you want to remove this user or group?','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASHBOARD','en','Dashboards','2014-01-15'
|
||||
SELECT 'LABEL','ID_DASHBOARD','en','Dashboards','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_MSG_CONFIRM_REMOVE_TRIGGER','en','Are you sure you want to remove this trigger?','2014-01-15'
|
||||
UNION ALL
|
||||
@@ -6426,7 +6426,7 @@ SELECT 'LABEL','ID_ACCEPT','en','Accept','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_ERROR_SEND_NOTIFICATIONS','en','The following error has occurred when trying to send the notifications:','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DATE_FORMAT_17','en','dd de M de Y','2014-01-15'
|
||||
SELECT 'LABEL','ID_DATE_FORMAT_17','en','dd de M de Y (Date format only for Spanish language)','2015-03-17'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_THIS_QUARTER','en','This quarter','2014-01-15'
|
||||
UNION ALL
|
||||
@@ -6626,7 +6626,7 @@ SELECT 'LABEL','ID_PMTABLE_PRIMARY_KEY_FIELD_IS_MISSING_IN_ATTRIBUTE','en','The
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PMTABLE_TOTAL_PRIMARY_KEY_FIELDS_IS_NOT_EQUAL_IN_ATTRIBUTE','en','The total primary key fields of the PM Table is {0}, the attribute {1} has {2} primary keys.','2014-05-20'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_DOES_NOT_EXIST','en','The user with {0}: {1} does not exist.','2014-05-20'
|
||||
SELECT 'LABEL','ID_USER_DOES_NOT_EXIST','en','The User with {0}: {1} does not exist.','2015-03-23'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_DOES_NOT_HAVE_ACTIVITY_ASSIGNED','en','The user "{0}" does not have the activity "{1}" assigned.','2014-05-20'
|
||||
UNION ALL
|
||||
@@ -6880,7 +6880,7 @@ SELECT 'LABEL','ID_DBC_ENCODE_INVALID','en','The database connection with dbs_en
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN','en','It is not possible to delete the department because it has subdepartments.','2014-10-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while has assigned users.','2014-05-29'
|
||||
SELECT 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while it has assigned users.','2015-03-23'
|
||||
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
|
||||
@@ -7569,6 +7569,114 @@ SELECT 'LABEL','ID_EDIT_PROCESS','en','Process Edited','2015-02-21'
|
||||
SELECT 'LABEL','ID_EVENT_DELETED','en','Event deleted','2015-02-21'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DEL_THREAD_STATUS','en','Thread Status','2015-02-27'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_GRID_PAGE_DISPLAYING_DASHBOARD_MESSAGE','en','Displaying Dashboards {0} - {1} of {2}','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_GRID_PAGE_NO_DASHBOARD_MESSAGE','en','No Dashboards to display','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CONFIRM_DELETE_DASHBOARD','en','Do you want to delete selected Dashboard?','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASHBOARD_SUCCESS_DELETE','en','Dashboard has been deleted correctly.','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_GRID_PAGE_DISPLAYING_0WNER_MESSAGE','en','Displaying Owners {0} - {1} of {2}','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_GRID_PAGE_NO_OWNER_MESSAGE','en','No Owners to display','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_OWNER_TYPE','en','Type owner','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_OWNER_INFORMATION','en','Owner Information','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_NEW_TAB_INDICATOR','en','Add Indicator','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_TITLE_DASHBOARD','en','Dashboard Indicator Title','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASHBOARD_INDICATOR_INFORMATION','en','Indicator Information','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR','en','Indicator','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_TITLE','en','Indicator Title','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASHBOARD_TITLE','en','Dashboard Title','2015-03-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_TYPE','en','Indicator Type','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_GOAL','en','Goal','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_FIRST_FIGURE','en','First Graph','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PERIODICITY','en','Periodicity','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_SECOND_FIGURE','en','Second Graph','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASHBOARD_OWNER_SUCCESS_DELETE','en','Owner Dashboard has been deleted correctly.','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PROCESS_EFFICIENCE','en','Process Efficience Index','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_PROCESS_INEFFICIENCE','en','Process Inefficience Cost','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_EMPLYEE_EFFICIENCIE','en','Employee Efficience Index','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_INEFFICIENCE','en','Inefficience Cost By User','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_OVER_DUE','en','% Over due','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_NEW_CASES','en','New Cases','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_COMPLETED_CASES','en','Completed Cases','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_WORKING_CASES','en','Working Cases','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_BARS','en','Bars','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_LINES','en','Lines','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_MONTH','en','Month','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_QUARTER','en','Quarter','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_SEMESTER','en','Semester','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_YEAR','en','Year','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_SET_MANAGER','en','Set Manager','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_SET_MANAGER_SUCCESS','en','Manager assigned correctly','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DELETE_MANAGER','en','You cannot unassign the manager','2015-03-09'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DEPARTMENT_TITLE_ALREADY_EXISTS','en','The department title with {0}: "{1}" already exists.','2015-03-10'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASH_COMPARE_MONTH','en','Compare this month to','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASH_COMPARE','en','Compare','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DASH_CLICK_TO_VIEW','en','You can click on one of the dashboards to view the data or click on the favorite icon to make it your main dashboard.','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_SET_NO_MANAGER','en','No set Manager','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_NO_SET_MANAGER_SUCCES','en','Manager unassigned correctly','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_PROCESS_REQUIRED','en','The field Process of indicator "{0}" is required.','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_TITLE_REQUIRED','en','The field Title of indicator "{0}" is required.','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_INDICATOR_TYPE_REQUIRED','en','The field Type of indicator "{0}" is required.','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_MAX_INDICATOR_DASHBOARD','en','Maximum number of tabs','2015-03-18'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_USER_NAME_ALREADY_EXISTS','en','The User Name with {0}: "{1}" already exists.','2015-03-23'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_LESS_THAN','en','less than','2015-03-23'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_MORE_THAN','en','more than','2015-03-23'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_NO_CURRENT_TASKS_BECAUSE_CASE_ITS_COMPLETED','en','There are no current tasks because case {0}: {1} has COMPLETED status','2015-03-24'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CONSOLIDATED_CASE_LIST','en','Consolidated Case List','2015-03-24'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CONSOLIDATED_DYNAFORM_REQUIRED','en','The process has no type template Dynaform grid, this Dynaform is required','2015-03-24'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_DEPARTMENT_MANAGER_EXIST','en','The user: {0} is other department manager.','2015-03-24'
|
||||
;
|
||||
|
||||
INSERT INTO ISO_LOCATION ([IC_UID],[IL_UID],[IL_NAME],[IL_NORMAL_NAME],[IS_UID])
|
||||
|
||||
@@ -1621,7 +1621,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_PREVIOUS_STEP','en','Previous Step','2014-01-15') ,
|
||||
( 'LABEL','ID_MSG_CONFIRM_REMOVE_USER','en','Are you sure you want to remove this user?','2014-01-15') ,
|
||||
( 'LABEL','ID_MSG_CONFIRM_DEASIGN_USER_GROUP_MESSAGE','en','Are you sure you want to remove this user or group?','2014-01-15') ,
|
||||
( 'LABEL','ID_DASHBOARD','en','Dashboards','2014-01-15') ,
|
||||
( 'LABEL','ID_DASHBOARD','en','Dashboards','2015-03-09') ,
|
||||
( 'LABEL','ID_MSG_CONFIRM_REMOVE_TRIGGER','en','Are you sure you want to remove this trigger?','2014-01-15') ,
|
||||
( 'JAVASCRIPT','ID_MSG_CONFIRM_REMOVE_TRIGGER','en','Are you sure you want to remove this trigger?','2014-01-15') ,
|
||||
( 'LABEL','ID_NEW','en','New','2014-01-15') ,
|
||||
@@ -3939,7 +3939,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_FROM_NAME','en','From name','2014-01-15') ,
|
||||
( 'LABEL','ID_ACCEPT','en','Accept','2014-01-15') ,
|
||||
( 'LABEL','ID_ERROR_SEND_NOTIFICATIONS','en','The following error has occurred when trying to send the notifications:','2014-01-15') ,
|
||||
( 'LABEL','ID_DATE_FORMAT_17','en','dd de M de Y','2014-01-15') ,
|
||||
( 'LABEL','ID_DATE_FORMAT_17','en','dd de M de Y (Date format only for Spanish language)','2015-03-17') ,
|
||||
( 'LABEL','ID_THIS_QUARTER','en','This quarter','2014-01-15') ,
|
||||
( 'LABEL','ID_PREVIOUS_QUARTER','en','Previous quarter','2014-01-15') ,
|
||||
( 'LABEL','ID_ON_TIME','en','On Time','2014-01-15') ,
|
||||
@@ -4040,7 +4040,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_PMTABLE_FIELD_IS_NOT_PRIMARY_KEY','en','The field {0}: {1}, is not a primary key field of the PM Table.','2014-05-20') ,
|
||||
( 'LABEL','ID_PMTABLE_PRIMARY_KEY_FIELD_IS_MISSING_IN_ATTRIBUTE','en','The primary key field {0} of the PM Table is missing in the attribute {1}.','2014-05-20') ,
|
||||
( 'LABEL','ID_PMTABLE_TOTAL_PRIMARY_KEY_FIELDS_IS_NOT_EQUAL_IN_ATTRIBUTE','en','The total primary key fields of the PM Table is {0}, the attribute {1} has {2} primary keys.','2014-05-20') ,
|
||||
( 'LABEL','ID_USER_DOES_NOT_EXIST','en','The user with {0}: {1} does not exist.','2014-05-20') ,
|
||||
( 'LABEL','ID_USER_DOES_NOT_EXIST','en','The User with {0}: {1} does not exist.','2015-03-23') ,
|
||||
( 'LABEL','ID_USER_DOES_NOT_HAVE_ACTIVITY_ASSIGNED','en','The user "{0}" does not have the activity "{1}" assigned.','2014-05-20') ,
|
||||
( 'LABEL','ID_ACTIVITY_DOES_NOT_EXIST','en','The activity with {0}: {1} does not exist.','2014-05-20') ,
|
||||
( 'LABEL','ID_ACTIVITY_IS_NOT_INITIAL_ACTIVITY','en','The activity "{0}" is not initial activity.','2014-05-20') ,
|
||||
@@ -4168,7 +4168,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_DBC_PORT_INVALID','en','The database connection with dbs_port: ''{0}'' is invalid','2014-10-21') ,
|
||||
( 'LABEL','ID_DBC_ENCODE_INVALID','en','The database connection with dbs_encode: ''{0}'' is invalid','2014-10-21') ,
|
||||
( 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_CHILDREN','en','It is not possible to delete the department because it has subdepartments.','2014-10-21') ,
|
||||
( 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while has assigned users.','2014-05-29') ,
|
||||
( 'LABEL','ID_CANT_DELETE_DEPARTMENT_HAS_USERS','en','Department cannot be deleted while it has assigned users.','2015-03-23') ,
|
||||
( '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') ,
|
||||
( 'LABEL','ID_CATEGORY_NAME_ALREADY_EXISTS','en','The category name with {0}: "{1}" already exists.','2014-06-12') ,
|
||||
@@ -4517,7 +4517,61 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_MESSAGE_EVENT_DEFINITION_DOES_NOT_IS_REGISTERED','en','The Message-Event-Definition with {0}: {1} does not is registered.','2015-02-20') ,
|
||||
( 'LABEL','ID_EDIT_PROCESS','en','Process Edited','2015-02-21') ,
|
||||
( 'LABEL','ID_EVENT_DELETED','en','Event deleted','2015-02-21') ,
|
||||
( 'LABEL','ID_DEL_THREAD_STATUS','en','Thread Status','2015-02-27') ;
|
||||
( 'LABEL','ID_DEL_THREAD_STATUS','en','Thread Status','2015-02-27') ,
|
||||
( 'LABEL','ID_GRID_PAGE_DISPLAYING_DASHBOARD_MESSAGE','en','Displaying Dashboards {0} - {1} of {2}','2015-03-09') ,
|
||||
( 'LABEL','ID_GRID_PAGE_NO_DASHBOARD_MESSAGE','en','No Dashboards to display','2015-03-09') ,
|
||||
( 'LABEL','ID_CONFIRM_DELETE_DASHBOARD','en','Do you want to delete selected Dashboard?','2015-03-09') ,
|
||||
( 'LABEL','ID_DASHBOARD_SUCCESS_DELETE','en','Dashboard has been deleted correctly.','2015-03-09') ,
|
||||
( 'LABEL','ID_GRID_PAGE_DISPLAYING_0WNER_MESSAGE','en','Displaying Owners {0} - {1} of {2}','2015-03-09') ,
|
||||
( 'LABEL','ID_GRID_PAGE_NO_OWNER_MESSAGE','en','No Owners to display','2015-03-09') ,
|
||||
( 'LABEL','ID_OWNER_TYPE','en','Type owner','2015-03-09') ,
|
||||
( 'LABEL','ID_OWNER_INFORMATION','en','Owner Information','2015-03-09') ,
|
||||
( 'LABEL','ID_NEW_TAB_INDICATOR','en','Add Indicator','2015-03-09') ,
|
||||
( 'LABEL','ID_TITLE_DASHBOARD','en','Dashboard Indicator Title','2015-03-09') ,
|
||||
( 'LABEL','ID_DASHBOARD_INDICATOR_INFORMATION','en','Indicator Information','2015-03-09') ,
|
||||
( 'LABEL','ID_INDICATOR','en','Indicator','2015-03-09') ,
|
||||
( 'LABEL','ID_INDICATOR_TITLE','en','Indicator Title','2015-03-09') ,
|
||||
( 'LABEL','ID_DASHBOARD_TITLE','en','Dashboard Title','2015-03-15') ,
|
||||
( 'LABEL','ID_INDICATOR_TYPE','en','Indicator Type','2015-03-09') ,
|
||||
( 'LABEL','ID_INDICATOR_GOAL','en','Goal','2015-03-09') ,
|
||||
( 'LABEL','ID_FIRST_FIGURE','en','First Graph','2015-03-09') ,
|
||||
( 'LABEL','ID_PERIODICITY','en','Periodicity','2015-03-09') ,
|
||||
( 'LABEL','ID_SECOND_FIGURE','en','Second Graph','2015-03-09') ,
|
||||
( 'LABEL','ID_DASHBOARD_OWNER_SUCCESS_DELETE','en','Owner Dashboard has been deleted correctly.','2015-03-09') ,
|
||||
( 'LABEL','ID_PROCESS_EFFICIENCE','en','Process Efficience Index','2015-03-09') ,
|
||||
( 'LABEL','ID_PROCESS_INEFFICIENCE','en','Process Inefficience Cost','2015-03-09') ,
|
||||
( 'LABEL','ID_EMPLYEE_EFFICIENCIE','en','Employee Efficience Index','2015-03-09') ,
|
||||
( 'LABEL','ID_USER_INEFFICIENCE','en','Inefficience Cost By User','2015-03-09') ,
|
||||
( 'LABEL','ID_OVER_DUE','en','% Over due','2015-03-09') ,
|
||||
( 'LABEL','ID_NEW_CASES','en','New Cases','2015-03-09') ,
|
||||
( 'LABEL','ID_COMPLETED_CASES','en','Completed Cases','2015-03-09') ,
|
||||
( 'LABEL','ID_WORKING_CASES','en','Working Cases','2015-03-09') ,
|
||||
( 'LABEL','ID_BARS','en','Bars','2015-03-09') ,
|
||||
( 'LABEL','ID_LINES','en','Lines','2015-03-09') ,
|
||||
( 'LABEL','ID_MONTH','en','Month','2015-03-09') ,
|
||||
( 'LABEL','ID_QUARTER','en','Quarter','2015-03-09') ,
|
||||
( 'LABEL','ID_SEMESTER','en','Semester','2015-03-09') ,
|
||||
( 'LABEL','ID_YEAR','en','Year','2015-03-09') ,
|
||||
( 'LABEL','ID_SET_MANAGER','en','Set Manager','2015-03-09') ,
|
||||
( 'LABEL','ID_SET_MANAGER_SUCCESS','en','Manager assigned correctly','2015-03-09') ,
|
||||
( 'LABEL','ID_DELETE_MANAGER','en','You cannot unassign the manager','2015-03-09') ,
|
||||
( 'LABEL','ID_DEPARTMENT_TITLE_ALREADY_EXISTS','en','The department title with {0}: "{1}" already exists.','2015-03-10') ,
|
||||
( 'LABEL','ID_DASH_COMPARE_MONTH','en','Compare this month to','2015-03-18') ,
|
||||
( 'LABEL','ID_DASH_COMPARE','en','Compare','2015-03-18') ,
|
||||
( 'LABEL','ID_DASH_CLICK_TO_VIEW','en','You can click on one of the dashboards to view the data or click on the favorite icon to make it your main dashboard.','2015-03-18') ,
|
||||
( 'LABEL','ID_SET_NO_MANAGER','en','No set Manager','2015-03-18') ,
|
||||
( 'LABEL','ID_NO_SET_MANAGER_SUCCES','en','Manager unassigned correctly','2015-03-18') ,
|
||||
( 'LABEL','ID_INDICATOR_PROCESS_REQUIRED','en','The field Process of indicator "{0}" is required.','2015-03-18') ,
|
||||
( 'LABEL','ID_INDICATOR_TITLE_REQUIRED','en','The field Title of indicator "{0}" is required.','2015-03-18') ,
|
||||
( 'LABEL','ID_INDICATOR_TYPE_REQUIRED','en','The field Type of indicator "{0}" is required.','2015-03-18') ,
|
||||
( 'LABEL','ID_MAX_INDICATOR_DASHBOARD','en','Maximum number of tabs','2015-03-18') ,
|
||||
( 'LABEL','ID_USER_NAME_ALREADY_EXISTS','en','The User Name with {0}: "{1}" already exists.','2015-03-23') ,
|
||||
( 'LABEL','ID_LESS_THAN','en','less than','2015-03-23') ,
|
||||
( 'LABEL','ID_MORE_THAN','en','more than','2015-03-23') ,
|
||||
( 'LABEL','ID_CASE_NO_CURRENT_TASKS_BECAUSE_CASE_ITS_COMPLETED','en','There are no current tasks because case {0}: {1} has COMPLETED status','2015-03-24') ,
|
||||
( 'LABEL','ID_CONSOLIDATED_CASE_LIST','en','Consolidated Case List','2015-03-24') ,
|
||||
( 'LABEL','ID_CONSOLIDATED_DYNAFORM_REQUIRED','en','The process has no type template Dynaform grid, this Dynaform is required','2015-03-24') ,
|
||||
( 'LABEL','ID_DEPARTMENT_MANAGER_EXIST','en','The user: {0} is other department manager.','2015-03-24') ;
|
||||
|
||||
INSERT INTO ISO_LOCATION (IC_UID,IL_UID,IL_NAME,IL_NORMAL_NAME,IS_UID) VALUES
|
||||
('AD','','',' ','') ,
|
||||
|
||||
@@ -205,6 +205,7 @@ CREATE TABLE `DYNAFORM`
|
||||
`DYN_TYPE` VARCHAR(20) default 'xmlform' NOT NULL,
|
||||
`DYN_FILENAME` VARCHAR(100) default '' NOT NULL,
|
||||
`DYN_CONTENT` MEDIUMTEXT,
|
||||
`DYN_LABEL` MEDIUMTEXT,
|
||||
`DYN_VERSION` INTEGER NOT NULL,
|
||||
PRIMARY KEY (`DYN_UID`)
|
||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Forms required';
|
||||
|
||||
@@ -49,7 +49,8 @@ $(window).load(function () {
|
||||
var form = document.getElementsByTagName("form")[0];
|
||||
form.action = filePost ? filePost : "cases_SaveData?UID=" + dyn_uid + "&APP_UID=" + app_uid;
|
||||
form.method = "post";
|
||||
form.enctype = "multipart/form-data";
|
||||
//form.enctype = "multipart/form-data";
|
||||
form.setAttribute("encType","multipart/form-data");
|
||||
form.appendChild(dyn_content_history);
|
||||
form.appendChild(dynaformname);
|
||||
form.appendChild(appuid);
|
||||
|
||||
@@ -2239,7 +2239,10 @@ var processmap=function(){
|
||||
/*
|
||||
* Aca se definen TASK inicio y TASK a la que se deriva.
|
||||
*/
|
||||
event = event || window.event;
|
||||
//In IE the event is undefined or 0
|
||||
if(event === 0 || typeof(event) === 'undefined'){
|
||||
event = window.event;
|
||||
}
|
||||
|
||||
if (event)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ $data = array(
|
||||
$ch = curl_init($endpoint);
|
||||
|
||||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
curl_setopt($ch, CURLOPT_USERPWD, "$clientId:$secret");
|
||||
curl_setopt($ch, CURLOPT_USERPWD, $clientId.':'.$secret);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
|
||||
|
||||
@@ -12,149 +12,159 @@ $configPage = $c->getConfiguration( "auditLogList", "pageSize", null, $_SESSION[
|
||||
$config = array ();
|
||||
$config["pageSize"] = (isset( $configPage["pageSize"] )) ? $configPage["pageSize"] : 20;
|
||||
|
||||
$arrayAction = array (array ("ALL", G::LoadTranslation( "ID_ALL" )),
|
||||
array ("CreateUser", G::LoadTranslation( "ID_CREATE_USER" )),
|
||||
array ("UpdateUser", G::LoadTranslation( "ID_UPDATE_USER" )),
|
||||
array ("DeleteUser", G::LoadTranslation( "ID_DELETE_USER" )),
|
||||
array ("EnableUser", G::LoadTranslation( "ID_ENABLE_USER" )),
|
||||
array ("DisableUser", G::LoadTranslation( "ID_DISABLE_USER" )),
|
||||
array ("AssignAuthenticationSource", G::LoadTranslation( "ID_ASSIGN_AUTHENTICATION_SOURCE" )),
|
||||
array ("AssignUserToGroup", G::LoadTranslation( "ID_ASSIGN_USER_TO_GROUP" )),
|
||||
array ("CreateAuthSource", G::LoadTranslation( "ID_CREATE_AUTH_SOURCE" )),
|
||||
array ("UpdateAuthSource", G::LoadTranslation( "ID_UPDATE_AUTH_SOURCE" )),
|
||||
array ("DeleteAuthSource", G::LoadTranslation( "ID_DELETE_AUTH_SOURCE" )),
|
||||
array ("CreateRole", G::LoadTranslation( "ID_CREATE_ROLE" )),
|
||||
array ("UpdateRole", G::LoadTranslation( "ID_UPDATE_ROLE" )),
|
||||
array ("DeleteRole", G::LoadTranslation( "ID_DELETE_ROLE" )),
|
||||
array ("AssignUserToRole", G::LoadTranslation( "ID_ASSIGN_USER_TO_ROLE" )),
|
||||
array ("DeleteUserToRole", G::LoadTranslation( "ID_DELETE_USER_TO_ROLE" )),
|
||||
array ("AddPermissionToRole", G::LoadTranslation( "ID_ADD_PERMISSION_TO_ROLE" )),
|
||||
array ("DeletePermissionToRole", G::LoadTranslation( "ID_DELETE_PERMISSION_TO_ROLE" )),
|
||||
array ("CreateSkin", G::LoadTranslation( "ID_CREATE_SKIN" )),
|
||||
array ("ImportSkin", G::LoadTranslation( "ID_IMPORT_SKIN" )),
|
||||
array ("ExportSkin", G::LoadTranslation( "ID_EXPORT_SKIN" )),
|
||||
array ("DeleteSkin", G::LoadTranslation( "ID_DELETE_SKIN" )),
|
||||
array ("CreateGroup", G::LoadTranslation( "ID_CREATE_GROUP" )),
|
||||
array ("UpdateGroup", G::LoadTranslation( "ID_UPDATE_GROUP" )),
|
||||
array ("DeleteGroup", G::LoadTranslation( "ID_DELETE_GROUP" )),
|
||||
array ("CreateCategory", G::LoadTranslation( "ID_CREATE_CATEGORY" )),
|
||||
array ("UpdateCategory", G::LoadTranslation( "ID_UPDATE_CATEGORY" )),
|
||||
array ("DeleteCategory", G::LoadTranslation( "ID_DELETE_CATEGORY" )),
|
||||
array ("BuildCache", G::LoadTranslation( "ID_BUILD_CACHE" )),
|
||||
array ("ClearCache", G::LoadTranslation( "ID_CLEAR_CACHE" )),
|
||||
array ("ClearCron", G::LoadTranslation( "ID_CLEAR_CRON" )),
|
||||
array ("UpdateEnvironmentSettings", G::LoadTranslation( "ID_UPDATE_ENVIRONMENT_SETTINGS" )),
|
||||
array ("UpdateLoginSettings", G::LoadTranslation( "ID_UPDATE_LOGIN_SETTINGS" )),
|
||||
array ("EnableHeartBeat", G::LoadTranslation( "ID_ENABLE_HEART_BEAT" )),
|
||||
array ("DisableHeartBeat", G::LoadTranslation( "ID_DISABLE_HEART_BEAT" )),
|
||||
array ("CreatePmtable", G::LoadTranslation( "ID_CREATE_PMTABLE" )),
|
||||
array ("UpdatePmtable", G::LoadTranslation( "ID_UPDATE_PMTABLE" )),
|
||||
array ("DeletePmtable", G::LoadTranslation( "ID_DELETE_PMTABLE" )),
|
||||
array ("AddDataPmtable", G::LoadTranslation( "ID_ADD_DATA_PMTABLE" )),
|
||||
array ("UpdateDataPmtable", G::LoadTranslation( "ID_UPDATE_DATA_PMTABLE" )),
|
||||
array ("DeleteDataPmtable", G::LoadTranslation( "ID_DELETE_DATA_PMTABLE" )),
|
||||
array ("ImportTable", G::LoadTranslation( "ID_IMPORT_TABLE" )),
|
||||
array ("ExportTable", G::LoadTranslation( "ID_EXPORT_TABLE" )),
|
||||
array ("CreateCalendar", G::LoadTranslation( "ID_CREATE_CALENDAR" )),
|
||||
array ("UpdateCalendar", G::LoadTranslation( "ID_UPDATE_CALENDAR" )),
|
||||
array ("DeleteCalendar", G::LoadTranslation( "ID_DELETE_CALENDAR" )),
|
||||
array ("CreateDashletInstance", G::LoadTranslation( "ID_CREATE_DASHLET_INSTANCE" )),
|
||||
array ("UpdateDashletInstance", G::LoadTranslation( "ID_UPDATE_DASHLET_INSTANCE" )),
|
||||
array ("DeleteDashletInstance", G::LoadTranslation( "ID_DELETE_DASHLET_INSTANCE" )),
|
||||
array ("CreateDepartament", G::LoadTranslation( "ID_CREATE_DEPARTAMENT" )),
|
||||
array ("CreateSubDepartament", G::LoadTranslation( "ID_CREATE_SUB_DEPARTAMENT" )),
|
||||
array ("UpdateDepartament", G::LoadTranslation( "ID_UPDATE_DEPARTAMENT" )),
|
||||
array ("UpdateSubDepartament", G::LoadTranslation( "ID_UPDATE_SUB_DEPARTAMENT" )),
|
||||
array ("DeleteDepartament", G::LoadTranslation( "ID_DELETE_DEPARTAMENT" )),
|
||||
array ("AssignManagerToDepartament", G::LoadTranslation( "ID_ASSIGN_MANAGER_TO_DEPARTAMENT" )),
|
||||
array ("AssignUserToDepartament", G::LoadTranslation( "ID_ASSIGN_USER_TO_DEPARTAMENT" )),
|
||||
array ("RemoveUsersFromDepartament", G::LoadTranslation( "ID_REMOVE_USERS_FROM_DEPARTAMENT" )),
|
||||
array ("AssignUserToGroup", G::LoadTranslation( "ID_ASSIGN_USER_TO_GROUP" )),
|
||||
array ("UploadLanguage", G::LoadTranslation( "ID_UPLOAD_LANGUAGE" )),
|
||||
array ("ExportLanguage", G::LoadTranslation( "ID_EXPORT_LANGUAGE" )),
|
||||
array ("DeleteLanguage", G::LoadTranslation( "ID_DELETE_LAGUAGE" )),
|
||||
array ("UploadSystemSettings", G::LoadTranslation( "ID_UPLOAD_SYSTEM_SETTINGS" )),
|
||||
array ("UpdateEmailSettings", G::LoadTranslation( "ID_UPDATE_EMAIL_SETTINGS" )),
|
||||
array ("CreateEmailSettings", G::LoadTranslation( "ID_CREATE_EMAIL_SETTINGS" )),
|
||||
array ("UploadLogo", G::LoadTranslation( "ID_UPLOAD_LOGO" )),
|
||||
array ("DeleteLogo", G::LoadTranslation( "ID_DELETE_LOGO" )),
|
||||
array ("RestoreLogo", G::LoadTranslation( "ID_RESTORE_LOGO" )),
|
||||
array ("ReplaceLogo", G::LoadTranslation( "ID_REPLACE_LOGO" )),
|
||||
array ("InstallPlugin", G::LoadTranslation( "ID_INSTALL_PLUGIN" )),
|
||||
array ("EnablePlugin", G::LoadTranslation( "ID_ENABLE_PLUGIN" )),
|
||||
array ("DisablePlugin", G::LoadTranslation( "ID_DISABLE_PLUGIN" )),
|
||||
array ("RemovePlugin", G::LoadTranslation( "ID_REMOVE_PLUGIN" )),
|
||||
array ("SetColumns", G::LoadTranslation( "ID_SET_COLUMNS" )),
|
||||
array ("EnableAuditLog", G::LoadTranslation( "ID_ENABLE_AUDIT_LOG" )),
|
||||
array ("DisableAuditLog", G::LoadTranslation( "ID_DISABLE_AUDIT_LOG" )),
|
||||
array ("EditProcess", G::LoadTranslation( "ID_EDIT_PROCESS" )),
|
||||
array ("ExportProcess", G::LoadTranslation( "ID_EXPORT_PROCESS" )),
|
||||
array ("WebEntry", G::LoadTranslation( "ID_WEB_ENTRY" )),
|
||||
array ("AssignRole", G::LoadTranslation( "ID_ASSIGN_ROLE" )),
|
||||
array ("RemoveUser", G::LoadTranslation( "ID_REMOVE_USER" )),
|
||||
array ("AddTask", G::LoadTranslation( "ID_ADD_TASK" )),
|
||||
array ("AddSubProcess", G::LoadTranslation( "ID_ADD_SUB_PROCESS" )),
|
||||
array ("SaveTaskPosition", G::LoadTranslation( "ID_SAVE_TASK_POSITION" )),
|
||||
array ("AddHorizontalLine", G::LoadTranslation( "ID_ADD_HORIZONTAL_LINE" )),
|
||||
array ("AddVerticalLine", G::LoadTranslation( "ID_ADD_VERTICAL_LINE" )),
|
||||
array ("SaveGuidePosition", G::LoadTranslation( "ID_SAVE_GUIDE_POSITION" )),
|
||||
array ("DeleteLine", G::LoadTranslation( "ID_DELETE_LINE" )),
|
||||
array ("DeleteLines", G::LoadTranslation( "ID_DELETE_LINES" )),
|
||||
array ("AddText", G::LoadTranslation( "ID_ADD_TEXT" )),
|
||||
array ("UpdateText", G::LoadTranslation( "ID_UPDATE_TEXT" )),
|
||||
array ("SaveTextPosition", G::LoadTranslation( "ID_SAVE_TEXT_POSITION" )),
|
||||
array ("DeleteText", G::LoadTranslation( "ID_DELETE_TEXT" )),
|
||||
array ("ProcessFileManager", G::LoadTranslation( "ID_PROCESS_FILE_MANAGER" )),
|
||||
array ("ProcessPermissions", G::LoadTranslation( "ID_PROCESS_PERMISSIONS" )),
|
||||
array ("DeletePermissions", G::LoadTranslation( "ID_DELETE_PERMISSIONS" )),
|
||||
array ("AssignSupervisorDynaform", G::LoadTranslation( "ID_ASSIGN_SUPERVISOR_DYNAFORM" )),
|
||||
array ("RemoveSupervisorDynaform", G::LoadTranslation( "ID_REMOVE_SUPERVISOR_DYNAFORM" )),
|
||||
array ("AssignSupervisorInput", G::LoadTranslation( "ID_ASSIGN_SUPERVISOR_INPUT" )),
|
||||
array ("RemoveSupervisorInput", G::LoadTranslation( "ID_REMOVE_SUPERVISOR_INPUT" )),
|
||||
array ("CaseTrackers", G::LoadTranslation( "ID_CASE_TRACKERS" )),
|
||||
array ("EditEvent", G::LoadTranslation( "ID_EDIT_EVENT" )),
|
||||
array ("DeleteEvent", G::LoadTranslation( "ID_EVENT_DELETED" )),
|
||||
array ("CreateDynaform", G::LoadTranslation( "ID_CREATE_DYNAFORM" )),
|
||||
array ("UpdateDynaform", G::LoadTranslation( "ID_UPDATE_DYNAFORM" )),
|
||||
array ("DeleteDynaform", G::LoadTranslation( "ID_DELETE_DYNAFORM" )),
|
||||
array ("ConditionsEditorDynaform", G::LoadTranslation( "ID_CONDITIONS_EDITOR_DYNAFORM" )),
|
||||
array ("CreateCaseScheduler", G::LoadTranslation( "ID_CREATE_CASE_SCHEDULER" )),
|
||||
array ("UpdateCaseScheduler", G::LoadTranslation( "ID_UPDATE_CASE_SCHEDULER" )),
|
||||
array ("DeleteCaseScheduler", G::LoadTranslation( "ID_DELETE_CASE_SCHEDULER" )),
|
||||
array ("CreateDatabaseConnection", G::LoadTranslation( "ID_CREATE_DATABASE_CONNECTION" )),
|
||||
array ("UpdateDatabaseConnection", G::LoadTranslation( "ID_UPDATE_DATABASE_CONNECTION" )),
|
||||
array ("DeleteDatabaseConnection", G::LoadTranslation( "ID_DELETE_DATABASE_CONNECTION" )),
|
||||
array ("CreateInputDocument", G::LoadTranslation( "ID_CREATE_INPUT_DOCUMENT" )),
|
||||
array ("UpdateInputDocument", G::LoadTranslation( "ID_UPDATE_INPUT_DOCUMENT" )),
|
||||
array ("DeleteInputDocument", G::LoadTranslation( "ID_DELETE_INPUT_DOCUMENT" )),
|
||||
array ("CreateOutputDocument", G::LoadTranslation( "ID_CREATE_OUTPUT_DOCUMENT" )),
|
||||
array ("UpdateOutputDocument", G::LoadTranslation( "ID_UPDATE_OUTPUT_DOCUMENT" )),
|
||||
array ("DeleteOutputDocument", G::LoadTranslation( "ID_DELETE_OUTPUT_DOCUMENT" )),
|
||||
array ("CreateTrigger", G::LoadTranslation( "ID_CREATE_TRIGGER" )),
|
||||
array ("UpdateTrigger", G::LoadTranslation( "ID_UPDATE_TRIGGER" )),
|
||||
array ("DeleteTrigger", G::LoadTranslation( "ID_DELETE_TRIGGER" )),
|
||||
array ("DerivationRule", G::LoadTranslation( "ID_DERIVATION_RULE" )),
|
||||
array ("DeleteTask", G::LoadTranslation( "ID_DELETE_TASK" )),
|
||||
array ("DeleteSubProcess", G::LoadTranslation( "ID_DELETE_SUB_PROCESS" )),
|
||||
array ("OptionsMenuTask", G::LoadTranslation( "ID_OPTIONS_MENU_TASK" )),
|
||||
array ("SaveTaskProperties", G::LoadTranslation( "ID_SAVE_TASK_PROPERTIES" )),
|
||||
array ("DeleteRoutes", G::LoadTranslation( "ID_DELETE_ROUTES" )),
|
||||
array ("NewConditionFromStep", G::LoadTranslation( "ID_NEW_CONDITION_FROM_STEP" )),
|
||||
array ("AssignTrigger", G::LoadTranslation( "ID_ASSIGN_TRIGGER" )),
|
||||
array ("UpTrigger", G::LoadTranslation( "ID_UP_TRIGGER" )),
|
||||
array ("DownTrigger", G::LoadTranslation( "ID_DOWN_TRIGGER" )),
|
||||
array ("StepDelete", G::LoadTranslation( "ID_STEP_DELETE" )),
|
||||
array ("StepUp", G::LoadTranslation( "ID_STEP_UP" )),
|
||||
array ("StepDown", G::LoadTranslation( "ID_STEP_DOWN" )),
|
||||
array ("SaveNewStep", G::LoadTranslation( "ID_SAVE_NEW_STEP" )),
|
||||
array ("AssignUserTask", G::LoadTranslation( "ID_ASSIGN_USER_TASK" )),
|
||||
array ("AssignGroupTask", G::LoadTranslation( "ID_ASSIGN_GROUP_TASK" )),
|
||||
array ("DeleteUserTask", G::LoadTranslation( "ID_DELETE_USER_TASK" )),
|
||||
array ("DeleteGroupTask", G::LoadTranslation( "ID_DELETE_GROUP_TASK" ))
|
||||
);
|
||||
$arrayAction = array(
|
||||
"CreateUser" => G::LoadTranslation("ID_CREATE_USER"),
|
||||
"UpdateUser" => G::LoadTranslation("ID_UPDATE_USER"),
|
||||
"DeleteUser" => G::LoadTranslation("ID_DELETE_USER"),
|
||||
"EnableUser" => G::LoadTranslation("ID_ENABLE_USER"),
|
||||
"DisableUser" => G::LoadTranslation("ID_DISABLE_USER"),
|
||||
"AssignAuthenticationSource" => G::LoadTranslation("ID_ASSIGN_AUTHENTICATION_SOURCE"),
|
||||
"AssignUserToGroup" => G::LoadTranslation("ID_ASSIGN_USER_TO_GROUP"),
|
||||
"CreateAuthSource" => G::LoadTranslation("ID_CREATE_AUTH_SOURCE"),
|
||||
"UpdateAuthSource" => G::LoadTranslation("ID_UPDATE_AUTH_SOURCE"),
|
||||
"DeleteAuthSource" => G::LoadTranslation("ID_DELETE_AUTH_SOURCE"),
|
||||
"CreateRole" => G::LoadTranslation("ID_CREATE_ROLE"),
|
||||
"UpdateRole" => G::LoadTranslation("ID_UPDATE_ROLE"),
|
||||
"DeleteRole" => G::LoadTranslation("ID_DELETE_ROLE"),
|
||||
"AssignUserToRole" => G::LoadTranslation("ID_ASSIGN_USER_TO_ROLE"),
|
||||
"DeleteUserToRole" => G::LoadTranslation("ID_DELETE_USER_TO_ROLE"),
|
||||
"AddPermissionToRole" => G::LoadTranslation("ID_ADD_PERMISSION_TO_ROLE"),
|
||||
"DeletePermissionToRole" => G::LoadTranslation("ID_DELETE_PERMISSION_TO_ROLE"),
|
||||
"CreateSkin" => G::LoadTranslation("ID_CREATE_SKIN"),
|
||||
"ImportSkin" => G::LoadTranslation("ID_IMPORT_SKIN"),
|
||||
"ExportSkin" => G::LoadTranslation("ID_EXPORT_SKIN"),
|
||||
"DeleteSkin" => G::LoadTranslation("ID_DELETE_SKIN"),
|
||||
"CreateGroup" => G::LoadTranslation("ID_CREATE_GROUP"),
|
||||
"UpdateGroup" => G::LoadTranslation("ID_UPDATE_GROUP"),
|
||||
"DeleteGroup" => G::LoadTranslation("ID_DELETE_GROUP"),
|
||||
"CreateCategory" => G::LoadTranslation("ID_CREATE_CATEGORY"),
|
||||
"UpdateCategory" => G::LoadTranslation("ID_UPDATE_CATEGORY"),
|
||||
"DeleteCategory" => G::LoadTranslation("ID_DELETE_CATEGORY"),
|
||||
"BuildCache" => G::LoadTranslation("ID_BUILD_CACHE"),
|
||||
"ClearCache" => G::LoadTranslation("ID_CLEAR_CACHE"),
|
||||
"ClearCron" => G::LoadTranslation("ID_CLEAR_CRON"),
|
||||
"UpdateEnvironmentSettings" => G::LoadTranslation("ID_UPDATE_ENVIRONMENT_SETTINGS"),
|
||||
"UpdateLoginSettings" => G::LoadTranslation("ID_UPDATE_LOGIN_SETTINGS"),
|
||||
"EnableHeartBeat" => G::LoadTranslation("ID_ENABLE_HEART_BEAT"),
|
||||
"DisableHeartBeat" => G::LoadTranslation("ID_DISABLE_HEART_BEAT"),
|
||||
"CreatePmtable" => G::LoadTranslation("ID_CREATE_PMTABLE"),
|
||||
"UpdatePmtable" => G::LoadTranslation("ID_UPDATE_PMTABLE"),
|
||||
"DeletePmtable" => G::LoadTranslation("ID_DELETE_PMTABLE"),
|
||||
"AddDataPmtable" => G::LoadTranslation("ID_ADD_DATA_PMTABLE"),
|
||||
"UpdateDataPmtable" => G::LoadTranslation("ID_UPDATE_DATA_PMTABLE"),
|
||||
"DeleteDataPmtable" => G::LoadTranslation("ID_DELETE_DATA_PMTABLE"),
|
||||
"ImportTable" => G::LoadTranslation("ID_IMPORT_TABLE"),
|
||||
"ExportTable" => G::LoadTranslation("ID_EXPORT_TABLE"),
|
||||
"CreateCalendar" => G::LoadTranslation("ID_CREATE_CALENDAR"),
|
||||
"UpdateCalendar" => G::LoadTranslation("ID_UPDATE_CALENDAR"),
|
||||
"DeleteCalendar" => G::LoadTranslation("ID_DELETE_CALENDAR"),
|
||||
"CreateDashletInstance" => G::LoadTranslation("ID_CREATE_DASHLET_INSTANCE"),
|
||||
"UpdateDashletInstance" => G::LoadTranslation("ID_UPDATE_DASHLET_INSTANCE"),
|
||||
"DeleteDashletInstance" => G::LoadTranslation("ID_DELETE_DASHLET_INSTANCE"),
|
||||
"CreateDepartament" => G::LoadTranslation("ID_CREATE_DEPARTAMENT"),
|
||||
"CreateSubDepartament" => G::LoadTranslation("ID_CREATE_SUB_DEPARTAMENT"),
|
||||
"UpdateDepartament" => G::LoadTranslation("ID_UPDATE_DEPARTAMENT"),
|
||||
"UpdateSubDepartament" => G::LoadTranslation("ID_UPDATE_SUB_DEPARTAMENT"),
|
||||
"DeleteDepartament" => G::LoadTranslation("ID_DELETE_DEPARTAMENT"),
|
||||
"AssignManagerToDepartament" => G::LoadTranslation("ID_ASSIGN_MANAGER_TO_DEPARTAMENT"),
|
||||
"AssignUserToDepartament" => G::LoadTranslation("ID_ASSIGN_USER_TO_DEPARTAMENT"),
|
||||
"RemoveUsersFromDepartament" => G::LoadTranslation("ID_REMOVE_USERS_FROM_DEPARTAMENT"),
|
||||
"AssignUserToGroup" => G::LoadTranslation("ID_ASSIGN_USER_TO_GROUP"),
|
||||
"UploadLanguage" => G::LoadTranslation("ID_UPLOAD_LANGUAGE"),
|
||||
"ExportLanguage" => G::LoadTranslation("ID_EXPORT_LANGUAGE"),
|
||||
"DeleteLanguage" => G::LoadTranslation("ID_DELETE_LAGUAGE"),
|
||||
"UploadSystemSettings" => G::LoadTranslation("ID_UPLOAD_SYSTEM_SETTINGS"),
|
||||
"UpdateEmailSettings" => G::LoadTranslation("ID_UPDATE_EMAIL_SETTINGS"),
|
||||
"CreateEmailSettings" => G::LoadTranslation("ID_CREATE_EMAIL_SETTINGS"),
|
||||
"UploadLogo" => G::LoadTranslation("ID_UPLOAD_LOGO"),
|
||||
"DeleteLogo" => G::LoadTranslation("ID_DELETE_LOGO"),
|
||||
"RestoreLogo" => G::LoadTranslation("ID_RESTORE_LOGO"),
|
||||
"ReplaceLogo" => G::LoadTranslation("ID_REPLACE_LOGO"),
|
||||
"InstallPlugin" => G::LoadTranslation("ID_INSTALL_PLUGIN"),
|
||||
"EnablePlugin" => G::LoadTranslation("ID_ENABLE_PLUGIN"),
|
||||
"DisablePlugin" => G::LoadTranslation("ID_DISABLE_PLUGIN"),
|
||||
"RemovePlugin" => G::LoadTranslation("ID_REMOVE_PLUGIN"),
|
||||
"SetColumns" => G::LoadTranslation("ID_SET_COLUMNS"),
|
||||
"EnableAuditLog" => G::LoadTranslation("ID_ENABLE_AUDIT_LOG"),
|
||||
"DisableAuditLog" => G::LoadTranslation("ID_DISABLE_AUDIT_LOG"),
|
||||
"EditProcess" => G::LoadTranslation("ID_EDIT_PROCESS"),
|
||||
"ExportProcess" => G::LoadTranslation("ID_EXPORT_PROCESS"),
|
||||
"WebEntry" => G::LoadTranslation("ID_WEB_ENTRY"),
|
||||
"AssignRole" => G::LoadTranslation("ID_ASSIGN_ROLE"),
|
||||
"RemoveUser" => G::LoadTranslation("ID_REMOVE_USER"),
|
||||
"AddTask" => G::LoadTranslation("ID_ADD_TASK"),
|
||||
"AddSubProcess" => G::LoadTranslation("ID_ADD_SUB_PROCESS"),
|
||||
"SaveTaskPosition" => G::LoadTranslation("ID_SAVE_TASK_POSITION"),
|
||||
"AddHorizontalLine" => G::LoadTranslation("ID_ADD_HORIZONTAL_LINE"),
|
||||
"AddVerticalLine" => G::LoadTranslation("ID_ADD_VERTICAL_LINE"),
|
||||
"SaveGuidePosition" => G::LoadTranslation("ID_SAVE_GUIDE_POSITION"),
|
||||
"DeleteLine" => G::LoadTranslation("ID_DELETE_LINE"),
|
||||
"DeleteLines" => G::LoadTranslation("ID_DELETE_LINES"),
|
||||
"AddText" => G::LoadTranslation("ID_ADD_TEXT"),
|
||||
"UpdateText" => G::LoadTranslation("ID_UPDATE_TEXT"),
|
||||
"SaveTextPosition" => G::LoadTranslation("ID_SAVE_TEXT_POSITION"),
|
||||
"DeleteText" => G::LoadTranslation("ID_DELETE_TEXT"),
|
||||
"ProcessFileManager" => G::LoadTranslation("ID_PROCESS_FILE_MANAGER"),
|
||||
"ProcessPermissions" => G::LoadTranslation("ID_PROCESS_PERMISSIONS"),
|
||||
"DeletePermissions" => G::LoadTranslation("ID_DELETE_PERMISSIONS"),
|
||||
"AssignSupervisorDynaform" => G::LoadTranslation("ID_ASSIGN_SUPERVISOR_DYNAFORM"),
|
||||
"RemoveSupervisorDynaform" => G::LoadTranslation("ID_REMOVE_SUPERVISOR_DYNAFORM"),
|
||||
"AssignSupervisorInput" => G::LoadTranslation("ID_ASSIGN_SUPERVISOR_INPUT"),
|
||||
"RemoveSupervisorInput" => G::LoadTranslation("ID_REMOVE_SUPERVISOR_INPUT"),
|
||||
"CaseTrackers" => G::LoadTranslation("ID_CASE_TRACKERS"),
|
||||
"EditEvent" => G::LoadTranslation("ID_EDIT_EVENT"),
|
||||
"DeleteEvent" => G::LoadTranslation("ID_EVENT_DELETED"),
|
||||
"CreateDynaform" => G::LoadTranslation("ID_CREATE_DYNAFORM"),
|
||||
"UpdateDynaform" => G::LoadTranslation("ID_UPDATE_DYNAFORM"),
|
||||
"DeleteDynaform" => G::LoadTranslation("ID_DELETE_DYNAFORM"),
|
||||
"ConditionsEditorDynaform" => G::LoadTranslation("ID_CONDITIONS_EDITOR_DYNAFORM"),
|
||||
"CreateCaseScheduler" => G::LoadTranslation("ID_CREATE_CASE_SCHEDULER"),
|
||||
"UpdateCaseScheduler" => G::LoadTranslation("ID_UPDATE_CASE_SCHEDULER"),
|
||||
"DeleteCaseScheduler" => G::LoadTranslation("ID_DELETE_CASE_SCHEDULER"),
|
||||
"CreateDatabaseConnection" => G::LoadTranslation("ID_CREATE_DATABASE_CONNECTION"),
|
||||
"UpdateDatabaseConnection" => G::LoadTranslation("ID_UPDATE_DATABASE_CONNECTION"),
|
||||
"DeleteDatabaseConnection" => G::LoadTranslation("ID_DELETE_DATABASE_CONNECTION"),
|
||||
"CreateInputDocument" => G::LoadTranslation("ID_CREATE_INPUT_DOCUMENT"),
|
||||
"UpdateInputDocument" => G::LoadTranslation("ID_UPDATE_INPUT_DOCUMENT"),
|
||||
"DeleteInputDocument" => G::LoadTranslation("ID_DELETE_INPUT_DOCUMENT"),
|
||||
"CreateOutputDocument" => G::LoadTranslation("ID_CREATE_OUTPUT_DOCUMENT"),
|
||||
"UpdateOutputDocument" => G::LoadTranslation("ID_UPDATE_OUTPUT_DOCUMENT"),
|
||||
"DeleteOutputDocument" => G::LoadTranslation("ID_DELETE_OUTPUT_DOCUMENT"),
|
||||
"CreateTrigger" => G::LoadTranslation("ID_CREATE_TRIGGER"),
|
||||
"UpdateTrigger" => G::LoadTranslation("ID_UPDATE_TRIGGER"),
|
||||
"DeleteTrigger" => G::LoadTranslation("ID_DELETE_TRIGGER"),
|
||||
"DerivationRule" => G::LoadTranslation("ID_DERIVATION_RULE"),
|
||||
"DeleteTask" => G::LoadTranslation("ID_DELETE_TASK"),
|
||||
"DeleteSubProcess" => G::LoadTranslation("ID_DELETE_SUB_PROCESS"),
|
||||
"OptionsMenuTask" => G::LoadTranslation("ID_OPTIONS_MENU_TASK"),
|
||||
"SaveTaskProperties" => G::LoadTranslation("ID_SAVE_TASK_PROPERTIES"),
|
||||
"DeleteRoutes" => G::LoadTranslation("ID_DELETE_ROUTES"),
|
||||
"NewConditionFromStep" => G::LoadTranslation("ID_NEW_CONDITION_FROM_STEP"),
|
||||
"AssignTrigger" => G::LoadTranslation("ID_ASSIGN_TRIGGER"),
|
||||
"UpTrigger" => G::LoadTranslation("ID_UP_TRIGGER"),
|
||||
"DownTrigger" => G::LoadTranslation("ID_DOWN_TRIGGER"),
|
||||
"StepDelete" => G::LoadTranslation("ID_STEP_DELETE"),
|
||||
"StepUp" => G::LoadTranslation("ID_STEP_UP"),
|
||||
"StepDown" => G::LoadTranslation("ID_STEP_DOWN"),
|
||||
"SaveNewStep" => G::LoadTranslation("ID_SAVE_NEW_STEP"),
|
||||
"AssignUserTask" => G::LoadTranslation("ID_ASSIGN_USER_TASK"),
|
||||
"AssignGroupTask" => G::LoadTranslation("ID_ASSIGN_GROUP_TASK"),
|
||||
"DeleteUserTask" => G::LoadTranslation("ID_DELETE_USER_TASK"),
|
||||
"DeleteGroupTask" => G::LoadTranslation("ID_DELETE_GROUP_TASK")
|
||||
);
|
||||
|
||||
asort($arrayAction);
|
||||
|
||||
$arrayActionAux = $arrayAction;
|
||||
$arrayAction = array(array("ALL", G::LoadTranslation("ID_ALL")));
|
||||
|
||||
foreach ($arrayActionAux as $key => $value) {
|
||||
$arrayAction[] = array($key, $value);
|
||||
}
|
||||
|
||||
$oHeadPublisher = &headPublisher::getSingleton();
|
||||
$oHeadPublisher->addExtJsScript( "setup/auditLog", true );
|
||||
$oHeadPublisher->assign( "CONFIG", $config );
|
||||
$oHeadPublisher->assign( "ACTION", $arrayAction );
|
||||
G::RenderPage( "publish", "extJs" );
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ img {
|
||||
font :normal 8pt sans-serif,Tahoma,MiscFixed;
|
||||
color :#000;
|
||||
height :0px;
|
||||
padding-top: 100px;
|
||||
padding-top: 1px;
|
||||
text-align :center;
|
||||
}
|
||||
.Footer .image
|
||||
|
||||
@@ -201,7 +201,7 @@ img {
|
||||
font: normal 8pt "Open Sans", Tahoma, sans-serif, MiscFixed;
|
||||
color: #000;
|
||||
height: 0px;
|
||||
padding-top: 100px;
|
||||
padding-top: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
.Footer .image {
|
||||
|
||||
@@ -528,8 +528,25 @@ class Cases
|
||||
public function getTaskCase($applicationUid, $userUid)
|
||||
{
|
||||
try {
|
||||
$result = array ();
|
||||
\G::LoadClass('wsBase');
|
||||
//Verify data
|
||||
$this->throwExceptionIfNotExistsCase($applicationUid, $this->getFieldNameByFormatFieldName("APP_UID"));
|
||||
|
||||
$criteria = new \Criteria("workflow");
|
||||
|
||||
$criteria->addSelectColumn(\ApplicationPeer::APP_UID);
|
||||
|
||||
$criteria->add(\ApplicationPeer::APP_UID, $applicationUid, \Criteria::EQUAL);
|
||||
$criteria->add(\ApplicationPeer::APP_STATUS, "COMPLETED", \Criteria::EQUAL);
|
||||
|
||||
$rsCriteria = \ApplicationPeer::doSelectRS($criteria);
|
||||
|
||||
if ($rsCriteria->next()) {
|
||||
throw new \Exception(\G::LoadTranslation("ID_CASE_NO_CURRENT_TASKS_BECAUSE_CASE_ITS_COMPLETED", array($this->getFieldNameByFormatFieldName("APP_UID"), $applicationUid)));
|
||||
}
|
||||
|
||||
//Get data
|
||||
$result = array();
|
||||
|
||||
$oCriteria = new \Criteria( 'workflow' );
|
||||
$del = \DBAdapter::getStringDelimiter();
|
||||
$oCriteria->addSelectColumn( \AppDelegationPeer::DEL_INDEX );
|
||||
|
||||
@@ -1134,5 +1134,218 @@ class DynaForm
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* download file *.po
|
||||
*
|
||||
* @param string $projectUid Unique id of Project
|
||||
* @param string $dynaFormUid Unique id of DynaForm
|
||||
*
|
||||
* return
|
||||
*/
|
||||
public function downloadLanguage($projectUid, $dynaFormUid, $lang)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \Dynaform();
|
||||
$arraydata = $dynaForm->Load($dynaFormUid);
|
||||
$data = \G::json_decode($arraydata["DYN_LABEL"]);
|
||||
$string = "";
|
||||
$string = $string . "msgid \"\"\n";
|
||||
$string = $string . "msgstr \"\"\n";
|
||||
foreach ($data->{$lang} as $key => $value) {
|
||||
if (is_string($value)) {
|
||||
$string = $string . "\"" . $key . ":" . $value . "\\n\"\n";
|
||||
}
|
||||
}
|
||||
$string = $string . "\n";
|
||||
foreach ($data->{$lang}->Labels as $key => $value) {
|
||||
$string = $string . "msgid \"" . $value->msgid . "\"\n";
|
||||
$string = $string . "msgstr \"" . $value->msgstr . "\"\n\n";
|
||||
}
|
||||
return array("labels" => $string, "lang" => $lang);
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* upload file *.po
|
||||
*
|
||||
* @param string $projectUid Unique id of Project
|
||||
* @param string $dynaFormUid Unique id of DynaForm
|
||||
*
|
||||
* return
|
||||
*/
|
||||
public function uploadLanguage($projectUid, $dynaFormUid)
|
||||
{
|
||||
try {
|
||||
if (isset($_FILES["LANGUAGE"]) && pathinfo($_FILES["LANGUAGE"]["name"], PATHINFO_EXTENSION) == "po") {
|
||||
$translation = array();
|
||||
\G::LoadSystem('i18n_po');
|
||||
$i18n = new \i18n_PO($_FILES["LANGUAGE"]["tmp_name"]);
|
||||
$i18n->readInit();
|
||||
while ($rowTranslation = $i18n->getTranslation()) {
|
||||
array_push($translation, $rowTranslation);
|
||||
}
|
||||
$name = $_FILES["LANGUAGE"]["name"];
|
||||
$name = explode(".", $name);
|
||||
$content = $i18n->getHeaders();
|
||||
$content["File-Name"] = $_FILES["LANGUAGE"]["name"];
|
||||
$content["Labels"] = $translation;
|
||||
|
||||
$dynaForm = new \Dynaform();
|
||||
$arraydata = $dynaForm->Load($dynaFormUid);
|
||||
|
||||
if ($arraydata["DYN_LABEL"] !== null && $arraydata["DYN_LABEL"] !== "") {
|
||||
$dyn_labels = \G::json_decode($arraydata["DYN_LABEL"]);
|
||||
$dyn_labels->$name[count($name) - 2] = $content;
|
||||
} else {
|
||||
$dyn_labels = array();
|
||||
}
|
||||
|
||||
$arraydata["DYN_LABEL"] = \G::json_encode($dyn_labels);
|
||||
$dynaForm->update($arraydata);
|
||||
return $dyn_labels;
|
||||
} else {
|
||||
throw new \Exception(\G::LoadTranslation("ID_DYNAFORM_INCORRECT_FILE_NAME"));
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* list file .po
|
||||
*
|
||||
* @param string $projectUid Unique id of Project
|
||||
* @param string $dynaFormUid Unique id of DynaForm
|
||||
*
|
||||
* return
|
||||
*/
|
||||
public function listLanguage($projectUid, $dynaFormUid)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \Dynaform();
|
||||
$arraydata = $dynaForm->Load($dynaFormUid);
|
||||
|
||||
$dyn_labels = \G::json_decode($arraydata["DYN_LABEL"]);
|
||||
$list = array();
|
||||
foreach ($dyn_labels as $key => $value) {
|
||||
array_push($list, array(
|
||||
"Lang" => $key,
|
||||
"File-Name" => isset($value->{"File-Name"}) ? $value->{"File-Name"} : "",
|
||||
"Project-Id-Version" => isset($value->{"Project-Id-Version"}) ? $value->{"Project-Id-Version"} : "",
|
||||
"POT-Creation-Date" => isset($value->{"POT-Creation-Date"}) ? $value->{"POT-Creation-Date"} : "",
|
||||
"PO-Revision-Date" => isset($value->{"PO-Revision-Date"}) ? $value->{"PO-Revision-Date"} : "",
|
||||
"Last-Translator" => isset($value->{"Last-Translator"}) ? $value->{"Last-Translator"} : "",
|
||||
"Language-Team" => isset($value->{"Language-Team"}) ? $value->{"Language-Team"} : "",
|
||||
"MIME-Version" => isset($value->{"MIME-Version"}) ? $value->{"MIME-Version"} : "",
|
||||
"Content-Type" => isset($value->{"Content-Type"}) ? $value->{"Content-Type"} : "",
|
||||
"Content-Transfer_Encoding" => isset($value->{"Content-Transfer_Encoding"}) ? $value->{"Content-Transfer_Encoding"} : "",
|
||||
"X-Poedit-Language" => isset($value->{"X-Poedit-Language"}) ? $value->{"X-Poedit-Language"} : "",
|
||||
"X-Poedit-Country" => isset($value->{"X-Poedit-Country"}) ? $value->{"X-Poedit-Country"} : "",
|
||||
"X-Poedit-SourceCharset" => isset($value->{"X-Poedit-SourceCharset"}) ? $value->{"X-Poedit-SourceCharset"} : "",
|
||||
"Content-Transfer-Encoding" => isset($value->{"Content-Transfer-Encoding"}) ? $value->{"Content-Transfer-Encoding"} : ""
|
||||
));
|
||||
}
|
||||
return $list;
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* list file .po
|
||||
*
|
||||
* @param string $projectUid Unique id of Project
|
||||
* @param string $dynaFormUid Unique id of DynaForm
|
||||
*
|
||||
* return
|
||||
*/
|
||||
public function downloadLabels($projectUid, $dynaFormUid)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \Dynaform();
|
||||
$arraydata = $dynaForm->Load($dynaFormUid);
|
||||
$json = \G::json_decode($arraydata["DYN_CONTENT"]);
|
||||
$this->jsonr($json);
|
||||
$string = "";
|
||||
$string = $string . "msgid \"\"\n";
|
||||
$string = $string . "msgstr \"\"\n";
|
||||
$string = $string . "\"Project-Id-Version: PM 4.0.1\\n\"\n";
|
||||
$string = $string . "\"POT-Creation-Date: \\n\"\n";
|
||||
$string = $string . "\"PO-Revision-Date: 2010-12-02 11:44+0100 \\n\"\n";
|
||||
$string = $string . "\"Last-Translator: Colosa<colosa@colosa.com>\\n\"\n";
|
||||
$string = $string . "\"Language-Team: Colosa Developers Team <developers@colosa.com>\\n\"\n";
|
||||
$string = $string . "\"MIME-Version: 1.0\\n\"\n";
|
||||
$string = $string . "\"Content-Type: text/plain; charset=utf-8\\n\"\n";
|
||||
$string = $string . "\"Content-Transfer_Encoding: 8bit\\n\"\n";
|
||||
$string = $string . "\"X-Poedit-Language: English\\n\"\n";
|
||||
$string = $string . "\"X-Poedit-Country: United States\\n\"\n";
|
||||
$string = $string . "\"X-Poedit-SourceCharset: utf-8\\n\"\n";
|
||||
$string = $string . "\"Content-Transfer-Encoding: 8bit\\n\"\n\n";
|
||||
|
||||
$n = count($this->dyn_conten_labels);
|
||||
for ($i = 0; $i < $n; $i++) {
|
||||
$string = $string . "msgid \"" . $this->dyn_conten_labels[$i] . "\"\n";
|
||||
$string = $string . "msgstr \"" . $this->dyn_conten_labels[$i] . "\"\n\n";
|
||||
}
|
||||
return array("labels" => $string, "lang" => "en");
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
private $dyn_conten_labels = array();
|
||||
|
||||
/**
|
||||
* labels in dyn_content
|
||||
*
|
||||
* @param array $dyn_content
|
||||
*/
|
||||
private function jsonr(&$json)
|
||||
{
|
||||
foreach ($json as $key => $value) {
|
||||
$sw1 = is_array($value);
|
||||
$sw2 = is_object($value);
|
||||
if ($sw1 || $sw2) {
|
||||
$this->jsonr($value);
|
||||
}
|
||||
if (!$sw1 && !$sw2) {
|
||||
if ($key === "label") {
|
||||
$json->label;
|
||||
array_push($this->dyn_conten_labels, $json->label);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* delete labels
|
||||
*
|
||||
* @param string $projectUid Unique id of Project
|
||||
* @param string $dynaFormUid Unique id of DynaForm
|
||||
*
|
||||
* return
|
||||
*/
|
||||
public function deleteLanguage($projectUid, $dynaFormUid, $lang)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \Dynaform();
|
||||
$arraydata = $dynaForm->Load($dynaFormUid);
|
||||
|
||||
if ($arraydata["DYN_LABEL"] !== null && $arraydata["DYN_LABEL"] !== "") {
|
||||
$dyn_labels = \G::json_decode($arraydata["DYN_LABEL"]);
|
||||
unset($dyn_labels->{$lang});
|
||||
}
|
||||
|
||||
$arraydata["DYN_LABEL"] = \G::json_encode($dyn_labels);
|
||||
$dynaForm->update($arraydata);
|
||||
return;
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -616,10 +616,14 @@ class Cases extends Api
|
||||
public function doGetTaskCase($app_uid)
|
||||
{
|
||||
try {
|
||||
$userUid = $this->getUserId();
|
||||
$cases = new \ProcessMaker\BusinessModel\Cases();
|
||||
$oData = $cases->getTaskCase($app_uid, $userUid);
|
||||
return $oData;
|
||||
$case = new \ProcessMaker\BusinessModel\Cases();
|
||||
$case->setFormatFieldNameInUppercase(false);
|
||||
|
||||
$arrayData = $case->getTaskCase($app_uid, $this->getUserId());
|
||||
|
||||
$response = $arrayData;
|
||||
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
|
||||
@@ -112,5 +112,97 @@ class DynaForm extends Api
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:prj_uid/dynaform/:dyn_uid/download-language/:lang
|
||||
*
|
||||
* @param string $dyn_uid {@min 32}{@max 32}
|
||||
* @param string $prj_uid {@min 32}{@max 32}
|
||||
*/
|
||||
public function doGetDynaFormLanguage($dyn_uid, $prj_uid, $lang)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
|
||||
$dynaForm->setFormatFieldNameInUppercase(false);
|
||||
$response = $dynaForm->downloadLanguage($prj_uid, $dyn_uid, $lang);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url POST /:prj_uid/dynaform/:dyn_uid/upload-language
|
||||
*
|
||||
* @param string $dyn_uid {@min 32}{@max 32}
|
||||
* @param string $prj_uid {@min 32}{@max 32}
|
||||
*/
|
||||
public function doPostDynaFormLanguage($dyn_uid, $prj_uid)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
|
||||
$dynaForm->setFormatFieldNameInUppercase(false);
|
||||
$response = $dynaForm->uploadLanguage($prj_uid, $dyn_uid);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url POST /:prj_uid/dynaform/:dyn_uid/delete-language/:lang
|
||||
*
|
||||
* @param string $dyn_uid {@min 32}{@max 32}
|
||||
* @param string $prj_uid {@min 32}{@max 32}
|
||||
*/
|
||||
public function doDeleteDynaFormLanguage($dyn_uid, $prj_uid, $lang)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
|
||||
$dynaForm->setFormatFieldNameInUppercase(false);
|
||||
$response = $dynaForm->deleteLanguage($prj_uid, $dyn_uid, $lang);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:prj_uid/dynaform/:dyn_uid/list-language
|
||||
*
|
||||
* @param string $dyn_uid {@min 32}{@max 32}
|
||||
* @param string $prj_uid {@min 32}{@max 32}
|
||||
*/
|
||||
public function doGetListDynaFormLanguage($dyn_uid, $prj_uid)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
|
||||
$dynaForm->setFormatFieldNameInUppercase(false);
|
||||
$response = $dynaForm->listLanguage($prj_uid, $dyn_uid);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @url GET /:prj_uid/dynaform/:dyn_uid/download-labels
|
||||
*
|
||||
* @param string $dyn_uid {@min 32}{@max 32}
|
||||
* @param string $prj_uid {@min 32}{@max 32}
|
||||
*/
|
||||
public function doGetListDynaFormLabels($dyn_uid, $prj_uid)
|
||||
{
|
||||
try {
|
||||
$dynaForm = new \ProcessMaker\BusinessModel\DynaForm();
|
||||
$dynaForm->setFormatFieldNameInUppercase(false);
|
||||
$response = $dynaForm->downloadLabels($prj_uid, $dyn_uid);
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1227,7 +1227,7 @@ importProcess = function()
|
||||
handler : function(){
|
||||
var arrayMatch = [];
|
||||
|
||||
if ((arrayMatch = eval("/^.+\.(" + arrayPmFileExtension.join("|") + ")$/i").exec(Ext.getCmp("form-file").getValue()))) {
|
||||
if ((arrayMatch = eval("/^.+\.(" + arrayImportFileExtension.join("|") + ")$/i").exec(Ext.getCmp("form-file").getValue()))) {
|
||||
var fileExtension = arrayMatch[1];
|
||||
|
||||
switch (fileExtension) {
|
||||
|
||||
Reference in New Issue
Block a user