Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
abd28839
Commit
abd28839
authored
Dec 02, 2018
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
abd28839
...
...
@@ -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
dirtyR
ecordTimeoutSeconds in configuration_) for maximum lock time.
* Including a timeout (default 15 mins
r
ecord
Lock
TimeoutSeconds in configuration_) for maximum lock time.
* *advisory*: user is only warned, but allowed to overwrite.
* *none*: no bookkeeping about locks.
...
...
extension/qfq/qfq/QuickFormQuery.php
View file @
abd28839
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment