2 /****************************************************************/
4 /****************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /****************************************************************/
15 define('AT_INCLUDE_PATH', '../../../include/');
16 require(AT_INCLUDE_PATH.'vitals.inc.php');
17 admin_authenticate(AT_ADMIN_PRIV_LANGUAGES);
19 if (isset($_POST['svn_submit'])) {
20 $languageManager->liveImport($addslashes($_POST['import_lang']));
21 header('Location: '.$_SERVER['PHP_SELF']);
25 require(AT_INCLUDE_PATH.'header.inc.php');
29 if (!defined('AT_DEVEL_TRANSLATE') || !AT_DEVEL_TRANSLATE) {
30 $button_state = 'disabled="disabled"';
33 $savant->assign('button_state', $button_state);
34 $savant->display('admin/system_preferences/language_translate.tmpl.php');
35 require(AT_INCLUDE_PATH.'footer.inc.php'); ?>