minor changes to prior commit
[openemr.git] / interface / usergroup / usergroup_navigation.php
blobd511f1082a0b2fdd9c3755da310ff1a54362118a
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="facilities.php"
22 onclick="top.restoreSession()"
23 title="Add or Edit Facilities"><?php xl('Facilities', 'e'); ?></a>&nbsp;
24 </td>
25 <?php } ?>
27 <?php if (acl_check('admin', 'users')) { ?>
28 <td valign="middle" nowrap>
29 &nbsp;<a class=menu target=Main href="usergroup_admin.php"
30 onclick="top.restoreSession()"
31 title="Add or Edit Users and Groups"><?php xl('Users', 'e'); ?></a>&nbsp;
32 </td>
33 <?php } ?>
35 <?php if (acl_check('admin', 'forms')) { ?>
36 <td valign="middle" nowrap>
37 &nbsp;<a class=menu target=Main href="../forms_admin/forms_admin.php"
38 onclick="top.restoreSession()"
39 title="Activate New Forms"><?php xl('Forms', 'e'); ?></a>&nbsp;
40 </td>
41 <?php } ?>
43 <?php if (acl_check('admin', 'practice')) { ?>
44 <td valign="middle" nowrap>
45 &nbsp;<a class=menu target=Main href="<?php echo $GLOBALS['webroot']?>/controller.php?practice_settings"
46 onclick="top.restoreSession()"
47 title="Practice Settings"><?php xl('Practice', 'e');?></a>&nbsp;
48 </td>
49 <?php } ?>
51 <?php if (acl_check('admin', 'acl') && isset($phpgacl_location)) { ?>
52 <td valign="middle" nowrap>
53 &nbsp;<a class=menu target=Main href="adminacl.php"
54 onclick="top.restoreSession()"
55 title="Access Control List Administration"><?php xl('ACL', 'e');?></a>&nbsp;
56 </td>
57 <?php } ?>
59 <?php if (acl_check('admin', 'calendar')) { ?>
60 <td valign="middle" nowrap>
61 &nbsp;<a class=menu target=Main href="../main/calendar/index.php?module=PostCalendar&type=admin&func=modifyconfig"
62 onclick="top.restoreSession()"
63 title="Calendar Settings"><?php xl('Calendar', '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_globals.php"
94 onclick="top.restoreSession()"
95 title="Global System Parameters"><?php xl('Globals', 'e'); ?></a>&nbsp;
96 </td>
97 <td valign="middle" nowrap>
98 &nbsp;<a class="menu" target=Main href="../super/edit_list.php"
99 onclick="top.restoreSession()"
100 title="Selection List Management"><?php xl('Lists', 'e'); ?></a>&nbsp;
101 </td>
102 <td valign="middle" nowrap>
103 &nbsp;<a class="menu" target=Main href="../super/edit_layout.php"
104 onclick="top.restoreSession()"
105 title="Form Layout Management"><?php xl('Layouts', 'e'); ?></a>&nbsp;
106 </td>
107 <td valign="middle" nowrap>
108 &nbsp;<a class="menu" target=Main href="../super/manage_site_files.php"
109 onclick="top.restoreSession()"
110 title="Site Files Management"><?php xl('Files', 'e'); ?></a>&nbsp;
111 </td>
112 <td valign="middle" nowrap>
113 &nbsp;<a class="menu" target=Main href="../main/backup.php"
114 onclick="top.restoreSession()"
115 title="System Backup"><?php xl('Backup', 'e'); ?></a>&nbsp;
116 </td>
117 <?php } ?>
119 <?php if (acl_check('admin', 'users')) { ?>
120 <td valign="middle" nowrap>
121 &nbsp;<a class=menu target=Main href="<?php echo $rootdir?>/logview/logview.php"
122 onclick="top.restoreSession()"
123 title="View Logs"><?php xl('Logs', 'e'); ?></a>&nbsp;
124 </td>
125 <?php } ?>
127 </tr>
128 </table>
130 </form>
132 </body>
133 </html>