Changed version to 3.0 to match new OpenEMR release.
[openemr.git] / interface / usergroup / usergroup_navigation.php
blob0a46d8135be1e9f98bd0743ee2b6b203507703f0
1 <?php
2 include_once("../globals.php");
3 include_once("../../library/acl.inc");
4 ?>
5 <html>
6 <head>
7 <title><?php xl('Navigation','e'); ?></title>
9 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
11 </head>
12 <body class="body_nav">
14 <form border=0 method=post target="_top" name="find_patient" action="../main/finder/patient_finder.php">
16 <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
17 <tr>
19 <?php if (acl_check('admin', 'users')) { ?>
20 <td valign="middle" nowrap>
21 &nbsp;&nbsp;<a class=menu target=Main href="usergroup_admin.php"
22 onclick="top.restoreSession()"
23 title="Add or Edit Users, Groups and Facilities"><?php xl('Users','e'); ?></a>&nbsp;
24 </td>
25 <?php } ?>
27 <?php if (acl_check('admin', 'forms')) { ?>
28 <td valign="middle" nowrap>
29 &nbsp;<a class=menu target=Main href="../forms_admin/forms_admin.php"
30 onclick="top.restoreSession()"
31 title="Activate New Forms"><?php xl('Forms','e'); ?></a>&nbsp;
32 </td>
33 <?php } ?>
35 <?php if (acl_check('admin', 'practice')) { ?>
36 <td valign="middle" nowrap>
37 &nbsp;<a class=menu target=Main href="<?=$GLOBALS['webroot']?>/controller.php?practice_settings"
38 onclick="top.restoreSession()"
39 title="Practice Settings"><?php xl('Practice','e');?></a>&nbsp;
40 </td>
41 <?php } ?>
43 <?php if (acl_check('admin', 'acl') && isset($phpgacl_location)) { ?>
44 <td valign="middle" nowrap>
45 &nbsp;<a class=menu target=Main href="adminacl.php"
46 onclick="top.restoreSession()"
47 title="Access Control List Administration"><?php xl('ACL','e');?></a>&nbsp;
48 </td>
49 <?php } ?>
51 <?php if (acl_check('admin', 'calendar')) { ?>
52 <td valign="middle" nowrap>
53 &nbsp;<a class=menu target=Main href="../main/calendar/index.php?module=PostCalendar&type=admin&func=modifyconfig"
54 onclick="top.restoreSession()"
55 title="Calendar Settings"><?php xl('Calendar','e'); ?></a>&nbsp;
56 </td>
57 <?php } ?>
59 <?php if (acl_check('admin', 'database')) { ?>
60 <td valign="middle" nowrap>
61 &nbsp;<a class=menu target=Main href="../main/myadmin/index.php"
62 onclick="top.restoreSession()"
63 title="Database Reporting"><?php xl('Database','e'); ?></a>&nbsp;
64 </td>
65 <?php } ?>
67 <?php if (acl_check('admin', 'batchcom')) { ?>
68 <td valign="middle" nowrap>
69 &nbsp;<a class=menu target=Main href="../batchcom/batchcom.php"
70 onclick="top.restoreSession()"
71 title="Batch Communication and Export"><?php xl('Notification','e');?></a>&nbsp;
72 </td>
73 <?php } ?>
75 <?php if ($GLOBALS['inhouse_pharmacy'] && acl_check('admin', 'drugs')) { ?>
76 <td valign="middle" nowrap>
77 &nbsp;<a class=menu target=Main href="../drugs/drug_inventory.php"
78 onclick="top.restoreSession()"
79 title="Drug Inventory Management"><?php xl('Drugs','e');?></a>&nbsp;
80 </td>
81 <?php } ?>
83 <?php if (acl_check('admin', 'language')) { ?>
84 <td valign="middle" nowrap>
85 &nbsp;<a class=menu target=Main href="../language/language.php"
86 onclick="top.restoreSession()"
87 title="Language Management"><?php xl('Language','e'); ?></a>&nbsp;
88 </td>
89 <?php } ?>
91 <?php if (acl_check('admin', 'super')) { ?>
92 <td valign="middle" nowrap>
93 &nbsp;<a class="menu" target=Main href="../super/edit_list.php"
94 onclick="top.restoreSession()"
95 title="Selection List Management"><?php xl('Lists','e'); ?></a>&nbsp;
96 </td>
97 <td valign="middle" nowrap>
98 &nbsp;<a class="menu" target=Main href="../super/edit_layout.php"
99 onclick="top.restoreSession()"
100 title="Form Layout Management"><?php xl('Layouts','e'); ?></a>&nbsp;
101 </td>
102 <td valign="middle" nowrap>
103 &nbsp;<a class="menu" target=Main href="../main/backup.php"
104 onclick="top.restoreSession()"
105 title="System Backup"><?php xl('Backup','e'); ?></a>&nbsp;
106 </td>
107 <?php } ?>
109 <?php if (acl_check('admin', 'users')) { ?>
110 <td valign="middle" nowrap>
111 &nbsp;<a class=menu target=Main href="<?php echo $rootdir?>/logview/logview.php"
112 onclick="top.restoreSession()"
113 title="View Logs"><?php xl('Logs','e'); ?></a>&nbsp;
114 </td>
116 <?php } ?>
118 <!-- DBC menu ============================ -->
119 <? if ( (acl_check('admin', 'dbc')) && ($GLOBALS['dutchpc']) ) { ?>
120 <td valign="middle" nowrap>
121 &nbsp;<a class=menu target=Main href="<?echo $rootdir?>/dbc/dbc_main.php"
122 title="DBC Administration">DBC</a>&nbsp;
123 </td>
124 <? } ?>
125 <!-- end DBC menu ====================== -->
127 <!-- vektis menu ============================ -->
128 <? if ( (acl_check('admin', 'vektis')) && ($GLOBALS['dutchpc']) ) { ?>
129 <td valign="middle" nowrap>
130 &nbsp;<a class=menu target=Main href="<?echo $rootdir?>/vektis/vk_main.php"
131 title="Vektis Administration">Vektis</a>&nbsp;
132 </td>
133 <? } ?>
134 <!-- end vektis menu ====================== -->
136 <?php if (! $GLOBALS['concurrent_layout']) { ?>
137 <td valign="middle" align="right" nowrap>
138 &nbsp;<a class=menu href="../main/main_screen.php" target="_top" class="menu"
139 onclick="top.restoreSession()"
140 title=<?php xl('Exit from Administration','e'); ?>><?php xl('Back','e');?></a>&nbsp;&nbsp;
141 </td>
142 <?php } ?>
144 </tr>
145 </table>
147 </form>
149 </body>
150 </html>