Commit Graph

66 Commits

Author SHA1 Message Date
Ralf Becker
f66e2e4004 fixed php5.2.6 problem: unknown type '' 2008-06-22 07:16:40 +00:00
Ralf Becker
add5646e48 fixed a few errors in the etemplate editor 2008-03-20 18:43:11 +00:00
Ralf Becker
694dbc443b some more php5 and html static fixes 2008-03-10 15:54:21 +00:00
Ralf Becker
e6d99f37e9 "but test_import and import_dump is ..." 2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f "UPPS compress_array is NOT static" 2008-03-09 15:48:21 +00:00
Ralf Becker
e90a3d3a83 reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:41:22 +00:00
Ralf Becker
9b61188549 "fix for bug #727: can not edit widgets below an embeded template" 2007-05-13 11:24:12 +00:00
Ralf Becker
e11b8e5e32 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:25:19 +00:00
Ralf Becker
6bd5ac2da8 users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments) 2007-03-07 12:30:17 +00:00
Ralf Becker
80138def68 small docu update 2006-09-12 07:32:34 +00:00
Ralf Becker
5f35a0cf8b try using xet files if db is not availible (eg. early setup stage) 2006-06-15 21:52:40 +00:00
Cornelius Weiß
71743a2260 update docu to better run trough phpdocumentor 2006-04-21 10:31:06 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Ralf Becker
b51c7496e6 not returning labes containing $row or $cont for translating 2005-11-11 08:49:42 +00:00
Ralf Becker
96fd5ccfbd fix for Lanfile to not add phrases which are variables 2005-11-10 12:26:16 +00:00
Ralf Becker
7a4a18ec0a phpgw --> egw
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00
Cornelius Weiß
e3e75bc70d fixing the fix :-) 2005-10-31 09:33:15 +00:00
Ralf Becker
968c1d41a5 fixed fatal error when calling soetemplate::add_cell with the template itself 2005-10-31 09:06:24 +00:00
Ralf Becker
e19da05e52 fixed problem on home-page: set_app(etemplate) was missing 2005-05-23 08:00:54 +00:00
Ralf Becker
f5da559e25 fixed typo in last commit 2005-05-08 17:54:05 +00:00
Ralf Becker
f7573b9235 using db::select for read and search, search uses now *,? as wildcard 2005-05-07 13:55:19 +00:00
Ralf Becker
9f525747b4 bugfixes and using the checkbox version for the mutiple selectbox 2005-02-24 21:02:24 +00:00
Ralf Becker
717f53ece2 some bugfixes:
- tab-widgets can be edited (new editor lost template content and onclick_handler, if looping)
- select widgets accept again options via $sel_options[$name]  $name is the name of the widget and not the form_name
- grid-options get loaded again via the old editor
2005-02-23 14:33:00 +00:00
Ralf Becker
8c34e1e04e - style popup is working now: allows to edit the embeded styles of an eTemplate as well of the apps app.css file
- some bugfixes in the editor
- popups can now directly called by a button and you can pass params via the content array
2005-02-22 21:02:26 +00:00
Ralf Becker
21c6ebd17e next step to a new eTemplate editor:
- new editor has now everything the old one had, beside editing of embeded stylesheets
- new possibility to define a confirmation for buttons via javascript
- finetuned the garbadge collection for php4 sessions
2005-02-20 21:45:24 +00:00
Ralf Becker
dfd35114a5 next step to a new eTemplate editor:
- widget editor works quite nice
- beware it can create Templates the old editor cant understand and destroy if you save or export them from the old editor!
=> need to move the other functionality (import, export, dump, ..) of the old editor to the new one, so the old editor can retire ;-)
2005-02-18 22:44:42 +00:00
Ralf Becker
e0a0cfc9fe first step to a new eTemplate editor:
- based on existing show function the template can be edited in place
- dblclicked widgets will be edited in a popup
- new editor supports not only one grid, but a hirachical tree of widgets
still missing:
- editing and operations of grid rows and columns
- type-specific templates for the popup, to make the options more intuitiv
In the meantime the old editor is still functional
2005-02-15 23:22:10 +00:00
Ralf Becker
f2e0fda75d - new function widget_tree_walk, which aplies a given function to all widgets or a template, used now by soetemplate::getToTranslate() and boetemplate::set_cell_attribute()
- fixed inline documentation, works very nice now
2005-02-13 13:03:01 +00:00
Ralf Becker
a9ea2f8cf9 using clone() to create copies of the db-object for php5 compatibility 2005-02-08 18:21:07 +00:00
Ralf Becker
84e89d31be Step #2: Redering and importing (xml) are working now with any tree.
Export and editing still need to be reworked.
More to come ...
2005-02-08 12:29:06 +00:00
Ralf Becker
52b42e13bb 1) added GroupBox (HTML: fieldset) to group widgets by a frame with an optional caption
2) Step #1 of removing eTemplate's limitation on allowing only a grid as root element of the widget tree (which can NOT directly contain further grids, thought references to other templates/grids are ok). The storage layer allows now a real tree. Redering and editing only works on the old data variable, which is now a reference to the first grid in the tree.
More to come ...
2005-02-06 15:49:50 +00:00
Ralf Becker
cff0ca3801 changed documentation to phpdoc standard 2004-10-07 21:53:10 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
917c0aada9 fixed Call-time pass-by-reference 2004-03-09 21:46:25 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
Ralf Becker
db6808f3b3 fixed a bug the the labels got not included if one generated a new lang-file 2003-12-19 02:20:59 +00:00
Ralf Becker
0d40fed412 fix for bug #816612: a spaned first row leads to less columns on reading a tmpl 2003-11-03 15:43:55 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +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
Ralf Becker
f19c4d7904 fix for pgsql 7.3 2003-07-09 00:00:37 +00:00
Ralf Becker
f7e3a07b05 added a debug-message for the search 2003-03-27 23:43:37 +00:00
Ralf Becker
22407e6b33 some docu updates 2003-02-22 12:25:46 +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
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
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
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
87d1b56270 added an empty CVS-Id to the eTemplate xet- and distribution-file 2002-10-03 11:10:52 +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