Commit Graph

194 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
02ed6da227 added date_widget and corrected wrong widget-name integer to int 2002-10-12 23:01:21 +00:00
Ralf Becker
932d814f7a type need to be taken from the popup and not from the menulist on import 2002-10-12 22:39:01 +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
74248930c5 date_widget has now an option to show an input for the year instead a select-box, datefield_widget is no longer used 2002-10-12 22:34:50 +00:00
Ralf Becker
31825455e7 update for change in class.categories.inc.php, id --> cat_id 2002-10-12 20:40:18 +00:00
Ralf Becker
7a07eef5b5 if date_widget is readonly: just generate a label with the Date in the form spec. in the user-prefs 2002-10-12 16:39:10 +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
37bcfe1c5e changed Label from remark to comment 2002-10-09 11:55:05 +00:00
Ralf Becker
50e1a8236e improved handling of empty linklist 2002-10-09 11:50:46 +00:00
Ralf Becker
27e25a05d2 inital import of link_widget (former link_to and link_list from infolog) 2002-10-09 00:34:45 +00:00
Ralf Becker
5441331027 worked a bit on the design of the tabs 2002-10-09 00:32:04 +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
4b05104bd7 small fix on load_via for boetemplate constructor 2002-10-08 00:06:14 +00:00
Ralf Becker
270920c5c4 submit_button: added app for the image to search 2002-10-08 00:02:39 +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
9a577c887e update 2002-10-06 00:33:12 +00:00
Ralf Becker
0185039028 documented change of tab-widget 2002-10-06 00:25:50 +00:00
Ralf Becker
bda27e3125 load translation of the app we edit the template from 2002-10-06 00:21:52 +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
e638e17ed3 useing soetemplate::set_rows_cols() 2002-10-06 00:17:15 +00:00
Ralf Becker
aba4105393 fix to get select-month accept a value like '02' for februar 2002-10-06 00:16:31 +00:00
Ralf Becker
ee4ac7ac0b new coded useing select-day, -month, -year 2002-10-06 00:15:14 +00:00
Ralf Becker
702e169b42 allow to write only a relative eTemplate-name for each tab:
relative means it contains no '.' and it will then be prefixed with the name of tpl it is used in (plus a '.')
eg. tpl-name 'etemplate.tab_widget.test' tab-names 'work|privat|note' will expand to 'etemplate.tab_widget.test.work', ...
2002-10-05 10:40:02 +00:00
Ralf Becker
18b0e6efe6 added schema_proc-classes to etemplate, to enable db_tools to work under 0.9.14 2002-10-04 23:53:00 +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
9b2ae24745 fixed 'cannot redifine var2xml', which ocurs if xslt already loaded xmltools
added name of base-tpl to contructor-call for embeded templates
2002-10-03 23:46:28 +00:00
Ralf Becker
3d9887ad01 its hard to get a cvs tag in the source, that should not be changed by CVS 2002-10-03 19:53:47 +00:00
Ralf Becker
07bec1fa34 documented the nextmatch-widget and the attrs/options for the predefined select's 2002-10-03 18:26:47 +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
402d5c67c5 added options for listbox too and allow comma-separated extra-attributs 2002-10-03 16:48:17 +00:00
Ralf Becker
8a541d29e8 added more error-messages and changed soetemplate::toTranslate to not write messages starting with '@' and do write extra-line of selection in options 2002-10-03 16:46:18 +00:00
Ralf Becker
84ef2380ee added / changed some parameter, got accounts working 2002-10-03 16:43:26 +00:00
Ralf Becker
a45f632221 made it 1 line 2002-10-03 16:40:21 +00:00
Ralf Becker
34b6bc6c14 update 2002-10-03 16:38:54 +00:00
Ralf Becker
92fef5cc31 changed ext of eTemplate-files to .xet 2002-10-03 15:38:41 +00:00
Ralf Becker
116511260d typo 2002-10-03 13:24:45 +00:00
Ralf Becker
87d1b56270 added an empty CVS-Id to the eTemplate xet- and distribution-file 2002-10-03 11:10:52 +00:00
Ralf Becker
d2cc9b2d7f changed name of hidden-input for current app 2002-10-03 10:31:24 +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
68f4bcc745 identstring added to constructor and inherited to children 2002-10-01 23:35:30 +00:00
Ralf Becker
4ca7787f9f update 2002-10-01 22:22:02 +00:00
Ralf Becker
fbd5f81c0e set indentstring to '' for var2xml and to "\t" for the rest 2002-10-01 22:13:09 +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
2137de5884 renamed eTemplates xml files from .xul to .xet and added support to load a xslt-file as a template 2002-09-30 19:06:29 +00:00
Ralf Becker
57d97a9fd4 renamed eTemplates xml files from .xul to .xet 2002-09-30 18:19:50 +00:00
Ralf Becker
c9170e138e added xslt_widget: renders html via Seek3r/ceb's xslt-templates
Example is the tpl etemplates.xslt_widget.test with the xslt-file etemplate/templates/default/test.xsl
2002-09-29 22:27:18 +00:00