forked from extern/egroupware
List each link on own line, add ID shortcut like filemanager, if available
This commit is contained in:
parent
79baa55fe2
commit
40fbf0a450
@ -306,9 +306,18 @@ abstract class bo_merge
|
||||
$link_titles = array();
|
||||
foreach($links as $link_id => $link_info)
|
||||
{
|
||||
$link_titles[] = egw_link::title($link_info['app'], $link_info['id']);
|
||||
$title = egw_link::title($link_info['app'], $link_info['id']);
|
||||
if(class_exists('stylite_links_stream_wrapper') && $link_info['app'] != egw_link::VFS_APPNAME)
|
||||
{
|
||||
if (!($shortcut = array_search($link_info['app'],stylite_links_stream_wrapper::$shortcut2app)))
|
||||
{
|
||||
$shortcut = $link_info['app'].':';
|
||||
}
|
||||
$title .= ' ('.$shortcut.$link_info['id'].')';
|
||||
}
|
||||
$link_titles[] = $title;
|
||||
}
|
||||
return implode(", ",$link_titles);
|
||||
return implode("\n",$link_titles);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user