added option to skip authorizations of patient notes
[openemr.git] / interface / language / language.php
blob7f294509034c6c0842edfd690d838a4bd827808e
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");
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>
19 <body class="body_top">
20 <span class="title"><?php xl('Multi Language Tool','e') ?></span>
21 <div class="text">
22 <br>
24 <?php
25 /* menu */
26 $sql="SELECT * FROM lang_languages ORDER BY lang_id";
27 $res=SqlStatement($sql);
28 $string='|';
29 while ($row=SqlFetchArray($res)){
30 $string.='| <a href=?m=definition&edit='.$row['lang_id'].'>'.$row['lang_description'].'</a> |';
32 $string.='|';
34 echo ("<a href=\"?m=language&language=add\">".xl('Add Language')."</a> or ");
35 echo ("<a href=\"?m=constant&constant=add\">".xl('Add Constant')."</a> or ");
36 echo (xl('Edit definitions').": $string <br><br>");
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 endswitch;
53 <A HREF="lang.info.html"><?php xl('Info','e'); ?></A>
54 </div>