From dc88e0c190f264fbbb8ac6b8b49e7dac7a5f420b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 26 Apr 2011 19:50:03 +0000 Subject: [PATCH] - 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 --- etemplate/inc/class.etemplate.inc.php | 8 +++++--- etemplate/inc/class.nextmatch_widget.inc.php | 18 ++++++++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 957b9424fc..fefb1423ea 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -972,6 +972,8 @@ class etemplate extends boetemplate // prefix given here $prefix = "egw_"; + $action_links = array(); + $html .= '