mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
class.uiinfolog.edit can handle the action_id now with multiple IDs from
the Addressbook. They are all linked now.
This commit is contained in:
parent
69ac5df990
commit
45e293e989
@ -907,7 +907,6 @@ class uiinfolog
|
||||
//echo "<p>uiinfolog::edit: info_id=$info_id, action='$action', action_id='$action_id', type='$type', referer='$referer'</p>\n";
|
||||
|
||||
$content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id );
|
||||
|
||||
if (is_numeric($_REQUEST['cat_id']))
|
||||
{
|
||||
$content['info_cat'] = (int) $_REQUEST['cat_id'];
|
||||
@ -1004,6 +1003,13 @@ class uiinfolog
|
||||
case 'projects':
|
||||
case 'calendar':
|
||||
default: // to allow other apps to participate
|
||||
if (strpos($action_id,',') !== false)
|
||||
{
|
||||
foreach (explode(',',$action_id) as $id)
|
||||
{
|
||||
egw_link::link('infolog',$content['link_to']['to_id'],$action,$id);
|
||||
}
|
||||
}
|
||||
$content['info_contact'] = $action.':'.$action_id;
|
||||
$content['blur_title'] = egw_link::title($action,$action_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user