CoreFiles by mySites.guru
mod_languages.php32 lines, 1,070 bytes, from Joomla_1.6.6-Stable-Full_Package.zip
Raw History Compare with 1.6.5
md5
e03b9404698a603eb0a48b57e9148e37
sha1
60fcb9d66071f7b081061861e2d887bf75976fbf
sha256
c14a20c992a74fa093bd5a79a8f0de1b68c2e90b7449fb32c2b88913aff842b7
<?php
/**
 * @version		$Id: mod_languages.php 20988 2011-03-18 08:13:24Z infograf768 $
 * @package		Joomla.Site
 * @subpackage	mod_languages
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$headerText	= JString::trim($params->get('header_text'));
$footerText	= JString::trim($params->get('footer_text'));

$cacheid = md5(JRequest::getVar('lang').$module->module);

$cacheparams = new stdClass;
$cacheparams->cachemode = 'id';
$cacheparams->class = 'modLanguagesHelper';
$cacheparams->method = 'getList';
$cacheparams->methodparams = $params;
$cacheparams->modeparams = $cacheid;

$list = JModuleHelper::moduleCache ($module, $params, $cacheparams);

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));

require JModuleHelper::getLayoutPath('mod_languages', $params->get('layout', 'default'));

The same content is in 6 releases, Joomla 1.6.2 to 1.7.0. See them all, or every version of this file.