<?php
/****************************************************************************************/
/* ACollab */
/****************************************************************************************/
/* Copyright (c) 2002-2004 Adaptive Technology Resource Centre / University of Toronto */
/* */
/* http://atutor.ca/acollab */
/* */
/* This program is free software. You may redistribute it and/or */
/* modify it under the terms of the GNU General Public License */
/* as published by the Free Software Foundation; either version 2 of the License, */
/* or (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, but */
/* WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
/* See the GNU General Public License for more details. */
/* */
/* You may access the GNU General Public License at: */
/* http://www.opensource.org/licenses/gpl-license.php */
/* */
/* You may contact the Adaptive Technology Resource Centre at */
/* Robarts Library, University of Toronto */
/* 130 St. George Street, Toronto, Ontario, Canada M5S 1A5 */
/* Further contact information is available at http://www.utoronto.ca/atrc/ */
/****************************************************************************************/
/* Programmer: */
/* Joel Kronenberg - ATRC */
/****************************************************************************************/
// $Id: lang.php 217 2004-06-07 15:12:23Z joel $
$page = 'localization';
$_user_location = 'admin';
define('AC_INCLUDE_PATH', '../include/');
require(AC_INCLUDE_PATH.'vitals.inc.php');
$_SECTION[0][0] = _AC('administration');
$_SECTION[0][1] = 'admin/';
$_SECTION[1][0] = _AC('language');
$_SECTION[1][1] = 'admin/lang.php';
if($_REQUEST['t']){
$_SESSION['lang'] = $_REQUEST['t'];
$_SESSION['charset'] = $langcharset[$thislang];
}
if ($_GET['file_missing']){
$errors[]=E_LANG_MISSING;
}
require(AC_INCLUDE_PATH.'admin/header.inc.php');
echo '<h2>'._AC('language').'</h2>';
if (isset($_GET['f'])) {
$f = intval($_GET['f']);
if ($f <= 0) {
/* it's probably an array */
$f = unserialize(urldecode($_GET['f']));
}
print_feedback($f);
}
if (isset($errors)) { print_errors($errors); }
require('translate.php');
require(AC_INCLUDE_PATH.'admin/footer.inc.php');
?>