Compact css tweak
[openemr.git] / interface / language / language.php
blob3d6f38d77d8dac4b8dd002db1a49a3a47f494364
1 <?php
5 //INCLUDES, DO ANY ACTIONS, THEN GET OUR DATA
6 include_once("../globals.php");
7 include_once("$srcdir/registry.inc");
8 include_once("../../library/acl.inc");
9 require_once("language.inc.php");
11 //START OUT OUR PAGE....
13 <html>
14 <head>
15 <?php html_header_show();?>
16 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
17 </head>
19 <body class="body_top">
20 <form name='translation' id='translation' method='get' action='language.php' onsubmit="return top.restoreSession()">
21 <input type='hidden' name='m' value='<?php echo htmlspecialchars($_GET['m'], ENT_QUOTES); ?>' />
22 <input type='hidden' name='edit' value='<?php echo htmlspecialchars($_GET['edit'], ENT_QUOTES); ?>' />
23 <span class="title"><?php echo htmlspecialchars(xl('Multi Language Tool'), ENT_NOQUOTES); ?></span>
24 <table>
25 <tr>
26 <td class="small" colspan='4'>
27 <a href="?m=definition" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Edit Definitions'), ENT_NOQUOTES); ?></a> |
28 <a href="?m=language" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Add Language'), ENT_NOQUOTES); ?></a> |
29 <a href="?m=constant" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Add Constant'), ENT_NOQUOTES); ?></a> |
30 <a href="?m=manage" onclick="top.restoreSession()"><?php echo htmlspecialchars(xl('Manage Translations'), ENT_NOQUOTES); ?></a>
31 </td>
32 </tr>
33 </table>
34 </form>
36 <?php
37 switch ($_GET['m']) :
38 case 'definition':
39 include_once('lang_definition.php');
40 break;
41 case 'constant':
42 include_once('lang_constant.php');
43 break;
44 case 'language':
45 include_once('lang_language.php');
46 break;
47 case 'manage':
48 include_once('lang_manage.php');
49 break;
50 endswitch;
53 <BR><A HREF="lang.info.html" TARGET="_blank"><?php echo htmlspecialchars(xl('Info'), ENT_NOQUOTES); ?></A>
54 </body>
55 </html>