Commit Graph

41 Commits

Author SHA1 Message Date
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
Ralf Becker
147a2ba800 changed templates to use ceb's css-theme-files 2002-09-28 00:30:01 +00:00
Ralf Becker
6512e21af4 changed templates to use ceb's css-theme-files 2002-09-28 00:09:47 +00:00
Ralf Becker
ed81de3f86 big performance improvment by using references (droped php3 compatibility) 2002-09-27 16:17:39 +00:00
Ralf Becker
86f9c5ce6a forms are send now to /etemplate/process_exec.php, which sets the current_app from $HTTP_POST_VAR['app'] 2002-09-25 23:19:31 +00:00
Ralf Becker
37215bffa7 send app-name as get-var to process_exec to allow the changed /index.php to setup for the right app 2002-09-25 22:22:10 +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
161ff221e3 dont write js-functions only if it is tested that js is disabled 2002-09-24 22:34:21 +00:00
Ralf Becker
7bd87b1180 changed interface for extensions to:
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
post_process(&$cell,&$value,&$extension_data,&$loop)
2002-09-24 21:57:15 +00:00
Ralf Becker
ede69c0a38 eTemplate extensions can now change the $readonlys-array.
nextmatch-widget uses this to allow get_rows to switch button on and off.
2002-09-24 17:28:45 +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
4214452471 added <button image=".." ro_image=".."/> to have an image instead of a button
updated referenz.html
2002-09-17 12:29:01 +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
849a0e3835 first version of xml/xul import & export of etemplates 2002-09-12 00:35:20 +00:00
Ralf Becker
b977162613 going back to the old way of showing content, before Seek3r's change in the templates.
Showing the content via set_var('phpgw_body',$html) removes '{something}' from the html and expressions like that are needed as variable names.
2002-09-03 10:27:23 +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
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
b4967da945 a lot of new stuff, to give the extensions more freedome:
- label and help-texts can contain '@<index>' to reference a variable in the content array
- content changed by an extension is now handled correct in all cases of sub-arrays
- added CELLSPACEING and CELLPADDING options for the template / table
2002-06-10 21:34:58 +00:00
Ralf Becker
36ef7dec78 some changes to get the tab-widget working:
- the template is saved in the app_session for process_exec and not read again from the db
- extensions can request (trough $templ->loop = True) to have an other loop through exec process_exec (e.g. to show an other tab)
- extensions can have persitant data (via app_session) in $GLOBALS[phpgw_info][etemplate][extension_data][<extension-name>]
2002-06-09 21:40:06 +00:00
Ralf Becker
e6c8635555 this enables the eTemplates to run in 0.9.14 as well as HEAD 2002-06-07 21:26:05 +00:00
Ralf Becker
1af318fbba small documentation update for function process_show 2002-06-05 21:34:55 +00:00
Ralf Becker
a642084e99 gtk-ui handls know buttons like the html-ui 2002-06-02 21:10:24 +00:00
Ralf Becker
31a8e9f34d some changes to be compatible with seek3r new template-system 2002-06-01 12:38:51 +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
3c0e0a06ca use sbox2-class in the api 2002-05-11 21:05:13 +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