コード例 #1
0
ファイル: i18n_base.php プロジェクト: Vin985/clqweb
function get_i18n_component($id, $param1 = null, $param2 = null)
{
    global $args;
    require_once GSPLUGINPATH . 'i18n_base/frontend.class.php';
    if (func_num_args() > 1) {
        $a = func_get_args();
        array_shift($a);
    } else {
        if (isset($args)) {
            $a = $args;
        } else {
            $a = array();
        }
    }
    return I18nFrontend::outputComponent($id, $a);
}