forked from extern/egroupware
implement bold, as it is used by notifications_popup
This commit is contained in:
parent
20331879b1
commit
c0c21e8789
@ -995,6 +995,17 @@ egw_LAB.wait(function() {
|
||||
return '<a href="'.self::htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
|
||||
}
|
||||
|
||||
/**
|
||||
* representates a b tag (bold)
|
||||
*
|
||||
* @param string $content of the link, if '' only the opening tag gets returned
|
||||
* @return string the html
|
||||
*/
|
||||
static function bold($content)
|
||||
{
|
||||
return '<b>'.($content?$content.'</b>':'');
|
||||
}
|
||||
|
||||
/**
|
||||
* representates a hr tag (horizontal rule)
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user