Commit Graph

82 Commits

Author SHA1 Message Date
Ralf Becker
486a32e86d Refractured eTemplate to use:
- the etemplate_request object which stores the request data in the
  a) session (as before) or
  b) compressed and encrypted in the form transmitted to the user
  Benefit of b) is that the session does not grow and the form can
  be submitted as long as the session exists, as we need no garbadge
  collection. Of cause more data needs to be submitt between
  browser and webserver. b) is choosen automatic if mcrypt and
  gzcompress are available, but can be turned off via setting
  etemplate_request::$request_class = 'etemplate_request_session';
- static class variables instead of the before used global ones
--> This new version of eTemplate is fully backward compatible with 1.6!
2009-03-16 12:58:24 +00:00
Ralf Becker
bdcb10ea2d Enable etemplate to mark rows of a grid / table as part of the header or
footer to repeat them on each printed page.
2009-02-23 13:21:28 +00:00
Ralf Becker
bb1ed52c7f updating version and dependencies for 1.6 2008-10-07 18:04:59 +00:00
Ralf Becker
add5646e48 fixed a few errors in the etemplate editor 2008-03-20 18:43:11 +00:00
Ralf Becker
6e9829faf6 some more php5 and html static fixes 2008-03-10 15:49:46 +00:00
Ralf Becker
edc5dc9db5 fixed not working value display of arrays 2007-07-22 13:12:21 +00:00
Ralf Becker
aa1a87f328 "fix for bug #622: 'XML Import' doesn't work right" 2007-05-14 10:41:11 +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
c1b1453108 - for extensions also trying an extension-specific template-name
- fixed not correct set template after a type change
2006-10-05 08:49:09 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
bd8dab6477 ability to set the onchange attribute 2006-03-07 23:44:21 +00:00
Ralf Becker
b795d8172b two minor enhancements:
- style editor gives now a msg, if the CSS file has been written
- the message new version exists contains now a link to load that version
2005-11-12 06:59:34 +00:00
Ralf Becker
b668ae7f1a editor was inserting one comma to much in case the popup target was _blank 2005-11-11 08:48:03 +00:00
Ralf Becker
9f1ef5c546 a bit bigger popup for the widgets-editor 2005-11-10 14:52:13 +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
Ralf Becker
7378a3b898 fixed spelling 2005-07-14 06:56:56 +00:00
Ralf Becker
215ab71516 added javascrpt values2url function to transmit selected runtime values via the url to a popup, which can use etemplate::process_values2url to retrieve the values from the url as content-array (incl. $preserv from exec()) 2005-06-16 21:44:51 +00:00
Ralf Becker
d5d43df995 fixed wrong message about not writable dir 2005-06-14 21:36:52 +00:00
Ralf Becker
0793450251 own template to edit grids: has now separate fields and helptexts for the diverse values comulated in size/options 2005-05-20 16:56:16 +00:00
Ralf Becker
db148b55bc - fix_set_onclick was not called, if one navigated to a widget with the arrows
- onclick of a button was not reset, when a button was converted to a box
2005-05-20 12:01:15 +00:00
Ralf Becker
e38b703f77 fixed: saving of imported templates was not working 2005-05-19 06:56:04 +00:00
Ralf Becker
dee6d75828 re-added exidently removed swap method 2005-05-10 14:43:42 +00:00
Ralf Becker
5fe6577033 widget-popup: changed version lead to empty template 2005-05-08 07:25:58 +00:00
Ralf Becker
27c12ddf2c 1) many bug-fixes
2) old editor removed
2005-05-07 14:05:10 +00:00
Ralf Becker
3a479fd54c importing the app.css file of the edited template 2005-04-14 22:08:25 +00:00
Ralf Becker
88577483bd fixed editing of versions other then the latest version 2005-03-29 14:16:42 +00:00
Ralf Becker
3435f58d39 not calling CreateObject if class-file does not exist 2005-03-07 21:58:15 +00:00
Ralf Becker
8c03c0999a - allow to ignore validation-errors of certain fields (for the editor)
- allow to set and promote attributes for process_exec in extensions (needed for date)
- readonly removes file-uploads now
- readonly value for mulitselectbox is in multiple lines now
2005-03-05 14:59:33 +00:00
Ralf Becker
9627814ab2 killed a debug-message 2005-02-27 21:32:43 +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
e47230d451 fix to allow session-id in the url too 2005-02-23 09:36:46 +00:00
Ralf Becker
ac060de053 docu update 2005-02-22 22:11: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
59a356048a fixed errors in the conversation from grids to boxes and the insert-behind for boxes 2005-02-21 12:26:20 +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
bc13c208fe fixed inline documentation, works very nice now 2005-02-13 13:03:36 +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
7c0bce63ed reworked a bit the UI:
- more idots conform (app_header)
- showing im-/exported xml (fixed old debug output)
- return works not in the name-field
2005-02-06 18:12:26 +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
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