Commit Graph

271 Commits

Author SHA1 Message Date
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
30ed6a8ab7 - added legacy-options parsing and defintions for currently implemented widgets
- added more server-side debuging:
* etemplate_widget_template class can be called via url and displays parsed xml, eg:
  http://localhost/egroupware/etemplate/inc/class.etemplate_widget_template.inc.php?name=infolog.edit
  This is different from directly calling the xet file, as it show what got parsed and how:
  http://localhost/egroupware/infolog/templates/default/edit.xet
* etemplate_new class can be called via url to render an arbitrary template, eg:
  http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=timesheet.edit
  Thought not all are already rendered correct, eg. infolog.edit is not:
  http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=infolog.edit
2011-08-19 08:22:19 +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
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
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
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
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +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
Nathan Gray
2d310645f9 Put a background color on the AJAX Select results box 2010-01-13 18:32:48 +00:00
Nathan Gray
e8fa73d310 Put a border on the AJAX Select results box 2010-01-13 18:16:59 +00:00
Nathan Gray
d889e92774 Add AJAX Select widget as a field type for custom fields.
Select options can be provided using one of three different methods:
1.  key=value pairs, one per line, as for a selectbox
2.  @filename.php - The file must be in the egw root, and define an array named $options, that has key => value pairs
3.  Define the options normally used for the AJAX Select widget (get_rows, get_title, id_field) and it will pull values from the database, as normal.

Other options (icon, filter, template, link) can be used regardless of the method used to get the values.
2010-01-12 22:35:51 +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
2305f5cc8b Add missing style class, should make type box disappear when there's no sub-types. 2009-12-08 17:14:23 +00:00
Klaus Leithoff
1db92b3b90 patch to hide the sub-type select box, if it is empty, there may be room for improvement by nathan, as he introduced that feature in the first place 2009-12-07 15:48:50 +00:00
Oscar Manuel Gómez Senovilla
ebba4d3547 Move etemplate lang files 2009-11-28 13:01:53 +00:00
Nathan Gray
b685a21fd1 eTemplate changes to support optional link sub-types 2009-11-19 20:10:46 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +00:00
Ralf Becker
a11a04b78d Enhanced nextmatch and link-widget to be able to use a link-entry
widget as a custom nextmatch header
Allows eg. in InfoLog to search and then filter by any linked entry of an other application:
- Infologs linked to a project or
- Infologs linked to a contact
2009-09-25 07:59:34 +00:00
Nathan Gray
2bb5884ad9 Captcha widget based on secureimage, contributed by Randy Houlahan 2009-07-14 16:29:47 +00:00
Ralf Becker
49c5b2933c New vfs-upload widget to upload files into vfs:
- if file already exists, show download and delete link
- if file does NOT exist, show upload box
Name or value of widget is either:
- vfs path or
- $app:$id:$relative_name (if empty($id) a temporary directory in users
  home directory is created and application is responsible to move
  content of that directory to the entry directory (/apps/$app/$id)
2009-07-11 09:07:59 +00:00
Ralf Becker
f0173f0ea3 Readded somehow lost table-row part selectbox 2009-07-04 12:37:31 +00:00
Stefan Becker
554f8cce6a added some German translation 2009-05-20 15:34:33 +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
2e4577ae83 skipping unnecessary redirect by directly displaying index-method link in navbar 2009-03-30 08:48:59 +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
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +00:00
Oscar Manuel Gómez Senovilla
3edee675a7 tracker #1812 2008-11-02 13:38:18 +00:00
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
bb1ed52c7f updating version and dependencies for 1.6 2008-10-07 18:04:59 +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
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +00:00
Ralf Becker
0e62b50197 Ok, found thumbnail problem:
- size need to be configured in admin >> site config
--> disable no pref to display thumbnail if admin did not configure size
--> fixed last commit to use configured size for thumbnails
2008-10-04 07:59:43 +00:00
Ralf Becker
62d7b78c45 Removed an (unnecessary) table from the link list and removed direct
html stuff. 
@Nathan: there's a problem with the thumbnail generation
2008-10-04 07:36:26 +00:00
Ralf Becker
0f0b5c9639 fixed old "'%1' is NOT allowed ('%2')!" error:
the ajax search now opens the pending eTemplate request and stores the
new allowed id's from this search
2008-08-30 11:17:04 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
8913855001 tracker #1476 2008-07-25 22:15:31 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Oscar Manuel Gómez Senovilla
753c766eff Pending translations for trunk 2008-07-24 19:00:41 +00:00
Stefan Becker
9facd0bfdf "Patch for IE 6/7 that you can add comments to the Link widget by onclick" 2008-07-22 14:16:28 +00:00
Régis Leroy
e4c1aeb5d7 fix 'new search' translation on ajax lists, should be common and not etemplate domain 2008-07-04 09:29:32 +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
Oscar van Eijk
1ad82e772a Fixed a typo 2008-05-25 14:20:43 +00:00
Ralf Becker
ea7ea8deb6 modifications for the links via the new vfs/links stream wrapper 2008-04-16 19:53:20 +00:00