Commit Graph

39 Commits

Author SHA1 Message Date
Ralf Becker
917c0aada9 fixed Call-time pass-by-reference 2004-03-09 21:46:25 +00:00
Ralf Becker
b05fc623e2 some fixes for the improved nextmatch 2003-12-10 01:21:31 +00:00
Ralf Becker
01f9a86272 1) partialy undoing gugux changes (label use '%s' if they want to place the widget within the label!)
2) useing a regular lang()-call with parameters instead of a message array, which got translated by the constructor
2003-08-08 16:20:16 +00:00
Ralf Becker
3fcb565374 added a unlink before each rename for windows systems 2003-07-21 16:09:33 +00:00
gugux
741db6ce7b Changed all %d's and %s's into %x's in lang calls and lang files, added missing english phrases and french translations. 2003-05-26 21:03:15 +00:00
Ralf Becker
3d394c5b50 added some trim's around name, template and lang so that whitespace gets not saved 2003-03-27 23:42:28 +00:00
Ralf Becker
eb3178426a included the db-tools messages on createing the lang-file 2003-03-17 20:58:54 +00:00
Ralf Becker
5e0c8277af 1) only the newest version of a tpl is used for creating the lang-file
2) added the possebility to select multiple tpls from the search-list to delete them
3) added the developer_tools solangfile class to etemplate to be able to write lang-files, even if the developer-tools are not installed
2002-10-28 01:17:32 +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
510dbb355e - improved caching of extensions (previously a reload was made if delete/show/list was called)
- call the writeLangFile function of the apps ui-layer if it exists
2002-10-19 11:03:00 +00:00
Ralf Becker
56acf9ae94 fixed an error msg 2002-10-17 22:05:53 +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
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
bda27e3125 load translation of the app we edit the template from 2002-10-06 00:21:52 +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
116511260d typo 2002-10-03 13:24:45 +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
57d97a9fd4 renamed eTemplates xml files from .xul to .xet 2002-09-30 18:19:50 +00:00
Ralf Becker
2dcb0ace3c removed a left-over debug-message 2002-09-29 22:23:30 +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
ed81de3f86 big performance improvment by using references (droped php3 compatibility) 2002-09-27 16:17:39 +00:00
Ralf Becker
730ce71b8b fixed a warning 2002-09-25 16:27:11 +00:00
Ralf Becker
19eef3f976 show values now preservs the values which are arrays 2002-09-24 21:55:16 +00:00
Ralf Becker
7751df9f39 fixed error messages if olny an other version of an eTemplate is found.
added message if an imported eTemplate/xul-file contains more than one template.
2002-09-24 09:58:07 +00:00
Ralf Becker
34c963535a read eTemplates from filesystem if
$GLOBALS['phpgw_info']['server']['eTemplate-source'] == 'files'
2002-09-17 13:27:37 +00:00
Ralf Becker
732ab01e79 corrected a small typo 2002-09-12 12:21:27 +00:00
Ralf Becker
2a68b73668 some improvements fixes in the exitor:
- editor warns now if newer version of template exists
- import xml is not longer Show-template page (etemplate.editor.buttons splitted in 2 templates one for show and one for edit)
2002-09-12 10:58:20 +00:00
Ralf Becker
42c5d97ee3 added UI to import eTemplates from xml / xul-files 2002-09-12 10:04:22 +00:00
Ralf Becker
849a0e3835 first version of xml/xul import & export of etemplates 2002-09-12 00:35:20 +00:00
Ralf Becker
94fb1f402d new function to search for or list existing eTeamplates 2002-09-03 22:59:47 +00:00
Ralf Becker
c819768349 editor now reports the loaded extensions 2002-09-03 10:21:44 +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
02bcae219a removed manual process_show, as it is no longer necessary 2002-06-09 21:33:07 +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
905c960a5a corrected some leftover from the last change (app_session and not more HTTP_POST_VARS) in the template-test function show 2002-05-13 18:17:44 +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