- Add app filter

- List should be comma separated
- Add attachments translation
This commit is contained in:
Nathan Gray 2011-10-25 22:50:05 +00:00
parent adfe721ba7
commit 18e38b1dfc
2 changed files with 4 additions and 3 deletions

View File

@ -300,15 +300,15 @@ abstract class bo_merge
* *
* Uses egw_link system to get link titles * Uses egw_link system to get link titles
*/ */
protected function get_links($app, $id) protected function get_links($app, $id, $only_app)
{ {
$links = egw_link::get_links($app, $id); $links = egw_link::get_links($app, $id, $only_app);
$link_titles = array(); $link_titles = array();
foreach($links as $link_id => $link_info) foreach($links as $link_id => $link_info)
{ {
$link_titles[] = egw_link::title($link_info['app'], $link_info['id']); $link_titles[] = egw_link::title($link_info['app'], $link_info['id']);
} }
return implode("\n",$link_titles); return implode(", ",$link_titles);
} }
/** /**

View File

@ -252,6 +252,7 @@ linkentry etemplate en Link entry
linklist etemplate en Link list linklist etemplate en Link list
linkstring etemplate en Link string linkstring etemplate en Link string
linkto etemplate en Link to linkto etemplate en Link to
list of files linked to the current record preferences en List of files linked to the current record
load this template into the editor etemplate en Load template to the editor load this template into the editor etemplate en Load template to the editor
maximum size for uploads filemanager en Maximum upload size maximum size for uploads filemanager en Maximum upload size
message ... etemplate en Message ... message ... etemplate en Message ...