added a global option to turn off support for the embedded phpmyadmin contributed...
[openemr.git] / interface / language / language.php
blob3c88ade6d96ff338049fb724b04129fe11e54028
1 <?php
2 //INCLUDES, DO ANY ACTIONS, THEN GET OUR DATA
3 include_once("../globals.php");
4 include_once("$srcdir/registry.inc");
5 include_once("$srcdir/sql.inc");
6 include_once("../../library/acl.inc");
7 require_once("language.inc.php");
8 require_once("$srcdir/formdata.inc.php");
10 //START OUT OUR PAGE....
12 <html>
13 <head>
14 <?php html_header_show();?>
15 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
16 <script type="text/javascript" src="../../library/overlib_mini.js"></script>
17 <script type="text/javascript" src="../../library/calendar.js"></script>
18 </head>
20 <body class="body_top">
21 <form name='translation' id='translation' method='get' action='language.php' onsubmit="return top.restoreSession()">
22 <input type='hidden' name='m' value='<?php echo strip_escape_custom($_GET['m']); ?>' />
23 <input type='hidden' name='edit' value='<?php echo strip_escape_custom($_GET['edit']); ?>' />
24 <span class="title"><?php xl('Multi Language Tool','e') ?></span>
25 <table>
26 <tr>
27 <td class="small" colspan='4'>
28 <a href="?m=definition" onclick="top.restoreSession()"><?php xl('Edit Definitions','e'); ?></a> |
29 <a href="?m=language" onclick="top.restoreSession()"><?php xl('Add Language','e'); ?></a> |
30 <a href="?m=constant" onclick="top.restoreSession()"><?php xl('Add Constant','e'); ?></a> |
31 <a href="?m=manage" onclick="top.restoreSession()"><?php xl('Manage Translations','e'); ?></a>
32 </td>
33 </tr>
34 </table>
35 </form>
37 <?php
38 switch ($_GET['m']):
39 case 'definition':
40 include_once('lang_definition.php');
41 break;
42 case 'constant':
43 include_once('lang_constant.php');
44 break;
45 case 'language':
46 include_once('lang_language.php');
47 break;
48 case 'manage':
49 include_once('lang_manage.php');
50 break;
51 endswitch;
54 <BR><A HREF="lang.info.html" TARGET="_blank"><?php xl('Info','e'); ?></A>
55 </body>
56 </html>