- 29 May, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Save.php: Replace string 'tableName' through constant F_TABLE_NAME.
-
- 26 May, 2016 1 commit
-
-
Carsten Rose authored
Bug: SIP Parameter have been urlencoded before put, but not urldecoded after get. New: SIP Parameter will be URL decoded before put!. Before creating the SIP it's hard to determine if a parameter is a SIP or not. General: All 'href' attributes are not wrapped by Support::doAttribute(). Sip.php: urldecode. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: wrapped href in Support::doAttribute()
-
- 25 May, 2016 4 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
AbstractBuildForm.php: elements() generates no HTML for 'extra' anymore.
-
Carsten Rose authored
UsersManual/Index.rst: updated FillStoreManual.php, AbstractBuildForm.php: new constant FE_TYPE_EXTRA.
-
Carsten Rose authored
Store.php: typo. AbstractBuildForm.phhp: for all real form elements a fith't has been added: 'mode'.
-
- 18 May, 2016 3 commits
-
-
Carsten Rose authored
Link.php: fixed bug that '0' as parameter for a token was equal to 'take default'. Report.php: fixed two bugs with 'uninitialized variable' Sip.php: index.php replaced by a constant.
-
Carsten Rose authored
FillStoreForm.php, AbstractBuilForm.php, Support.php: replaced 'dateFormat' with 'FE_DATE_FORMAT' where appropriate. AbstractBuilForm.php: buildDateJQW in a first version.
-
Carsten Rose authored
FillStoreForm.php, AbstractBuilForm.php: rena,ed buildFormElementId() to buildFormElementName(), deleted: builddateJQW(), copied buildDateTime() to buildDateJQW - but not coded.
-
- 11 May, 2016 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: additional variable.
-
Carsten Rose authored
CODING.md: edited to be more clearly. AbstractBuildForm.php: doc Save.php: If there is no upload, do not save the filename again (which needs to be calculated instead of using the sip)
-
- 10 May, 2016 2 commits
-
-
Carsten Rose authored
FillStoreForm.php: fixed typo. AbstractBuildForm.php: fixed broken if statement. TestFormEditor.sql: extend formElement.modeSql.
-
Carsten Rose authored
Fixed a bug that Input fields are not rendered correctly the columntype are 'set' or 'enum'. Support.php: doAttribute() - attributes with type 'size' or 'maxlenght' and no value or value=0 are skipped and not created. AbstractBuild.php: a maxLenght formelement parameter needs to be numeric and (new) >0 to have an impact. Added calculation of maxlength for columntypes 'set' and 'enum': maxLengthSetEnum().
-
- 09 May, 2016 5 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
CheckBox Multi: checkboxes are now builded with uniq html names. This is necessary for the client, to assign values correctly to multiple checkboxes during form update by JSON data. HelperFormElement.php: new prependFormElementIdCheckBoxMulti() FillStoreForm.php: new collectCheckboxMultiValue(), process() recoded to collect checkBoxMulti values to one element. AbstractBuildForm.php: checkBoxMulti elements: a) no longer contains an '[]' at the end, b) get individual names
-
Carsten Rose authored
AbstractBuildForm.php: fixed broken JSON Object array
-
Carsten Rose authored
AbstractBuildForm.php: fixed 'checkbox' update (api/load.php) - raw values like 'yes', 'no', 'enabled', 'disabled' are not understandable by the client (delivered via JSON) and needs to be converted to true/false.
-
Carsten Rose authored
-
- 04 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 03 May, 2016 5 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Fixed rendering checkboxes: alignment of multicheckboxes was still buggy - multi in vertical and horizontal are ok now. The labels too. AbstractBuildForm.php, Constants.php: The checkbox is now only wrapped in a <label> element in ALIGN_VERTICAL Mode. This is identical to the radio.
-
Carsten Rose authored
Fixed rendering of ' checkbox'. formelement.parameter['orientation'] removed (replace by formelement.maxLength) UserManual/index.rst: Doc updated for checkbox/maxlength. AbstractBuildForm.php, Constants.php: class 'checkbox' and 'checkbox-inline' always rendered. Insert <br> where necessary.
-
Carsten Rose authored
AbstractBuildForm.php: Class 'radio' or 'radio-inline' assigned to each individual radio element. After formelement['maxlength'] elements, a <br> is rendered.
-
Carsten Rose authored
Recode: fromelement.mode='readonly' new implemented on client, by using CSS attribute 'disabled'. The HTML atrribute 'readonly' is fine for pure 'input' elements, but does not work sufficient for 'select', 'checkbox', 'radio'. Also, the label (left of input) and note (right of input) are now grayed out if set to 'disable'. FillStoreForm.php, Save.php: strings replaced by constants. New central function getfeMode() used by getJsonFeMode() and getAttributeFeMode()
-
- 02 May, 2016 1 commit
-
-
Carsten Rose authored
Support.php, FillStore.php, AbstractBuildFrom.php, BuildFormPlain.php, BuildFormTables.php, Constants.php, Save.php, BuildFormPlainTest.php
-
- 01 May, 2016 2 commits
-
-
Carsten Rose authored
Form/subrecord: implement special column name '_rowTitle' - shows tooltips over a row of subrecords. UsersManual/index.rst: manual updated AbstractBuildForm.php Constants.php: recoded handling of '_rowClass' to be more generic, especially to add '_rowTitle' support. formEditor.sql: Subrecords of the formEditor use _rowClass and _rowTitle.
-
Carsten Rose authored
AbstractBuildForm.php: Das Zeichen fuer Konstanten '#' war doppelt belegt. Es bedeutete auch Kommentar. Kommentare werden vor dem processing entfernt. Neu ist das Konstannten Zeichen '&'.
-
- 29 Apr, 2016 4 commits
-
-
Carsten Rose authored
Bootstrap grip columns are configurable. A default on the form and, if necessary, per formelement. The default is now changed from 2,6,4 to 2,9,1 UsersManual/index.rst: updated to the new behaviour. Support.php: setIfNotSet() has a new third parameter. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormPlain.php, QuickFormQuery.php: New abstract function fillWrapLabelInputNote().
-
Carsten Rose authored
-
Carsten Rose authored
UsersManual/index.rst: more details to 'Type: subrecord' AbstracctBuildForm.php: check if there are no subrecords. No subrecors mean: display only the 'new' button. prepareSubrecord() returns now 'true' even if there are no subrecords.
-
Carsten Rose authored
UsersManual/Index.rst: See 'Type: subrecord'. Some hints how to use '_rowClass' to mark rows individual. AbstractBuildForm.php: implement in buildSubrecord() parsing of column '_rowClass'. Active roll-over by assigning class 'table-hover' to the class. formEditor.sql: disabled form element records now 'text-muted' displayed.
-
- 27 Apr, 2016 1 commit
-
-
Carsten Rose authored
Store.php: fills arrays direct in $_SESSION - not sure if this works. AbstractBuildForm.php: buildFile() extended to create hidden sipUplaod element. BuildFormBootstrap.php: support different actions on calling file.php File.php, Save.php: rewrote whole logic of uploading files. See CODING.md
-
- 26 Apr, 2016 3 commits
-
-
Carsten Rose authored
file.php: API described. Store.php: Fixed STORE_EXTRA initialization bug AbstractBuildForm.php: code rearranged. Constants.php: UPLOAD added
-
Carsten Rose authored
-
Carsten Rose authored
Sanitize.php, Constants.php: allbut implemented. Support.php: Date regexp corrected to accept years 0001-1000. AbstractBuildForm.php: Code reformatted
-
- 25 Apr, 2016 2 commits
-
-
Carsten Rose authored
Support.php: PhpDoc AbstractBuildForm.php: extended buildRow* with parameter htmlFormElementId. buildLabel rewritten to use Support::doAttribute, Support::wrapTag. buildInput/buildDateTim,buildSelect() now add's class 'form-control'. Input fields now offers a 'help-block'-div BuildFormBootstrap, BuildFormPlain.php, BuildFormTable.php: buildRowNative rewritten to support <label>. Signature of BuildRow* adjusted
-
Carsten Rose authored
AdministratorManual/index.rst, UsersManual/index.rst: Configuration & Documentation. Sanitize.php: code rewrote to use Support::dateTime2mysql(). Support.php: add dateTimeTegexp() FillStoreForm.php: use of Support::setFeDefaults($formElement). Format date/datetime/time values Store.php: redefined various functions to be 'static' AbstractBuildForm.php, Constants.php: added date/datetime/time to tables. Various new functions. Save.php: FE die nicht uebertragen wurden (typsicherweise weil leer) werden neu mit eimem leer String gesschrieben - sonst ist es nicht moeglich Eingaben wieder zu loeschen. formEditor.sql: Felder date/datetime/time neun implementiert.
-
- 19 Apr, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: fixed bug that under some situations there is no STORE_RECORD and this leads to an exception of undefiend Radios. Instead use STORE_TABLE_COLUMN_TYPES.
-
- 18 Apr, 2016 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: check if there is a column with the formElementName.
-
Carsten Rose authored
AbstractBuildForm.php: various form elements missed the 'title' attribute (used as tooltip). Fixed. 'Radio', 'Multi Checkbox' and 'Multi Select' only have one tooltip for all elements. This might be improved later.
-