Commit Graph

119 Commits

Author SHA1 Message Date
Ralf Becker
ca85133247 * ProjectManager: fixed project-tree was not shown in idots template
caused by etemplate change in r46410 calling header explicitly before navbar, causing navbar no longer being able to add stuff to header, eg. include javascript
thats now fixed by reverting the change and fixing idots_framework::navbar() to still call header, if $navbar_done is set
2014-05-15 09:32:01 +00:00
Ralf Becker
e84aa9972f ignore_validation_match method from trunk 2014-04-08 12:21:48 +00:00
Ralf Becker
bd7b014c7b reverted stuff for type "text" 2014-04-08 12:06:49 +00:00
Ralf Becker
8a529cc4af * eTemplate/all apps: removed custom-field widget type IP again, as it caused too many problems in various modules 2014-04-08 11:52:12 +00:00
Ralf Becker
5df1bb6ea6 allways explicitly calling header, to allow to supress navbar via egw_framework::$navbar_done=true 2014-03-26 12:18:51 +00:00
Ralf Becker
53ea91d893 using $readonlys["__ALL__"] with explicit $readonlys[$name] = false was NOT working for extensions 2014-03-24 09:05:47 +00:00
Ralf Becker
b07aee1ae0 allow to use namespaced $readonlys for grids, eg. grid uses "grid" as name, you can now set $readonlys["grid"]["something"] as well as $readonlys["something"] like in eTemplate2 2014-03-14 09:33:15 +00:00
Ralf Becker
dbb22b6f79 restoring value at end of etemplate::show_cell() as it is a reference into content and some widgets (IP-address cf) rely on being able so set content while using multiple widgets with same name relys on it being unchanged 2014-02-20 09:34:36 +00:00
Ralf Becker
dbdb54abb5 * API: support for mbstring.func_overload=0 (previously we required mbstring.func_overload=7 to correctly support utf-8) 2014-02-04 16:14:46 +00:00
Ralf Becker
44ac7db6a5 fixed handling of empty name, not index into array but return full array 2014-01-06 12:54:05 +00:00
Ralf Becker
4a0090d4e3 fix exception in boetemplate::get_array() 2013-11-29 00:15:29 +00:00
Ralf Becker
eca96a4411 fixing PHP fatal error: "Object of class etemplate could not be converted to string", caused by last commit 2013-10-31 08:46:28 +00:00
Ralf Becker
aff5641761 fixed first row with index="0" got displayed wired eg. in file selection popup, caused by empty("0") === true 2013-10-31 08:31:12 +00:00
Ralf Becker
5811c50eac * All apps: new custom-field type IP-Address getting initially set with remote IP address, and allowing to set negativ length for text fields to make them readonly 2013-10-24 17:00:01 +00:00
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