コード例 #1
0
ファイル: wordpress.php プロジェクト: Gordondalos/smart-event
<?php

class NextendText extends NextendTextAbstract
{
}
NextendText::$lng = str_replace('-', '_', get_bloginfo('language', 'raw'));
コード例 #2
0
ファイル: joomla.php プロジェクト: pguilford/vcomcc
<?php

/*
# author Roland Soos
# copyright Copyright (C) Nextendweb.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-3.0.txt GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
class NextendText extends NextendTextAbstract
{
}
$lang = JFactory::getLanguage();
NextendText::$lng = str_replace('-', '_', $lang->getTag());