Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
4b05104bd7 small fix on load_via for boetemplate constructor 2002-10-08 00:06:14 +00:00
Ralf Becker
2d2054b6ad some more to allow relative template-names not only for tabs but in general 2002-10-06 08:50:23 +00:00
Ralf Becker
912566fdec removed all eval to get a slight better performance 2002-10-03 23:47:14 +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
493c25bbf4 fixed a typo in the call of the render-function (extensions) 2002-09-29 22:21:29 +00:00
Ralf Becker
23cb3a3fe6 get rid of warning if try to read etemplate with empty name 2002-09-29 16:12:52 +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
Ralf Becker
ed81de3f86 big performance improvment by using references (droped php3 compatibility) 2002-09-27 16:17:39 +00:00
Ralf Becker
ee31b85185 multiple tpls in file get are now automaticaly load, even if name != filename 2002-09-25 16:36:07 +00:00
Ralf Becker
43c5ce9318 improved the cache-handeling:
- works now with versioning (only via the db-storage, not files)
- removed a lot unnecessary db- and/or filesystem accesses
2002-09-24 10:00:58 +00:00
Ralf Becker
f6e5990487 reimplemented read+save in bo to implement caching of the etemplates via $GLOBALS[phpgw_info][etemplate][cache] 2002-09-22 08:05:17 +00:00
Ralf Becker
25377a0679 set_cell_attributes searches now in sub-templates, which get automaticall loaded 2002-09-18 14:15:04 +00:00
Ralf Becker
93f54049cc corrected typo 'Select Category' 2002-09-17 12:26:08 +00:00
Ralf Becker
d927ce6f07 added eTemplate widget file / FileUpload
added options param to html.form
2002-09-12 08:40:57 +00:00
Ralf Becker
a995cf89ef fixed problem when loading an extension from an other app-dir 2002-09-02 17:09:49 +00:00
Ralf Becker
569a3672b0 some corrections for the inline-doc-parser 2002-09-02 11:14:30 +00:00
Ralf Becker
2a28cf1fff button can be just a link now, if you set onChange for the button and javascript is enabled.
Added a test for javascript and removed all javascript from the output if javascript is not enabled.
2002-06-15 19:59:07 +00:00
Ralf Becker
fc64b09b05 added functions get_cell_attribute and set_cell_attribute to get and set an attribute in a named cell.
changed disable_cell to use set_cell_attribute
2002-06-15 12:52:33 +00:00
Ralf Becker
fd6c630234 changed argument-order of isset_array to be the same as in set_array and get_array: isset_array($arr,$idx) 2002-06-15 09:21:55 +00:00
Ralf Becker
93adafc624 splitt save_appsession in appsession_id and save_appsession
added function complete_array_merge
2002-06-09 21:34:21 +00:00
Ralf Becker
a642084e99 gtk-ui handls know buttons like the html-ui 2002-06-02 21:10:24 +00:00
Ralf Becker
daceac54ad Added interface to extend eTemplates with new widgets.
The widget got automaticaly loaded from the app's inc dir (or etemplate's inc dir).
Two examples ilustrate how to use the interface:
 - date: class.date_widget.inc.php reads dates via sbox.getDate
 - datefield: class.datefield_widget.inc.php reads dates via 3 textfields
2002-05-13 21:30:46 +00:00
Ralf Becker
80bced0f01 add function disable_cells 2002-05-11 15:16:23 +00:00
Ralf Becker
002545067e killed debug-message for empty fieldname 2002-02-18 13:50:24 +00:00
Ralf Becker
50c595ff8b session->app_session used now for the sessiondata (not longer hidden vars)
the content of the form is now the first param. to the callback (no longer in HTTP_POST_VARS)
2002-02-17 19:09:15 +00:00
Ralf Becker
4746eac65d new fieldtypes: int, float
db_tools: import of existing db-tables via schema proc (needs some modification in the schema proc-class to allow calls from regular app !!!)
lots of other changes and improvments
2002-02-14 14:06:53 +00:00
Miles Lott
0731c2f111 Initial revision 2002-02-06 09:03:11 +00:00