Commit Graph

105 Commits

Author SHA1 Message Date
Ralf Becker
c02e343a02 make eTemplate widget-type integer an alias for int, to ease backporting templates from trunk 2013-07-11 08:06:05 +00:00
Ralf Becker
a46a9321f3 merged tooltip for label from trunk 2013-06-05 13:55:57 +00:00
Ralf Becker
0d8ba7b81b if we have onclick or tooltip, add it to an extra div around single element of a box 2013-06-05 13:13:47 +00:00
Ralf Becker
d46bd621ae return (protected) array with validation errors instead of just the count 2013-05-25 17:20:11 +00:00
Nathan Gray
92e00bb0ec Add ACL check to read-only category selection and nextmatch row color 2013-03-06 15:30:06 +00:00
Nathan Gray
57247881e8 Fix missing grid name when importing template, fix missing label options 2013-01-11 15:33:38 +00:00
Nathan Gray
32e2d1ad6a Rework common preferences
- Better grouping
- Added preferences for rich text editor
  - Font
  - Font size
Take effect on new, blank editors.  Existing data is untouched.
2012-12-20 19:45:51 +00:00
Nathan Gray
39057e7900 Allow to specify app in egw::link() pseudo function 2012-12-12 16:57:00 +00:00
Ralf Becker
66fbdab803 * eTemplate/all apps: fixed not working display of floating point values in input fields for Chrome or Safarie (browsers supporting html5 input type="number") 2012-10-31 09:19:54 +00:00
Nathan Gray
7cbc4949d3 Fix bug where clicking on a hooked app twice sends you to the hooked app 2012-10-09 17:34:06 +00:00
Klaus Leithoff
00a29c8f13 * Api: use autocomplete=off on all etemplate password fields (not all browsers support that), to avoid filling in wrong passwords while administering 2012-06-06 15:09:58 +00:00
Ralf Becker
28da4892e0 fixed PHP 5.4 Warning: Illegal string offset 2012-05-21 14:08:53 +00:00
Klaus Leithoff
74cbee31b9 take care of possible commas in n_fn in addressbook.email popup (on-click adding email to opened email-form when clicking on email-link) 2012-05-14 08:12:55 +00:00
Ralf Becker
d7b46c4713 allow text like html markup for htmlarea in mode="ascii", which is effectivly a textarea. Allows html-tag eg. in tracker 2012-04-11 09:21:15 +00:00
Ralf Becker
90e8092570 fixing the fix ..., good that new etemplate2 always uses csv_explode 2012-03-17 14:18:56 +00:00
Ralf Becker
03c21735e6 use csv_split on options of text field, to allow to enclose preg in quote to allow comma in it 2012-03-17 13:42:01 +00:00
Ralf Becker
fdc4134556 allow to force tooltip for help messages by prepending a pipe "|" character 2012-02-19 13:55:24 +00:00
Ralf Becker
4e2c48bae9 fix for integer input with negative length, to get readonly input field, fixes html5 not setting size/width commit 2012-02-01 17:33:04 +00:00
Ralf Becker
494a3af78f html5 input type=nummeric seems to ignore size, setting a width instead 2012-01-05 01:44:13 +00:00
Ralf Becker
fe22901d54 * Filemanager/eTemplate: fix for MyStylite bug #2495: deleting files containing [ as first char deletes whole directory
added encoding of square brackets in eTemplate and improved etemplate_bo::(get|set|isset|unset)_array() to split indexes at ][ and not just [
2011-11-09 14:32:50 +00:00
Ralf Becker
7c381ba855 added "progress"(-bar) widget to differ from image and using it in templates 2011-09-08 19:03:44 +00:00
Ralf Becker
8d4bd41736 allow to call a function instead of a static helptext 2011-08-27 18:36:16 +00:00
Ralf Becker
aabb45ffd0 default step="any" for float, as not setting it limits value to integer as step defaults to 1 in html5! 2011-07-30 08:31:55 +00:00
Ralf Becker
19deeeb595 switch html5 form validation off for cancel buttons and in etemplate editor (or whenever any $ignore_validation expression is given) 2011-07-07 13:01:29 +00:00
Ralf Becker
579c388056 differenciate in our serverside user-agent detection between Chrome and Safari, and disable html5 form validation for float, as Chrome 12 rejects float values with comma as decimal separator 2011-07-07 11:51:33 +00:00
Ralf Becker
9f94f1f8e3 support for html5 multiple upload 2011-07-01 07:48:06 +00:00
Ralf Becker
548ae17b66 fixed error in link-entry: " has an invalid format !!!, after adding html5 type attr to text/input widget 2011-06-30 17:57:55 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +00:00
Nathan Gray
e59b50e7fb If etemplate_exec_id is lost, pass along any GET parameters with redirect 2011-06-09 16:47:40 +00:00
Ralf Becker
a147a9a4a8 fixed not working category color of rows (calendar, addressbook) 2011-05-30 11:08:37 +00:00
Ralf Becker
678efd6ced switch to tab with customfield widget (empty name for call cfs), if validation error is for a cf (name prefixed with #), if no tab found add validation message to $content[msg] as a last resort to make it more visible to the user 2011-05-18 14:23:23 +00:00
Klaus Leithoff
64c798cda4 show raw selectvalue, if we are not able to show the corresponding selection entry 2011-05-17 11:46:56 +00:00
Ralf Becker
0ced6fcf51 - storing etemplate form name and variable prefix into egw_actionManager to be able to work on a 2. eTemplate on a page (InfoLog in Addressbook view)
- moving (open|hide|submit)_popup used in InfoLog and Tracker to etemplate, so code can be shared
  --> change 'onExecute' => 'javaScript:open_popup' to 'nm_action' => 'open_popup' and onclick="(hide|submit)_popup()" to onclick="nm_(hide|submit)_popup()"
2011-05-07 08:47:58 +00:00
Ralf Becker
1e8de99ed7 Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
- etemplate::show_grid() 
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
dc88e0c190 - automatic creation of action_links (enabled actions and ones which need to be checked if enabled) by using all first level actions plus the ones with enabled set to 'javaScript:...'
- a bit of docu about the actions system usable through nextmatch widget
--> addressbook disables now "remove from distirbution list" and "delete selected distribution list", if no distribution list is selected
2011-04-26 19:50:03 +00:00
Ralf Becker
6081a5749d timesheet context menus are now complete:
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
  + Delete this entry
  + Delete these entries
  + You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +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
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
Ralf Becker
43d2411ba1 fixing some warnings 2010-11-10 08:26:41 +00:00
Ralf Becker
af7a24eb9a framework->navbar() now automatically calls framework->header(), this way navbar or sidebox can include JS or CSS, because header is called after 2010-10-18 10:46:47 +00:00
Ralf Becker
0dd58b36cf quiten warning if $cell[size] is an array 2010-10-12 07:48:35 +00:00
Ralf Becker
f156301f25 fixed wrongly display blur text for value "0" 2010-08-12 18:03:03 +00:00
Ralf Becker
bb468774f7 quitened warning 2010-08-01 12:47:26 +00:00
Ralf Becker
b9bfd285a5 fixed not working checkboxes after r31472 2010-07-22 13:09:33 +00:00
Ralf Becker
4da973400c allow and validate needed (required) attribute for file uploads, checkboxes and radio buttons 2010-07-21 08:21:42 +00:00
Ralf Becker
b5f35a4b75 validating (string) === '' (instead === ''), as on ajax commit no yet set inputs are returned as null instead of '' 2010-07-13 20:47:25 +00:00
Ralf Becker
88ebb437c2 methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class 2010-06-15 16:08:10 +00:00
Ralf Becker
b43a3843d2 fixing bug #2609: Saving attached files to the filemanager doesn't work 2010-05-25 13:17:46 +00:00
Ralf Becker
a3a3fa1671 "new feature to explicitly set an id for widgets: prefix name with a hash --> id is the name without the hash, and NOT the form_name as before
Should not create any backward compatibilty issues - fingers crossed ;-)"
2010-05-20 09:06:53 +00:00