Update shared.make_timestamp.php
[openemr.git] / interface / language / language.php
blobb032fa15adc13a392fa11fb32d625a4e4d4083c9
1 <?php
3 //SANITIZE ALL ESCAPES
4 $sanitize_all_escapes=true;
5 //
7 //STOP FAKE REGISTER GLOBALS
8 $fake_register_globals=false;
9 //
11 //INCLUDES, DO ANY ACTIONS, THEN GET OUR DATA
12 include_once("../globals.php");
13 include_once("$srcdir/registry.inc");
14 include_once("$srcdir/sql.inc");
15 include_once("../../library/acl.inc");
16 require_once("language.inc.php");
17 require_once("$srcdir/formdata.inc.php");
19 //START OUT OUR PAGE....
21 <html>
22 <head>
23 <?php html_header_show();?>
24 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
25 <script type="text/javascript" src="../../library/overlib_mini.js"></script>
26 <script type="text/javascript" src="../../library/calendar.js"></script>
27 </head>
29 <body class="body_top">
30 <form name='translation' id='translation' method='get' action='language.php' onsubmit="return top.restoreSession()">
31 <input type='hidden' name='m' value='<?php echo htmlspecialchars($_GET['m'],ENT_QUOTES); ?>' />
32 <input type='hidden' name='edit' value='<?php echo htmlspecialchars($_GET['edit'],ENT_QUOTES); ?>' />
33 <span class="title"><?php echo htmlspecialchars(xl('Multi Language Tool'),ENT_NOQUOTES); ?></span>
34 <table>
35 <tr>
36 <td class="small" colspan='4'>
37 <a href="?m=definition" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Edit Definitions'),ENT_NOQUOTES); ?></a> |
38 <a href="?m=language" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Add Language'),ENT_NOQUOTES); ?></a> |
39 <a href="?m=constant" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Add Constant'),ENT_NOQUOTES); ?></a> |
40 <a href="?m=manage" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Manage Translations'),ENT_NOQUOTES); ?></a>
41 </td>
42 </tr>
43 </table>
44 </form>
46 <?php
47 switch ($_GET['m']):
48 case 'definition':
49 include_once('lang_definition.php');
50 break;
51 case 'constant':
52 include_once('lang_constant.php');
53 break;
54 case 'language':
55 include_once('lang_language.php');
56 break;
57 case 'manage':
58 include_once('lang_manage.php');
59 break;
60 endswitch;
63 <BR><A HREF="lang.info.html" TARGET="_blank"><?php echo htmlspecialchars(xl('Info'),ENT_NOQUOTES); ?></A>
64 </body>
65 </html>