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
181a9c94
Commit
181a9c94
authored
Jul 07, 2018
by
Carsten Rose
Browse files
Merge branch '5878-form-report-improvements'
# Conflicts: # extension/qfq/qfq/AbstractBuildForm.php
parents
90111184
3b1404f6
Changes
2
Show whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
181a9c94
...
...
@@ -2514,7 +2514,8 @@ Fields:
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Maxlength | string |Maximum characters for input. _`field-maxLength` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Note | string |Note of *FormElement*. Depending on layout model, right or below of the *FormElement*. _`field-note` |
|Note | string |Note of *FormElement*. Depending on layout model, right or below of the *FormElement*. |
| | |Report syntax can also be used, see _`report-notation` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Tooltip | text |Display this text as tooltip on mouse over. _`field-tooltip` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
...
...
@@ -2550,6 +2551,10 @@ to edit, on the same form, a corresponding person email address (which is in a s
{{SELECT a.email FROM Address AS a WHERE a.pId={{id:R0}} ORDER BY a.id LIMIT 1}}
Report syntax can also be used, see _`report-notation`.
.. _`report-notation`:
FE: 'Report' notation
^^^^^^^^^^^^^^^^^^^^^
...
...
extension/qfq/qfq/AbstractBuildForm.php
View file @
181a9c94
...
...
@@ -493,7 +493,6 @@ abstract class AbstractBuildForm {
* @return array|string
* @throws CodeException
* @throws DbException
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws DownloadException
...
...
@@ -511,7 +510,8 @@ abstract class AbstractBuildForm {
return
$new
;
}
if
(
substr
(
$value
,
0
,
strlen
(
SHEBANG_REPORT
))
==
SHEBANG_REPORT
)
{
$value
=
trim
(
$value
);
if
(
substr
(
$value
,
0
,
8
)
==
SHEBANG_REPORT
)
{
if
(
$this
->
report
===
null
)
{
$this
->
report
=
new
Report
(
array
(),
$this
->
evaluate
,
false
);
}
...
...
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