Commit Graph

316 Commits

Author SHA1 Message Date
Nathan Gray
0b6954fb44 Handle lists inside tables in odt 2011-08-10 21:44:25 +00:00
Nathan Gray
9cd080e2ef Fix hex color values for background color 2011-08-09 20:58:41 +00:00
Nathan Gray
ff89732b24 As lists & tables aren't supported in OO calc, fake it 2011-08-09 20:41:16 +00:00
Nathan Gray
1c2486e058 Fix handling of colors in hex format 2011-08-09 19:39:24 +00:00
Nathan Gray
b7d30863bf Fix UL / bullet conversion when merging into OpenOffice document 2011-08-02 18:42:33 +00:00
Nathan Gray
a2be785731 Bring some HTML styles into merged documents (ODT & docx) 2011-07-19 23:32:01 +00:00
Ralf Becker
43c4113d83 using grid styleing also for nextmatch widgets without nextmatch header 2011-07-12 09:53:39 +00:00
Ralf Becker
95bbacf358 mime icon for eml - message/rfc822 2011-06-30 16:36:14 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +00:00
Ralf Becker
3b90f44c89 got select entry custom fields honor required flag and select entry widget show required input with inputRequired css class 2011-05-18 10:23:39 +00:00
Ralf Becker
366aa7c05a - allow to specify to use selectbox, instead of category selection for category
- allow to specify name of action (infolog already uses 'action')
2011-05-06 18:10:50 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
8ad99593bd not updated template 2011-04-17 06:25:07 +00:00
Ralf Becker
806d3d604c added context menu for nextmatch widget: first implemenation in timesheet
- legacy actions column and multiple action row below table is switched off by default, but can be switched on again
- legacy action button is NOT yet working
- "whole query" checkbox need to go into context menu too
2011-04-16 21:45:13 +00:00
Andreas Stöckel
7de4a37624 Added new style and images for links 2011-04-01 12:48:24 +00:00
Ralf Becker
c801bdf99e identical lettersearch for etemplate and admin via central css file 2011-03-30 08:18:06 +00:00
Ralf Becker
b5c3c90260 activated new table style and row selection for etemplate, not yet with contect menus 2011-03-27 16:14:08 +00:00
Andreas Stöckel
4119c06da0 Removed temporarily added focused/selected styles as they are now part of the default css 2011-03-25 14:27:32 +00:00
Andreas Stöckel
f6d0edbdc1 Added basic support for the egw_action framework in the nextmatch widget (currently not active) 2011-03-22 17:06:02 +00:00
Andreas Stöckel
6d2179889c Fixed stylite bug #1291, mime type icons were to large. Fix does not work with IE <=6 2011-02-21 18:59:58 +00:00
Nathan Gray
23645c7b9f Shrink icon to 16x16 pixels to match others 2011-02-04 20:05:23 +00:00
Nathan Gray
ec4ef57ed0 Add common merge icon for anything using bo_merge 2011-01-26 20:12:41 +00:00
Andreas Stöckel
2a71bab988 Fixed parts of EGW Stylite Bug #8260. Very wide images do not longer get displayed very broadly in the filemanager select widget.
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created.
In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
2010-12-30 19:54:43 +00:00
Ralf Becker
290c23f9c6 Fixed not working [CSS Styles] button in editor, no idea why and when it
stoped working ...
2010-05-11 12:17:01 +00:00
Ralf Becker
058a820eb7 fixed not use popup in link list widget (eg. links tab in different apps) 2010-01-08 02:22:22 +00:00
Nathan Gray
dae19a0bfa Remove ID column from default result template, it doesn't add anything useful. 2009-09-23 15:47:04 +00:00
Nathan Gray
52a96767cf Add missing files for captcha widget from Randy 2009-09-10 15:23:01 +00:00
Ralf Becker
4e2f35d4dc added support for ms excel 2007 2009-09-01 14:41:48 +00:00
Ralf Becker
c6ea1e2720 mime type and icon for msword xml document 2009-08-03 11:41:08 +00:00
Nathan Gray
2bb5884ad9 Captcha widget based on secureimage, contributed by Randy Houlahan 2009-07-14 16:29:47 +00:00
Ralf Becker
f0173f0ea3 Readded somehow lost table-row part selectbox 2009-07-04 12:37:31 +00:00
Ralf Becker
c4e24a1e58 if we have more then 5 cf's to display --> limit header height to 5 lines plus vertical scrollbar 2009-06-30 18:21:15 +00:00
Ralf Becker
bbee5b34bb fixed powerpoint icon as suggested by tinpos@gmail.com 2009-05-27 05:38:35 +00:00
Ralf Becker
8475ae5d96 Upps: row and column menu got lost ;-) 2009-05-17 11:52:01 +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
51284255c1 Edit and set comment field for colums in eGW's schema files 2009-05-13 07:39:58 +00:00
Ralf Becker
619bad7b28 some new and some nicer ;-) mime type icons 2009-04-19 08:07:23 +00:00
Ralf Becker
55d2aaa3ee Implemented symlinks for eGW's VFS:
- sqlfs can store now symlinks (implements symlink and readlink)
- vfs resolves symlinks before calling a mounted stream-wrapper
--> symlinks can be between different mount-points
- filemanger can create symlinks and follows them
- etemplate vfs_widget displays symlinks (to be improved)
Happy testing :-)
2009-03-19 20:12:35 +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
071fb06b8a no translation and no word-wrap for vfs (filename) widget 2008-10-07 05:33:27 +00:00
Ralf Becker
0218ffb751 - new vfs-widget to encapsulate common vfs/file related stuff
+ path with clickable components
  + human readable size, mode, ...
  + mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
  be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
  installs filemanager
- filemanager has now 3 display modi:
  + Current directory (with subdirs always on top)
  + Subdirs sorted in
  + Files from subdirs (shows recursive all files and you
    can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00
Ralf Becker
dd157b2cd0 allow 2 more columns in the indexes, as used for the unique index tracker escalations 2008-06-04 05:21:14 +00:00
Nathan Gray
b2378bb7a8 Make sure select columns div goes over everything it covers (some elements showed through) 2008-05-29 19:50:15 +00:00
Ralf Becker
ea7ea8deb6 modifications for the links via the new vfs/links stream wrapper 2008-04-16 19:53:20 +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
cbf94ab243 mark required input fields visually (darker border and light yellow background) 2007-12-09 08:11:55 +00:00
Ralf Becker
3beb483c09 CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names. 2007-09-22 14:58:10 +00:00
Ralf Becker
77a318ae69 newest ajax-select-widget from Nathan Gray 2007-05-25 22:13:26 +00:00
Ralf Becker
ca496bed5e layout tweaks in nextmatch widget: fixed width for the selectboxes 2007-05-25 18:15:55 +00:00
Ralf Becker
3a8cf8dba3 moved styles of nextmatch- & tab-widget into etemplate's app.css file, which gets now loaded by every eT app. Allows template designers to modify the look of theses widgets too 2007-03-09 11:25:08 +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
c29e516e71 removed not fully working literati template 2006-12-13 11:08:17 +00:00
Ralf Becker
3038f97550 removed not needed idots dirs 2006-12-13 10:33:54 +00:00
Ralf Becker
d046f849fc removed old, not fully usable (no sidebox) idsociety template 2006-12-12 19:24:49 +00:00
Ralf Becker
806cc84b1e - changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Jerry Ruhe
42f751c80a using default icons 2006-12-09 09:23:23 +00:00
Ralf Becker
8c6cb48d85 fix for bug #87: Infolog - Addressbook categories mixed in 1.2.x
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Ralf Becker
24ae9727d5 new jerryr template set from Jerry Ruhe 2006-11-28 07:45:33 +00:00
Ralf Becker
f68c173c30 - link widgets uses now ajax to search
- new sub-type to search and select an entry of a selectable or given app
- more to come
2006-09-29 19:55:00 +00:00
Ralf Becker
0cdfa38ff5 class nextmatch-range added 2006-09-25 14:00:28 +00:00
Ralf Becker
d110bf5189 fixing some css-bugs which fill the firefox javascript console 2006-08-19 07:12:26 +00:00
Ralf Becker
2a909066da nextmatch widget can have an (optional) lettersearch now 2006-04-23 14:44:44 +00:00
Ralf Becker
9a6649a931 - fixed not working buttons in nextmatch-list, if pressed before direct after login
- improved printing:
  + disabled unnecessary UI-elements in nextmatch
  + nextmatch has now selection for the number of rows to display
  + nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
fc5c2baa45 added ablity to set onchange via content 2006-03-21 22:13:46 +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
80938c0aa7 added accesskey and tabindex 2005-11-09 16:54:36 +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
e66fc40408 tab-widget can change now between the tabs without a reload 2005-05-19 13:16:52 +00:00
Ralf Becker
42d7504d30 file contained the "wrong" editor.list_result template 2005-05-08 07:24:58 +00:00
Ralf Becker
27c12ddf2c 1) many bug-fixes
2) old editor removed
2005-05-07 14:05:10 +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
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
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
reinerj
be72681b62 update images to jerryr template from Jerry Ruhe 2004-04-26 21:31:27 +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
reinerj
8320fcefe0 jerryr template changes commited 2004-03-07 22:22:16 +00:00
Ralf Becker
626be11f90 bringing the xet-files up-to-date 2004-02-06 12:49:05 +00:00
Ralf Becker
3df6788a2f not needed, can be taken from the phpgwapi 2004-02-05 12:53:51 +00:00
reinerj
8b9b26bde8 add jerryr template from Jerry Ruhe (aka jerry71) 2004-01-23 11:18:50 +00:00
Pim Snel
eb3f3d1e0c new crystal icons 2003-11-18 11:57:58 +00:00
Pim Snel
7701abb167 start new icons default template theme 2003-11-04 01:42:56 +00:00
Pim Snel
194f2dd843 and here are the new idots icons 2003-10-23 15:30:54 +00:00
reinerj
a5b1627506 add literati image to CVS 2003-10-14 23:51:53 +00:00
Ralf Becker
a205036c1d *** empty log message *** 2003-06-29 16:59:41 +00:00
Ralf Becker
7f3b2161f8 new icon for eTemplate, more in the style of idots 2003-05-03 12:46:50 +00:00
Ralf Becker
349d66a4d3 update idots 2003-04-19 13:31:02 +00:00
Ralf Becker
83ef41b43c edit-icons for eTemplate search-list 2003-02-22 12:31:55 +00:00
Ralf Becker
f29995295e png version of navbar-icon 2003-02-22 12:30:20 +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
c74cecd2a3 update 2002-10-19 00:51:26 +00:00
Ralf Becker
ae1bd823f1 update 2002-10-17 22:19:16 +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
37bcfe1c5e changed Label from remark to comment 2002-10-09 11:55:05 +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
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
a45f632221 made it 1 line 2002-10-03 16:40:21 +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
b6e2ef8143 some more examples for xul-files 2002-09-24 22:45:02 +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
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
f8e0994cfb nextmatch etemplate is in one file now 2002-09-22 18:07:32 +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
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
29ec804531 first version of the nextmatch-widget 2002-09-17 21:31:45 +00:00
Ralf Becker
e92cd51521 named changed 2002-09-17 13:29:17 +00:00
Ralf Becker
5cb3240b0f changed <label/> to <description/> 2002-09-12 21:53:03 +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
849a0e3835 first version of xml/xul import & export of etemplates 2002-09-12 00:35:20 +00:00
Miles Lott
254e9087ba *** empty log message *** 2002-04-29 03:59:11 +00:00
Ralf Becker
faf77d788e an icon hopfully showing that the etemplate app consists of more developer-tools 2002-02-18 23:01:43 +00:00