Ralf Becker
ec1cf301b2
added input-validation:
...
- needed (= not to be empty) fields are enforced now
- min and max values and format of int and float fields
- validator for text-fields (perl regular expression)
The input-validation is handled completly withing eTemplate, the application dont need to implement any code, just set the right attributes in the template. Validation-errors are displayed in red behind the concerning field, try the template 'etemplate.validation-test' in the editor.
2004-04-05 01:33:23 +00:00
Ralf Becker
d29ea406c2
fixed not translated help-messages if no_lang was checked
2004-03-24 01:20:00 +00:00
Ralf Becker
345db0ee59
use new progressbar for image/buttons with names like xx%
2004-02-29 09:55:48 +00:00
Ralf Becker
3b5d09927e
added htmlarea
2004-02-28 22:41:32 +00:00
Ralf Becker
1e1fa5f457
new parameter to label-widget, to activate the links
2004-02-26 15:33:33 +00:00
Ralf Becker
cb7fa13a6f
1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
...
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
Ralf Becker
a60285870b
1) preserving app_header if widget loops / reloads
...
2) size or options field gets now expaned, one can use eg "$row_content[blah]" in it
3) killed a warning in handling of readonly
2004-02-05 13:31:54 +00:00
reinerj
b01bf986dc
change files from phpgw to egw
2004-01-27 16:58:19 +00:00
Ralf Becker
b05fc623e2
some fixes for the improved nextmatch
2003-12-10 01:21:31 +00:00
Ralf Becker
2b7b9e388f
sort- and filter-headers for the nextmatch widget
2003-12-09 00:03:41 +00:00
Ralf Becker
e6fdb028ab
fix for file-upload off (in php.ini)
2003-12-02 08:02:31 +00:00
Ralf Becker
554a3e93bb
- fixed problem with auto-repeated rows not working everytime
...
- allow for first name-parts for select-options
2003-10-26 19:26:58 +00:00
Ralf Becker
ee7ec2bcd3
moved the html-class to the API
2003-09-14 10:25:05 +00:00
Ralf Becker
9c19f4d33c
fix to work with version 0.9.99
2003-09-13 21:07:27 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Ralf Becker
940249850e
added the jsCalendar to the date_widget
2003-08-18 23:15:59 +00:00
Ralf Becker
aa22cef37d
added parameter to exec to return the html, used for hook_home
2003-07-06 20:07:19 +00:00
Ralf Becker
db98ed31a1
replaced htmlentities with htmlspecialchars
2003-07-06 11:01:40 +00:00
Ralf Becker
7073ae95c2
nextmatch_widget:
...
- 2 header-templates left and right from the range-display
- optional nextmatch-line with arrows, search, cats, ... after the rows
link_widget:
- new sub-type link-string
Updateted the documenations and lang-files.
2003-06-29 17:00:05 +00:00
Ralf Becker
17ea20cbcc
some htmlentities against XSS
2003-06-26 19:16:12 +00:00
Ralf Becker
2f282b71ca
update for calling the footer for .16
2003-04-27 23:21:27 +00:00
Ralf Becker
fbebdd7bcc
use new facility to include java_script in the html head-tag
2003-04-21 08:43:20 +00:00
Ralf Becker
38c7e3d145
fix for the date-widget of the today button and javascript
2003-04-13 21:47:03 +00:00
Ralf Becker
3e73fa66d8
added time and date+time to date_widget and select-number to select_widget
2003-04-13 19:14:50 +00:00
Ralf Becker
fe64fbbb17
enabled translation of the title-tag of images as submit-buttons
2003-02-22 15:03:27 +00:00
Ralf Becker
7d836e4c53
some docu updates and cleaned up some debug-code
2003-02-22 12:29:04 +00:00
Ralf Becker
498ef1b870
changed behavior of no_lang on extra labels (labels in front of input-fields, not buttons), the get now always translated if they are longer than 1 char and do not contain variable content (via @ or $)
2002-10-29 00:52:59 +00:00
Ralf Becker
b7dfc2ef9d
etemplates send its output now for HEAD through the xslt-framework
2002-10-26 18:45:37 +00:00
Ralf Becker
466c33e3b0
Got fileattachments working as links:
...
- link-widget and infolog/link-class can attach files now
- changed the value of the file-widget (it's an array now)
2002-10-20 15:06:52 +00:00
Ralf Becker
95f9ac8504
fix to distinguish between entities (eg. ü) and accesskeys lik &Delete
2002-10-18 21:33:39 +00:00
Ralf Becker
6e17b96dd9
some fixes to get the links working in case the entry is not yet created
2002-10-18 20:20:35 +00:00
Ralf Becker
d63e2607f8
some fixed to enable infolog with etemplates to run in 0.9.14
2002-10-17 23:34:28 +00:00
Ralf Becker
0666aebaba
made more attributes loadable from the content-array
2002-10-17 22:10:12 +00:00
Ralf Becker
bf9c214c49
added support for hooks written with etemplates
2002-10-16 00:19:36 +00:00
Ralf Becker
e7048b5fb5
lots of fixes and additions:
...
- load_via works now in boetemplate::read
- included templates are relative to the includeing tpl, if they contain no '.'
- xul_io is alway writing the comple/absolute name
- HBox gets width=100% if alignment other then left set (new!)
- added links as 2. option to label
- added header function to uietemplate
2002-10-14 00:39:47 +00:00
Ralf Becker
61aa0d4c58
set post_process for an extension only if the extension has a post_process funktion, else it might overwright the normal post_process
2002-10-12 22:37:29 +00:00
Ralf Becker
ec1ffc81be
Many new stuff for the eTemplates:
...
- added vbox and hbox support: container to put widgets in one row or column
- complete rows and column can now be disabled (even with a simple comparison with a variable in content, eg. disabled if the var is empty)
- labels and helptexts from tpls with 'test' in there name, get no longer written to the lang-file
- update the documentation
2002-10-12 16:37:44 +00:00
Ralf Becker
a3aaf60ede
implemented possibility to disable rows and cols,
...
disabling can depend on a value of $content
2002-10-10 11:29:36 +00:00
Ralf Becker
0a02c90ac7
made labels with accesskey work
...
changed name for html-widget from raw to html
fixed some error/warnings
2002-10-09 00:31:01 +00:00
Ralf Becker
3adb76644e
added TITLE to link around img as submit-button
2002-10-08 00:08:40 +00:00
Ralf Becker
0bcaa1b8b3
- load translations for etemplate too, if called from other app
...
- added phpgw_footer for stable
- some checks for sel_options
2002-10-06 00:20:32 +00:00
Ralf Becker
2c021a3be1
small fix to get $sel_options for the last name
2002-10-04 23:15:46 +00:00
Ralf Becker
912566fdec
removed all eval to get a slight better performance
2002-10-03 23:47:14 +00:00
Ralf Becker
d59e5aaebc
added extra-row for single-line selectbox in options and ability to have select-options set by an extension and by $sel_options or $content["options-$name"
...
changed names of theme-css-styles to be compatible with ceb's changes, html::themeStyles is used for 0.9.14
2002-10-03 16:52:42 +00:00
Ralf Becker
53da587f5b
put all pre-defined select-boxes in an extension, dont need sbox-class any more
2002-10-02 00:44:33 +00:00
Ralf Becker
290ba0b094
completly rewritten uietemplate::process_show to not longer need to work recursively and be able to do input-checks later on
2002-10-01 18:26:30 +00:00
Ralf Becker
b81315af45
added checks if the several functions in an extension are implemented
2002-09-29 22:24:33 +00:00
Ralf Becker
9da89960a9
added overflow handling via <div style="overflow: $overflow"> to etemplate, but it is very buggy and inconsistent implemented in the several browsers so i cant recomand using it
2002-09-29 16:35:54 +00:00
Ralf Becker
f812fda881
template-options now in separate fields in the editor, made options/size field in the db bigger and added a modified to the db
2002-09-29 13:01:40 +00:00
Ralf Becker
850a835f1c
using include_once now to include the class we extend and exclusivly the etemplate.html class
2002-09-29 08:50:18 +00:00