mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Fixes #2100 toBadge() method added for Bootstrap badge numbers.
This commit is contained in:
@@ -3571,6 +3571,14 @@ class e_parser
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $text
|
||||
* @return string
|
||||
*/
|
||||
public function toBadge($text)
|
||||
{
|
||||
return "<span class='badge'>".$text."</span>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user