Commit abd28839 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: fixed wrong name 'recordLockTimeoutSeconds'. Reformat Code

parent f6a7616a
Pipeline #1081 passed with stage
in 1 minute and 52 seconds
......@@ -4280,7 +4280,7 @@ Support for record locking is given with mode:
* *exclusive*: user can't force a write.
* Including a timeout (default 15 mins dirtyRecordTimeoutSeconds in configuration_) for maximum lock time.
* Including a timeout (default 15 mins recordLockTimeoutSeconds in configuration_) for maximum lock time.
* *advisory*: user is only warned, but allowed to overwrite.
* *none*: no bookkeeping about locks.
......
......@@ -333,7 +333,7 @@ class QuickFormQuery {
private function doForm($formMode) {
$data = '';
$foundInStore = '';
$flagApiStructureReGroup=true;
$flagApiStructureReGroup = true;
// Fill STORE_FORM
if ($formMode === FORM_UPDATE || $formMode === FORM_SAVE) {
......@@ -396,7 +396,7 @@ class QuickFormQuery {
if ($this->store->getVar($this->formSpec[F_PRIMARY_KEY], STORE_BEFORE) === false) {
$this->store->fillStoreWithRecord($this->formSpec[F_TABLE_NAME], $recordId,
$this->dbArray[$this->dbIndexData], $this->formSpec[F_PRIMARY_KEY],STORE_BEFORE);
$this->dbArray[$this->dbIndexData], $this->formSpec[F_PRIMARY_KEY], STORE_BEFORE);
}
// Check (and release) dirtyRecord.
......@@ -549,7 +549,7 @@ class QuickFormQuery {
$dragAndDrop = new DragAndDrop($this->formSpec);
$data = $dragAndDrop->process();
$flagApiStructureReGroup=false;
$flagApiStructureReGroup = false;
$formAction->elements($recordId, $this->feSpecAction, FE_TYPE_AFTER_LOAD);
break;
......@@ -591,7 +591,7 @@ class QuickFormQuery {
$sessionId = session_id();
$sql = "INSERT INTO FormSubmitLog (formData, sipData, clientIp, feUser, userAgent, formId, recordId, pageId, sessionId, created)" .
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())";
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())";
$params = [$formData, $sipData, $clientIp, $feUser, $userAgent, $formId, $recordId, $pageId, $sessionId];
$this->dbArray[$this->dbIndexQfq]->sql($sql, ROW_REGULAR, $params);
}
......@@ -1414,7 +1414,7 @@ class QuickFormQuery {
$ttContentCode = Support::htmlEntityEncodeDecode(MODE_ENCODE, $bodytext);
$codeBoxAttributes = Support::doAttribute('style', "width:100%;") .
Support::doAttribute('id', "tt-content-code-$uid") .
Support::doAttribute('rows',20) .
Support::doAttribute('rows', 20) .
Support::doAttribute('name', REPORT_INLINE_BODYTEXT);
$codeBox = Support::wrapTag("<textarea $codeBoxAttributes>", $ttContentCode);
......@@ -1537,7 +1537,7 @@ class QuickFormQuery {
}
}
$dummyFormSpec= [
$dummyFormSpec = [
F_ORDER_INTERVAL => $this->store->getVar(FE_ORDER_INTERVAL, STORE_SIP . STORE_ZERO),
F_ORDER_COLUMN => $this->store->getVar(FE_ORDER_COLUMN, STORE_SIP . STORE_ZERO),
F_DRAG_AND_DROP_ORDER_SQL => $dndOrderSql,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment