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
Ralf Becker
b81315af45
added checks if the several functions in an extension are implemented
2002-09-29 22:24:33 +00:00
Ralf Becker
2dcb0ace3c
removed a left-over debug-message
2002-09-29 22:23: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
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
a2dcfae7b4
some more browser detection and using title instead of alt for images for all browsers but netscape 4.x
2002-09-29 16:33:47 +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
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
9a88763149
added div
2002-09-29 12:59:24 +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
seek3r
86032f02dd
removed common->phpgw_exit() and fixed all references to it in the core apps and api
2002-09-28 20:01:44 +00:00
seek3r
8abf9fa1a5
Switched to using the register_exit_function() and added scrolling divs to a couple places for examples
2002-09-28 15:20:20 +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
730ce71b8b
fixed a warning
2002-09-25 16:27:11 +00:00
Ralf Becker
b6e2ef8143
some more examples for xul-files
2002-09-24 22:45:02 +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
3668f6e6dd
fixed wrong order from rows,cols of the multiline textarea / xul textbox
2002-09-24 22:05:01 +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
19eef3f976
show values now preservs the values which are arrays
2002-09-24 21:55:16 +00:00
Ralf Becker
28618888da
some fixes:
...
- listbox (multiline select) was not setting the type on export
- templates referenzed by nextmatch or tab-widget got not embeded on export
2002-09-24 19:21:56 +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
55793a448f
fixed nextmatch not reporting the value of start, if not scrolled (one of the arrows used)
2002-09-24 12:44:03 +00:00
Ralf Becker
630a0a7cda
this is an example for several templates in one file.
...
It includes all (nested) templates of the eTemplate editor.
2002-09-24 10:02:33 +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
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
7e2f07bde1
using class.xmltool.inc.php from the api instead of Seek3r's old xmltools.php.
...
class.xmltool.inc.php is copied here til Seek3r aplied a patch in the api.
2002-09-24 08:42:51 +00:00
Ralf Becker
96111faf8f
improved the detection, for the case the webserver is started manualy
2002-09-24 01:29:14 +00:00
Ralf Becker
74ffa874bd
fix to jump back to the start, if search returns less items than acutal position is
2002-09-22 18:10:06 +00:00
Ralf Becker
f8e0994cfb
nextmatch etemplate is in one file now
2002-09-22 18:07:32 +00:00
Ralf Becker
6dae3a369d
etemplates xml/xul-files can have more than one template in a file now (the tpl coresponding to the name has to be the last one)
2002-09-22 17:56:48 +00:00
Ralf Becker
6d9566cfbe
get rid of an errormsg: file not found
2002-09-22 17:55:17 +00:00
Ralf Becker
b98f9f2978
fixed the behavior of the right and last arrows,
...
added the parm 'no_cat' to disable the cats-selection
2002-09-22 09:30:29 +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
bf6581adeb
a 2-line layout for nextmatch
2002-09-18 14:32:11 +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
0b958e08e3
neues layout f�r nextmatch
2002-09-18 14:03:51 +00:00
ceb
c3c5a9786b
update
2002-09-18 01:15:54 +00:00
Ralf Becker
4cbd6807c4
showing the range of shown entries like eg. '1 - 20 of 100'
2002-09-17 22:54:43 +00:00
Ralf Becker
c01f429724
allow attr-values of '0' as the default is sometimes not 0
2002-09-17 22:52:24 +00:00
Ralf Becker
29ec804531
first version of the nextmatch-widget
2002-09-17 21:31:45 +00:00
Ralf Becker
a611b55d4c
suppressed an error-msg and try reading the template from the filesystem if it is not found in the db
2002-09-17 15:38:34 +00:00
Ralf Becker
5f99e6de5c
suppressed an error-msg
2002-09-17 14:35:43 +00:00
Ralf Becker
9286ba944f
reimport after name-change
2002-09-17 13:33:20 +00:00
Ralf Becker
e92cd51521
named changed
2002-09-17 13:29:17 +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
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
93f54049cc
corrected typo 'Select Category'
2002-09-17 12:26:08 +00:00
Ralf Becker
7cbe3e734b
added <listbox> tag for multiline-selects,
...
moved attributs from <menupopup> to <menulist> (execpt options and id)
added several options for the predefined phpgw selects like cats or accounts
renamed size to options
2002-09-17 09:36:55 +00:00
Ralf Becker
c51cbb2ae3
added <listbox> tag for multiline-selects,
...
moved attributs from <menupopup> to <menulist> (execpt options and id)
added several options for the predefined phpgw selects like cats or accounts
changed the referenz.html accourdingly
2002-09-17 09:13:29 +00:00
Ralf Becker
401685cb1d
small fix for missed default-attributes on export, created eg:
...
<textbox ="" ...>
when exporting a textarea
2002-09-16 23:07:33 +00:00
Ralf Becker
e04b602f4a
some installation instructions
2002-09-16 20:49:22 +00:00
Ralf Becker
dc2c34ce10
as a placeholder and example of a xml-template
2002-09-16 20:37:11 +00:00
Ralf Becker
5cb3240b0f
changed <label/> to <description/>
2002-09-12 21:53:03 +00:00
Ralf Becker
b09efe7676
allow <label ...> to be imported as well as <description ...>
2002-09-12 21:46:11 +00:00
Ralf Becker
c4f5c280da
added tab and image import/export
...
the label's get now exported as <description ...>
2002-09-12 21:43:41 +00:00
Ralf Becker
21d8665717
added the referenz-docu for the eTemplates and the new xml/xul-interface to them
2002-09-12 19:32:53 +00:00
Ralf Becker
78da482f5e
some changes to be closer to XUL:
...
<overlay> now root-node of each eTemplate xul-file
<template> is replaced by <grid id="app.template" ...>
2002-09-12 18:03:49 +00:00
Ralf Becker
ea32918291
some changes to be closer to XUL:
...
<overlay> now root-node of each eTemplate xul-file
<template> is replaced by <grid id="app.template" ...>
2002-09-12 17:57:27 +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
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
ea6a01b045
changed $setup_info to $GLOBALS['setup_info'] and included the gtk-screenshot
2002-09-03 23:26: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
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
c819768349
editor now reports the loaded extensions
2002-09-03 10:21:44 +00:00
Ralf Becker
536b4e1d7a
fixed problem with new 3-tier projects-class
2002-09-02 21:34:07 +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