This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/smarty/plugins/block.translate.php
2011-05-03 09:49:04 +10:00

12 lines
282 B
PHP

<?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);
}
?>