Commit 0e67cd5e authored by Carsten  Rose's avatar Carsten Rose
Browse files


parent 18682144
......@@ -3232,11 +3232,11 @@ missing definition means 'take the default'. E.g.:
| note | Bitte alle Vornamen erfassen |
| languageParameterA | |title=Firstname |
| | |note=Please give all firstnames |
| languageParameterA | | title=Firstname |
| | | note=Please give all firstnames |
| languageParameterB | |title=Persona de entrada |
| | |note=Por favor, introduzca todos los nombres |
| languageParameterB | | title=Persona de entrada |
| | | note=Por favor, introduzca todos los nombres |
......@@ -2539,9 +2539,9 @@ abstract class AbstractBuildForm {
$arr = explode('|', $columnValue);
if (count($arr) == 1)
if (count($arr) == 1) {
$arr[1] = $arr[0];
// $cell = isset($control['nostrip'][$columnName]) ? $columnValue : strip_tags($columnValue);
if (isset($control['nostrip'][$columnName])) {
$cell = $columnValue;
......@@ -1395,6 +1395,23 @@ EOF;
return $vars;
* Called by $this->callTable
* @param $vars
* @param $value
* @return array
private function buildFile($vars, $value) {
// Don't know what to do for file - seems to missing.
// $vars[NAME_GLYPH] = 'glyphicon ' . $value;
// $vars[NAME_GLYPH_TITLE] = "Details";
return $vars;
* Create a ToolTip: $toolTip[0] and $toolTip[1] have to inserted in HTML code accordingly.
* $vars[NAME_TOOL_TIP_JS][0]: JS to show '$toolTip[1]'.
Form.parameter & FormElement.parameter: Lines starting with '#' are treated as comments and will not be parsed.
Evaluate.php: parseArray() will skip lines starting with a '#'
AbstractBuildForm.php: templateGroup / row with the 'add' button , will be wrapped with the bs*Columns as defined in the FormElement templateGroup.
FillStoreForm.php: fixed problem with checkBoxes in templateGroups. During fillStoreForm the template group has been expanded to all possible elements - the logic for checkboxes expected that at least the '_h_<fe name>' Post Variable exist - which is not true for unexpanded elements.
index.rst: description for bsLabelColumn, bsInputColumn, bsNoteColumn
index.rst: styling errors fixed.
index.rst: reformat FormElement.parameter.
templateGroup: fixed problem with missing <div class='qfq-line'> around each copy of prefilled templateGroup.
AbstractBuildForm.php: pattern '%d' will be replaced by number of copy in FormElement 'label' and 'note'. Recode Logic to wrap templateGroup copies.
templateGroup values load until no further values exist
Load templateGroup values during form load.
AbstractBuildForm.php: implemented function templateGroupCollectFilledElements(). Add function.
FE_DYNAMIC_UPDATE: replaced explicit string against constant.
Save templateGroup.
AdministratorManual/Index.rst: extend sphinx setup doc, fix typo
UserManual/Index.rst: add doc for templateGroup
FillStore.php: Implement save for templateGroup
Merge remote-tracking branch 'origin/crose_work' into crose_work
index.rst: Form Layout
StoreTest.php: fixed phpunit problem with new config.qfq.ini
Merge remote-tracking branch 'origin/raos_work' into crose_work
#3232 Button individuelle 'on-change' Farbe definieren
BuildFormBootstrap.php, Store.php: conig.qfq.ini extended to hold new parameter, save button will be build with new attribute.
Respect attribute `data-class-on-change` on save buttons.
Index.rst: started to document form layout options
#3224, #3231 Html Tag <hr> als FormElement. >> htmlBefore | htmlAfter, FormElement.parameter = htmlBefore|htmlAfter implemented.
#3230 templateGroup: Abstaende zwischen Elementen. 'tgClass' implemented
BuildFormPlain.php: code restructured
Support.php: doAttribute() - Add feature to submit param arrays
TemplateGroup: implemented tags 'tgAddClass', 'tgAdd Text', 'tgRemoveClass', 'tgRemovceText'
AbstractBuildForm.php: see title
Merge remote-tracking branch 'origin/raos_work' into crose_work
Set template data on existing lines in order to enable renumbering.
AdminstratorManual/Index.rst: add description page.meta...
Fix off-by-one on max children constraint.
Merge remote-tracking branch 'origin/raos_work' into crose_work
Start numbering at 1 instead 0.
FieldTemplate.js: replace `%d` in `<label>` text when no children are present.
TestFormEditor.sql updated, played.
Wrap Row & Input Elements: specify 'row,/row' and bs*columns to 0 or bigger will enable/disable mutliple Elements per Row. FormElement.parameter.wrap* still have precedence over bs*Column settings.
Support.php, AbstractBuildForm.php: Recode way of initializing FormElements.
AbstractBuildForm.php: parameter to limit max number ob templateGrouup Elements.
BuildFormBootstrap.php: Labels will be hided if FormElement.bsLabelColumns=0.
BuildFormPlainTest.php: Fixed missing 'hidden'
AbstractBuildForm.php: #3066 / help-text with-error - Klasse 'hidden' wird nun gerendert und ausgeliefert.
Add 'templateGroup' as a new 'container' option. Beschreibung in Deutsch wie die Formularelemente , rekursiv, gerendert werden.
AbstractBuildForm.php: new function buildTemplateGroup()
BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php: Preparation for new optional TemplateGroup wrap.
QuickFormQuery.php: update comments.
formEditor.sql: column 'type' definition extended - new 'templateGroup' enum. FormElement 'type' updated to new container element 'templateGroup'
Do not use deprecated functions.
Introduced more suitable function names. Deprecated old function names. Documented public functions.
Index.rst: Add globalize.js to be included. Needed by jqx-all.js - *UPDATE EXUSTING TypoScript TEMPLATES of QFQ Installation* !!!
Implemented for FormElement: wrapRow, wrapLabel, wrapInput, wrapNote
FormElement.rowLabelInputNote are not respected anymore.
AbstractBuildForm.php: cleanup
BuildFormBootsrap.php: new function customWrap()
Constants.php: new wrapRow, wrapLabel, wrapInput, wrapNote
formEditor.sql: add new column 'rowLabelInputNote'
UPDATE `FormElement` SET rowLabelInputNote = 'row,label,/label,input,/input,note,/note,/row'
Merge remote-tracking branch 'origin/raos_work' into crose_work
Re-expand placeholders upon removal of line.
Retain placeholders when expanding template. This allows for re-expand.
Index.rst: Add a comment in FAQ.
formEditor.sql: The defintion as 'editor' (not text) for FormElement 'note' has been lost - reinsert in formEditor.sql.
Merge remote-tracking branch 'origin/crose_work' into raos_work
Expand Field Templates. QfqNS.addFields() requires now requires maximum lines argument.
Field Templates scaffold.
Index.rst: documented 3 examples for upload forms.
AbstractBuildForm.php: fixed bug with uninitialized FE_SLAVE_ID small updates in upload part
Support.php, AbstractBuildForm.php: new function falseemptyToZero().
Constants.php: New UPLOAD_MODE_*
Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray()
Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
'Upload advanced mode' implementiert. V2 (kein FormElement Action 'afterSave' mehr noetig)
Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben.
Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben.
STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'.
Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter'
Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben.
FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente.
HelperFormElement.php: new class initActionFormElement(), initUploadFormElement().
FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load.
- User Input will be UTF8 normalized.
* Install 'php5-intl' or 'php7.0-intl' on Webserver.
- formEditor.sql: Added HTML 'placeholder' in FormEditor for bs*Columns.
* Play 'formEditor.sql'.
- User input will be UTF8 normalized
- config.qfq-ini:
- Comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY (=parameter is set and will not be overwritten by internal default), not UNDEFINED (overwritten by internal default).
- FileUpload: Implemented new Formelement.parameter: fileReplace=always - will replace existing files.
- Multiple / Advanced Upload: new logic implements slaveId, sqlInsert, sqlUpdate, sqlDelete.
- FormElement.parameter: sqlBefore / sqlAfter fired during Form save.
- Index.rst:
- Fixed double include of validator.js in T3 Typoscript template example.
- Fix wrong store name SYSTEM: S > Y
- Update 'file-upload' doc.
- Fixed wrong STORE_FORM variable names.
- Use of 'decryptCurlyBraces()' to get better error messages.
- formEditor.sql: fixed problem while playing SQL query - deleting old FormElements of Formeditor deletes also FormElements of other forms.
New tag 0.11.0
<!-- CONTENT ELEMENT, uid:42/qfq_qfq [begin] -->
<div id="c42"><h1>BROKEN data!!!!!</h1>
<div style="height: 1024px; width: 640px;"><h3>Number requests per Institute</h3>
<canvas id="barchart" width="1240" height="640"></canvas>
<script src="typo3conf/ext/qfq/Resources/Public/JavaScript/Chart.min.js"></script>
<script> $(function () {
var ctx = document.getElementById("barchart");
var barChart = new Chart(ctx, {
type: 'horizontalBar',
data: {
labels: ['Theologische Fakultät', 'Rechtswissenschaftliche Fakultät', 'Wirtschaftwissenschaftliche Fakultät', 'Medizinische Fakultät', 'Vetsuisse-Fakultät', 'Philosophische Fakultät', 'Mathematisch-naturwissenschaftliche Fakultät'],
datasets: [{
data: ['3', '1', '12', '12', '1', '16', '10'],
backgroundColor: ['rgba(255, 99, 132, 1)', 'rgba(54, 162, 235, 1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', 'rgba(153, 102, 255, 1)', 'rgba(255, 159, 64, 1)', 'rgba(0, 255, 0, 1)'],
label: "Requests"
}); </script>
\ No newline at end of file
Markdown is supported
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