mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
allow to specify and extra title (tooltip) for the link widget
This commit is contained in:
parent
2676cb4a5c
commit
4cdf282644
@ -171,9 +171,9 @@
|
||||
return;
|
||||
}
|
||||
$cell['type'] = 'label';
|
||||
// size: [b[old]][i[talic]],[link],[activate_links],[label_for],[link_target],[link_popup_size]
|
||||
// size: [b[old]][i[talic]],[link],[activate_links],[label_for],[link_target],[link_popup_size],[link_title]
|
||||
list($cell['size']) = explode(',',$cell['size']);
|
||||
$cell['size'] .= ','.$link.',,,'.$target.','.$popup;
|
||||
$cell['size'] .= ','.$link.',,,'.$target.','.$popup.','.$value['extra_title'];
|
||||
$value = $value['title'] ? $value['title'] : $this->link->title($value['app'],$value['id']);
|
||||
return true;
|
||||
|
||||
|
@ -1009,7 +1009,7 @@ foreach($sess as $key => $val)
|
||||
case 'label': // size: [b[old]][i[talic]],[link],[activate_links],[label_for],[link_target],[link_popup_size],[link_title]
|
||||
if (is_array($value))
|
||||
break;
|
||||
list($style,$extra_link,$activate_links,$label_for,$extra_link_target,$extra_link_popup,$extra_link_title) = explode(',',$cell_options);
|
||||
list($style,$extra_link,$activate_links,$label_for,$extra_link_target,$extra_link_popup,$extra_link_title) = explode(',',$cell_options,7);
|
||||
$value = strlen($value) > 1 && !$cell['no_lang'] ? lang($value) : $value;
|
||||
$value = nl2br($this->html->htmlspecialchars($value));
|
||||
if ($activate_links) $value = $this->html->activate_links($value);
|
||||
|
Loading…
Reference in New Issue
Block a user