1: <?php
2: /*
3: You may not change or alter any portion of this comment or credits
4: of supporting developers from this source code or any supporting source code
5: which is considered copyrighted (c) material of the original comment or credit authors.
6:
7: This program is distributed in the hope that it will be useful,
8: but WITHOUT ANY WARRANTY; without even the implied warranty of
9: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10: */
11:
12: /**
13: * @copyright XOOPS Project (http://xoops.org)
14: * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
15: * @package Xmf
16: * @since 0.1
17: * @author trabis <lusopoemas@gmail.com>
18: * @version $Id: functions.php 8065 2011-11-06 02:02:32Z beckmi $
19: */
20:
21: defined('XMF_EXEC') or die('Restricted access on ' . __FILE__);
22:
23: /**
24: * Wrapper for Xmf_Language
25: *
26: * @param string $string
27: * @param string $default
28: * @return void
29: */
30: function _ee($string, $default = null)
31: {
32: echo Xmf_Language::_($string, $default);
33: }
34:
35: /**
36: * Wrapper for Xmf_Language
37: *
38: * @param string $string
39: * @param string $default
40: * @return mixed|string
41: */
42: function _tt($string, $default = null)
43: {
44: return Xmf_Language::_($string, $default);
45: }
46: