Skip to content
GitLab
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
ae6999ff
Commit
ae6999ff
authored
Jan 30, 2018
by
Carsten Rose
Browse files
Fabric 'dirty' - work in progress
parent
7f1e4e84
Changes
5
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
ae6999ff
...
...
@@ -3365,7 +3365,6 @@ Parameter: sqlValidate
* *messageFail* - Message to show. E.g.: *messageFail* = `There is already a person called {{firstname:F:all}} {{name:F:all}}`
.. _slave-id:
Parameter: slaveId
...
...
extension/qfq/qfq/AbstractBuildForm.php
View file @
ae6999ff
...
...
@@ -180,7 +180,6 @@ abstract class AbstractBuildForm {
$htmlSubrecords
=
''
;
$htmlElements
=
''
;
$json
=
array
();
$flagFabric
=
false
;
// After action 'afterSave', it's necessary to reinitialize the FeSpecNative
if
(
!
empty
(
$latestFeSpecNative
))
{
...
...
@@ -198,11 +197,6 @@ abstract class AbstractBuildForm {
// <form>
if
(
$mode
===
FORM_LOAD
)
{
$htmlHead
=
$this
->
head
();
if
((
count
(
OnArray
::
filter
(
$this
->
feSpecNative
,
FE_TYPE
,
FE_TYPE_ANNOTATE
))
>
0
)
||
(
count
(
OnArray
::
filter
(
$this
->
feSpecNative
,
FE_TYPE
,
FE_TYPE_IMAGE_CUT
))
>
0
)
)
{
$flagFabric
=
true
;
}
}
$filter
=
$this
->
getProcessFilter
();
...
...
@@ -234,7 +228,7 @@ abstract class AbstractBuildForm {
// <form>
if
(
$mode
===
FORM_LOAD
)
{
$htmlT3vars
=
$this
->
prepareT3VarsForSave
();
$htmlTail
=
$this
->
tail
(
$flagFabric
);
$htmlTail
=
$this
->
tail
();
$htmlSubrecords
=
$this
->
doSubrecords
();
}
$htmlHidden
=
$this
->
buildAdditionalFormElements
();
...
...
@@ -805,7 +799,7 @@ abstract class AbstractBuildForm {
/**
*
*/
abstract
public
function
tail
(
$flagFabric
=
false
);
abstract
public
function
tail
();
/**
*
...
...
extension/qfq/qfq/BuildFormBootstrap.php
View file @
ae6999ff
...
...
@@ -512,7 +512,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
/**
* @return string
*/
public
function
tail
(
$flagFabric
=
false
)
{
public
function
tail
()
{
$html
=
''
;
$deleteUrl
=
''
;
...
...
@@ -554,8 +554,6 @@ class BuildFormBootstrap extends AbstractBuildForm {
$dirtyAction
=
(
$this
->
formSpec
[
F_DIRTY_MODE
]
==
DIRTY_MODE_NONE
)
?
''
:
"dirtyUrl: '
$apiDir
/dirty.php',"
;
$fabricJs
=
$flagFabric
?
'var qfqFabric = new QfqNS.Fabric(); qfqFabric.initialize($(".'
.
FABRIC_CSS_CLASS
.
'"));'
:
''
;
$html
.
=
'</form>'
;
// <form class="form-horizontal" ...
$html
.
=
<<<EOF
<script type="text/javascript">
...
...
@@ -575,8 +573,6 @@ class BuildFormBootstrap extends AbstractBuildForm {
});
var qfqRecordList = new QfqNS.QfqRecordList('$apiDeletePhp');
$fabricJs
})
</script>
EOF;
...
...
extension/qfq/qfq/BuildFormPlain.php
View file @
ae6999ff
...
...
@@ -96,7 +96,7 @@ class BuildFormPlain extends AbstractBuildForm {
/**
* @return string
*/
public
function
tail
(
$flagFabric
=
false
)
{
public
function
tail
()
{
$html
=
''
;
// $html .= $this->buildNewSip();
...
...
extension/qfq/qfq/BuildFormTable.php
View file @
ae6999ff
...
...
@@ -130,7 +130,7 @@ class BuildFormTable extends AbstractBuildForm {
/**
* @return string
*/
public
function
tail
(
$flagFabric
=
false
)
{
public
function
tail
()
{
$html
=
''
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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