Commit Graph

99 Commits

Author SHA1 Message Date
Ralf Becker
c7d566533e fix Nathans fix for old editor, to only use fallback for new widgets, if a type is given 2013-11-05 10:22:19 +00:00
Ralf Becker
e2b9443fa0 no need to load not autoloadable widgets, in fact is messes up loading order in old etemplate editor 2013-11-04 10:23:42 +00:00
Ralf Becker
511a925bb4 excluding contact_widget causing to load etemplate_widget and etemplate_widget_transformer, not playing nice with old editor 2013-11-02 10:28:56 +00:00
Nathan Gray
af43412921 Fix editor to still work with existing basic widgets 2013-04-08 14:31:43 +00:00
Nathan Gray
715d45a2c1 Add very basic support for et2 widgets into editor, to at least not destroy templates 2013-04-08 14:06:01 +00:00
Nathan Gray
a4a35b77c9 onClick is valid for a box 2012-12-19 21:44:25 +00:00
Ralf Becker
e89f63148c if dir is not writable, download xet file 2012-07-18 17:39:42 +00:00
Ralf Becker
f8498ca949 an other little fix to have old etemplate editor work with etemplate2 2012-03-28 16:29:14 +00:00
Ralf Becker
4a08f033e7 renamed etemplate to etemplate_old and etemplate_new to etemplate, thought new etemplate is still disabled in etemplate/inc/class.etemplate.inc.php line 38 2012-03-27 15:45:31 +00:00
Ralf Becker
253f98d315 Restore all eTemplates from distirbution file via eTemplate editor (no need to touch distribution file or fiddle with the database) 2012-02-15 14:51:58 +00:00
Ralf Becker
8b49d88788 ignore et2 base-class when scanning for widgets to display in (old) editor 2011-08-27 09:08:07 +00:00
Christian Binder
9259494a02 just a small fix for the debug output 2009-09-12 09:09:28 +00:00
Ralf Becker
6fe6365c78 "fixed sometimes not working [Values] button" 2009-07-23 11:27:46 +00:00
Ralf Becker
dcce79d92a check if application of template has a app.js file
--> load it
2009-07-03 08:38:25 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
220492880d allow to load widget specific edit-template from the app the widget belongs too, eg. infolog-value --> infolog.widget.infolog-value 2009-05-17 11:41:58 +00:00
Ralf Becker
2a03d32d81 Automatic import labels into the content of an edited template via a
callback: ${app}_bo::labels(). They are set as $content['labels']
2009-05-14 17:45:00 +00:00
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