Source for file admin.languages.php
Documentation is available at admin.languages.php
* @copyright Refer to copyright.php
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author Mambo Foundation Inc see README.php
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// ensure user has access to this component
if (!$acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_languages' ) ) {
mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') );
require_once(mamboCore::get('rootPath').
'/includes/phpgettext/error.php');
require_once(mamboCore::get('rootPath').
'/includes/phpgettext/phpgettext.catalog.php');
require_once(dirname(__FILE__
).
DIRECTORY_SEPARATOR.
'admin.languages.class.php');
$session =
& $request->session();
if (isset
($session['mosmsg'])) {
$request->set('mosmsg', $session['mosmsg']);
unset
($session['mosmsg']);
$lang =
$session['lang'] =
mosGetParam($_POST, 'lang', isset
($session['lang']) ?
$session['lang'] :
mamboCore::get('mosConfig_locale'));
$request->set('task', $task);
$request->set('act', $act);
$request->set('lang', $lang);
$request->set('languages', $languages);
foreach ($request->get() as $key =>
$value) {
$renderer->addvar($key, $value);
$controller->forward($task);
ini_set('include_path', $include_path);
Documentation generated on Mon, 05 May 2008 16:15:23 +0400 by phpDocumentor 1.4.0