Commit Graph

121 Commits

Author SHA1 Message Date
Nathan Gray
069325c89d Do not center Filter. It had no effect on short lists, but chosen actually respected the setting 2013-08-09 19:18:58 +00:00
Ralf Becker
8d07c880ad allow db-tools to edit meta information about schema, currently what is stored in integer columns, eg: "timestamp", "account", "account-commasep" or "category" 2013-06-11 14:48:25 +00:00
Ralf Becker
78449edd4c some css for new dialog: left aligning buttons as everywhere in EGroupware, auto-size dialog, static show_prompt method to display a prompt, fixed not working translation of standard buttons 2013-04-23 16:51:00 +00:00
Ralf Becker
bb1a8adce5 added autoloading attribute to tree 2013-02-20 13:06:26 +00:00
Ralf Becker
2ea875dc56 add parent_node attribute for tree widget 2013-02-18 15:16:14 +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
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
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
Nathan Gray
b685a21fd1 eTemplate changes to support optional link sub-types 2009-11-19 20:10:46 +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
f0173f0ea3 Readded somehow lost table-row part selectbox 2009-07-04 12:37:31 +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
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
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
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
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
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
Ralf Becker
ea7ea8deb6 modifications for the links via the new vfs/links stream wrapper 2008-04-16 19:53:20 +00:00
Nathan Gray
85701b40af Added tab support so users can press tab and select the current (or first) row - thanks ot Raphael Alla for the patch
Added up / down arrow support so users no longer need to use the mouse.  Tested on Mac Firefox, Safari and IE6
2008-02-04 21:49:50 +00:00
Nathan Gray
835bf3050d Patches from John Trudel to make Ajax Select Widget work in Internet Explorer 2008-01-09 20:54:10 +00:00
Nathan Gray
4bf66e6f89 Add mime type icons and thumbnail previews to link list 2007-10-15 17:27:25 +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
ca496bed5e layout tweaks in nextmatch widget: fixed width for the selectboxes 2007-05-25 18:15:55 +00:00
Ralf Becker
f0c9a45803 patch #25: AJAX Select widget from Nathan Gray 2007-05-08 12:20:38 +00:00
Ralf Becker
99c07f8452 bugfix: request was always looping, if form contained a link_to widget (search button had the same name as the search field itself) 2007-04-18 10:33:27 +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
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
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
Cornelius Weiß
4022dbd9a4 added class for tab_widget tab headers 2006-10-07 15:44:40 +00:00
Ralf Becker
8ccab4e7cc widget to show a field from a contact (used for forms in infolog) 2006-10-04 20:23:44 +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