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 /****************************************************************/
14 $_REQUEST['u'] = 'admin';
16 $_user_location = 'admin';
18 $variables = array('_template', '_msgs');
19 // Get the language codes for the languages on the current system
21 define('AT_INCLUDE_PATH', '../../../include/');
24 <script language="javascript" type="text/javascript">
25 function openWindow(page) {
26 newWindow = window.open(page, "progWin", "width=400,height=200,toolbar=no,location=no");
31 <br /><form name="form1" method="post" action="mods/_core/languages/import_lang.php" enctype="multipart/form-data" onsubmit="openWindow('tools/prog.php');">
32 <input type="hidden" name="import" value="1" />
33 <table cellspacing="1" cellpadding="0" border="0" class="bodyline" width="80%" summary="" align="center">
35 <td class="cyan" colspan="2"><?php echo _AT('import_a_new_lang'); ?></td>
38 <td colspan="2"><small><?php echo _AT('import_lang_howto'); ?></small></td>
41 <td align="center" colspan="2"><br /><strong><?php echo _AT('import_a_new_lang'); ?></strong>: <input type="file" name="file" class="formfield" /> | <input type="submit" name="submit" value="<?php echo _AT('import'); ?>" class="button" /><br /><br /></td>