- May 03, 2016
-
-
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
-
Carsten Rose authored
-
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()
-
- May 02, 2016
-
-
Carsten Rose authored
Formelement.mode='lock': removed, cause it seems that there is no difference to 'readonly'. Inside the code, there is no difference UserManual/Index.rst: doc updated FillStoreForm.php, Save.php: same functionality like FE_MODE_READONLY - removed. formEditor.sql: definition updated
-
Carsten Rose authored
Support.php, FillStore.php, AbstractBuildFrom.php, BuildFormPlain.php, BuildFormTables.php, Constants.php, Save.php, BuildFormPlainTest.php
-
- May 01, 2016
-
-
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
index.rst: updated - '&' is the new symbol to indicate constants. QuickFormQuery.php: changed the defaults for Bootstrap forms again - look nicer on UZH CD Layout. *.sql: Colorized subrecords for FormElements, ord will automatically computed, work on example forms (not finished)
-
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 '&'.
-
- Apr 29, 2016
-
-
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.
-
- Apr 28, 2016
-
-
Carsten Rose authored
Report.php, Database.php: triggerReport() supports stat[] with num_rows, affected_rows and insert_id. rowTotal does not contain anymore inserId (last_insert_id) from fired INSERT queries. Instead num_rows or affected_rows are choosen. New: <level>.line.inserId contains the insertId.
-
Carsten Rose authored
Parsing of the bodytext failed for single curly braces inside. BodyTestParser.php: After cleaning the bodytext all nesting curly braces will be replaced by complex token. stripAndRemoveComment() renamed to trimAndRemoveCommentAndEmptyLine(). process() throws an exception in case of unmatched open curly braces. New encryptNestingDelimeter() / decryptNestingDelimeter(). Remove handling for escaped curly braces in unNest() - this should not be necessary anymore.
-
Carsten Rose authored
-
Carsten Rose authored
-
- Apr 27, 2016
-
-
Carsten Rose authored
Sanitize.php: new sanitize class ALLBUT. New function safeFilename(). Support.php: New function mkDirParent(). Store.php: new system config variable SYSTEM_SITE_PATH. QuickFormQuery.php: fills STORE_RECORD before saving the current record. Save.php: moving the file to the final destination.
-
Carsten Rose authored
-
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
-
- Apr 26, 2016
-
-
Carsten Rose authored
-
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
-
Carsten Rose authored
file.php: created Store.php: New store 'STORE_EXTRA' implemented. BuildFormBootstrap: call to file.php implemented.
-
- Apr 25, 2016
-
-
Carsten Rose authored
-
Carsten Rose authored
FillStoreForm.php: added HelperFormElement::explodeParameterInArrayElements($feSpecNative);
-
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
-
Carsten Rose authored
-
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.
-
- Apr 21, 2016
-
-
Carsten Rose authored
-
- Apr 19, 2016
-
-
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.
-
Carsten Rose authored
-
- Apr 18, 2016
-
-
Carsten Rose authored
-
Carsten Rose authored
Database.php: sql(..., ROW_IMPLODE_ALL,...) have been confused by columns with identical columnnames (MYSQLI_ASSOC). Has been fixed now by using MYSQLI_NUM.
-
Carsten Rose authored
FillStoreForm.php: SIP Parameter without a corresponding FE have not been saved in the record: fixed
-
Carsten Rose authored
AbstractBuildForm.php: check if there is a column with the formElementName.
-