- Timestamp:
- 2012/11/16 14:34:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/smarty_extends/function.t.php
r22005 r22099 19 19 */ 20 20 function smarty_function_t($params, &$smarty) { 21 // 多言語対応用の関数が定義されていなければエラーを出力 22 if (!function_exists('t')) { 23 $smarty->_trigger_fatal_error("[plugin] function 't' is not defined"); 24 return; 25 } 26 21 27 // エイリアスが無ければエラーを出力 22 28 if (empty($params['string'])) { … … 40 46 } 41 47 42 return SC_I18n_Ex::t($string, $params, $options);48 return t($string, $params, $options); 43 49 }
Note: See TracChangeset
for help on using the changeset viewer.
