first commit
This commit is contained in:
15
class/smarty_plugins/modifier.highlight.php
Normal file
15
class/smarty_plugins/modifier.highlight.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty plugin.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty {translate} function plugin.
|
||||
*
|
||||
* @return mixed|string
|
||||
*/
|
||||
function smarty_modifier_highlight($string, $words)
|
||||
{
|
||||
return emphasizeString($string, $words);
|
||||
}
|
||||
Reference in New Issue
Block a user