1
0
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:
Cameron
2016-12-07 08:23:53 -08:00
parent 868c067fe1
commit 1796c6e146

View File

@@ -3571,6 +3571,14 @@ class e_parser
}
/**
* @param $text
* @return string
*/
public function toBadge($text)
{
return "<span class='badge'>".$text."</span>";
}