Commit Graph

52 Commits

Author SHA1 Message Date
Ralf Becker
046291100a - possebility to disable file-attachments
- allow to overwrite some of the label
2005-04-14 22:14:01 +00:00
Ralf Becker
51a0ac0f80 fixed not displayed error-message: write failed (webserver has not write-rights). Before writes of tables for new created apps silently fail. 2005-04-04 08:50:45 +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
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
ac25e32010 added a white-space:nowrap; to the style of the tabs of the tab-widget 2004-07-02 08:54:34 +00:00
Ralf Becker
ec1cf301b2 added input-validation:
- needed (= not to be empty) fields are enforced now
- min and max values and format of int and float fields
- validator for text-fields (perl regular expression)
The input-validation is handled completly withing eTemplate, the application dont need to implement any code, just set the right attributes in the template. Validation-errors are displayed in red behind the concerning field, try the template 'etemplate.validation-test' in the editor.
2004-04-05 01:33:23 +00:00
Ralf Becker
2de0e0e79a added header-css to nextmatch_widget.header_only 2004-02-05 13:33:42 +00:00
Ralf Becker
2b7b9e388f sort- and filter-headers for the nextmatch widget 2003-12-09 00:03:41 +00:00
Ralf Becker
830197249f enhanced db-tools to deal with the new mulitcolum-index-syntax and to define these indices 2003-10-26 19:28:08 +00:00
Ralf Becker
f9206f08f7 db-tools: corrected default for nullable to true and displaying now sql-conform NOT NULL and not nullable 2003-09-25 01:25:46 +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
7073ae95c2 nextmatch_widget:
- 2 header-templates left and right from the range-display
- optional nextmatch-line with arrows, search, cats, ... after the rows
link_widget:
- new sub-type link-string
Updateted the documenations and lang-files.
2003-06-29 17:00:05 +00:00
Ralf Becker
089e3c2508 no translation for etemplate.link_widget.search's app-selectbox 2003-05-30 18:56:51 +00:00
Ralf Becker
00ef88da75 non-fixed tab-width 2003-05-30 18:45: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
38c7e3d145 fix for the date-widget of the today button and javascript 2003-04-13 21:47:03 +00:00
Ralf Becker
802d6c62cc db-tools now show uninstalled apps to, thanks to new select-application widget 2003-03-18 13:06:27 +00:00
Ralf Becker
c1550c8638 added german translation and some english ones 2002-10-29 00:50:46 +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
0666aebaba made more attributes loadable from the content-array 2002-10-17 22:10:12 +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
a3aaf60ede implemented possibility to disable rows and cols,
disabling can depend on a value of $content
2002-10-10 11:29:36 +00:00
Ralf Becker
27e25a05d2 inital import of link_widget (former link_to and link_list from infolog) 2002-10-09 00:34:45 +00:00
Ralf Becker
9a577c887e update 2002-10-06 00:33:12 +00:00
Ralf Becker
34b6bc6c14 update 2002-10-03 16:38:54 +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
bf6581adeb a 2-line layout for nextmatch 2002-09-18 14:32:11 +00:00
Ralf Becker
0b958e08e3 neues layout f�r nextmatch 2002-09-18 14:03:51 +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
29ec804531 first version of the nextmatch-widget 2002-09-17 21:31:45 +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
2a28cf1fff button can be just a link now, if you set onChange for the button and javascript is enabled.
Added a test for javascript and removed all javascript from the output if javascript is not enabled.
2002-06-15 19:59:07 +00:00
Ralf Becker
d789e876a5 make the datefield widget/extension use the helptext of the field 2002-06-15 13:04:19 +00:00
Ralf Becker
281ee78459 The tab widget is now completly templatized, using the templates 'etemplate.tab_widget.*'.
There is an example / test now under 'etemplate.tab_widget.test'.
2002-06-15 12:54:38 +00:00
Ralf Becker
ec4cb122e4 changed some labels in the editor and added some templates for the tab_widget 2002-06-10 21:37:31 +00:00
Ralf Becker
9e6f3ac7aa 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:42:55 +00:00
Ralf Becker
00d4ce72a0 add functionality to write/update the setup/tables_update.inc.php file 2002-05-11 20:56:12 +00:00
Ralf Becker
14a5e4dbc5 using navbar.gif now 2002-02-18 23:03:16 +00:00
Ralf Becker
46a635b73c some changes in the db-tools 2002-02-17 19:06:45 +00:00
Ralf Becker
c8f67dacf9 some size-adjustments in the editor-fields 2002-02-15 05:22:17 +00:00