- 01 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 28 Feb, 2017 1 commit
-
-
Carsten Rose authored
Implemented for Checkbox. Index.rst, AbstractBuildForm.php: split buildCheckbox() in constructCheckbox(Simple|Multi)Plain() and constructCheckbox(Simple|Multi)Button. AbstractBuildForm.php, OnArray.php: new function removeEmptyElementsFromArray(). Replace old check of isset() (which seems never have been worked) against ==''.
-
- 27 Feb, 2017 4 commits
-
-
Carsten Rose authored
Implemented for Radios. Checkbox is still open. Index.rst, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: split buildRadio() in constructRadioPlain() and constructRadioButton. After several tries to make a base function for both construct variants, CR decided that the code is much more easier to read with to complete separate layout functions. AbstractBuildForm.php: Notes of input elements as well as the text of a 'Note' FormElement are now wrapped in the class 'qfq-note' - this aligns the text to the label baseline.
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
- 26 Feb, 2017 1 commit
-
-
Carsten Rose authored
Link.php: add some doc.
-
- 24 Feb, 2017 4 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
UserManual/Index.rst: Add doc for htmlAfter, htmlBefore
-
Carsten Rose authored
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 '#'
-
- 23 Feb, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: templateGroup / row with the 'add' button , will be wrapped with the bs*Columns as defined in the FormElement templateGroup.
-
Carsten Rose authored
-
- 22 Feb, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 20 Feb, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
AdministratorManual/Index.rst: extend sphinx setup doc, fix typo UserManual/Index.rst: add doc for templateGroup FillStore.php: Implement save for templateGroup
-
- 17 Feb, 2017 5 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
BuildFormBootstrap.php, Store.php: conig.qfq.ini extended to hold new parameter, save button will be build with new attribute.
-
Carsten Rose authored
AbstractBuildForm.php: #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
-
- 15 Feb, 2017 2 commits
-
-
Carsten Rose authored
formEditor.sql: The defintion as 'editor' (not text) for FormElement 'note' has been lost - reinsert in formEditor.sql.
-
Carsten Rose authored
AbstractBuildForm.php: fixed bug with uninitialized FE_SLAVE_ID
-
- 14 Feb, 2017 2 commits
-
-
Carsten Rose authored
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. Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD. Evaluate.php: moved 'decryptCurlyBraces()' up, in order to create better error messages. Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
-
Carsten Rose authored
Index.rst: fixed wrong STORE_FORM variable names, update to latest uplaod '_filename_<FE_NAME>' notation.
-
- 13 Feb, 2017 1 commit
-
-
Carsten Rose authored
- fix problem when more than one file uploaded - there was only one variable {{_filename}}, which was not sufficient for more than one upload element per form. New: {{_filename_<FE_NAME>:FE:allbut}}. - implemented {{_deleted_<FE_NAME>:F0}}: if exist and is '1', than this means that the previous uploaded file has been trashed through the user by clicking on the trash. Index.rst: update doc. Some more notes are needed. See one of the upcomming commits. Constants.php: Renamed CLIENT_UPLOAD_FILENAME and created CLIENT_FILE_DELETED. Save.php: Set var CLIENT_FILE_DELETED and use renamed CLIENT_UPLOAD_FILENAME.
-
- 12 Feb, 2017 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
AdminstratorManual/Index.rst: Update config.qfq.ini description to new parameter 'class'. Remove 'DB_NAME_TEST' cause that is only interesting to PHP Unit Tests and not to enduser. UserManual/Index.rst: Update STORE_SYSTEM description of known variables. Store.php, QuickFormQuery.php: Refactor building STORE_SYSTEM. Make it more generic if new parameters are introduced. Setting up new config.qfq.ini built in defaults and form defaults at one place. Renaming of parameter names in config.qfq.ini to STORE_SYSTEM at one place implemented with an extensible array. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: User constant F_CLASS in $this->formSpec['class'] config.qfq.example.ini: comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY, not UNDEFINED.
-
- 10 Feb, 2017 1 commit
-
-
Carsten Rose authored
Add FORM_BS_LABEL_COLUMNS, FORM_BS_INPUT_COLUMNS, FORM_BS_NOTE_COLUMNS to config.qfq.ini. AdministratorManual/Index.rst: added notes to install php-intl, new config.qfq.ini parameter (see above). UserManual/index.rst: Fix wrong store name SYSTEM: S > Y. Add new config.qfq.ini parameter (see above). Store.php: new general function to translate upper case config prameter names to to camel hook FormElement names. Split function fillSystemStore(). Add function normalizeArray(). Constants.php: add new error, renumber error codes 1056-1073. Introduce new config.qfq.ini parameter SYSTEM_FORM_BS_* QuickFormQuery.php: Use of new bs*Column values defined in config.qfq.inc (not hardcoded here anymore)
-
- 09 Feb, 2017 4 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
Carsten Rose authored
-
- 08 Feb, 2017 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
FormAction.php, Report.php, Sendmail.php, Index.rst: By default all QFQ send mails contains now 'auto-submit'.
-
Carsten Rose authored
-
- 07 Feb, 2017 1 commit
-
-
Carsten Rose authored
Added validator.js attributes 'data-pattern-error', 'data-rquired-error', 'data-match-error', 'data-error' to be specified in config.qfq.ini, Form or FormElement. Detailed setting will overwrite generic setting. If none is specified, take validator.js defaults. HelperFormElement.php, AbstractBuildForm.php, Constants.php, QuickFormQuery.php.
-
- 06 Feb, 2017 1 commit
-
-
Carsten Rose authored
Index.rst: Update documentation foer 'retype=1', "email, password retype input with client side equal check". Additional notes for table classes.
-