OSB enhancements to date
This commit is contained in:
11
includes/smarty/plugins/block.translate.php
Normal file
11
includes/smarty/plugins/block.translate.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @block depreated in favour of {t}
|
||||
*/
|
||||
function smarty_block_translate($params,$content,&$smarty,&$repeat) {
|
||||
if (! trim($content))
|
||||
return;
|
||||
|
||||
printf('Translate deprecated in favour of {t}: [%s:%s]',isset($params['module']) ? $params['module'] : 'core',$content);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user