added general-purpose fax support
[openemr.git] / interface / main / main_navigation.php
blob57477f5f63c7cfbbf32a7a1783a2e001a9ca841d
1 <?
2 include_once("../globals.php");
3 include_once("../../library/acl.inc");
4 ?>
5 <html>
6 <head>
7 <title>Navigation</title>
9 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
11 </head>
12 <body <?echo $nav_bg_line;?> topmargin=0 rightmargin=4 leftmargin=2 marginheight=0 bottommargin=0 link=#000000 vlink=#000000 alink=#000000>
14 <form border=0 method=post target="_top" name="find_patient" action="<?echo $rootdir?>/main/finder/patient_finder.php">
15 <?//<form border=0>?>
17 <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
18 <tr>
19 <td width="10%" nowrap>
20 <?//<a href="javascript:document.find_patient.action='finder/patient_finder_keyboard.php';document.find_patient.submit();" class=link>Find Patient:</a>?>
21 <input type="entry" size="10" name="patient" />
22 <select name="findBy" size=1>
23 <option value="ID"><? xl ('ID','e'); ?></option>
24 <option value="Last" selected><? xl ('Name','e'); ?></option>
25 <option value="SSN"><? xl ('SSN','e'); ?></option>
26 <option value="DOB"><? xl ('DOB','e'); ?></option>
27 </select>
28 </td>
30 <td width="5%" nowrap>
31 <a href="javascript:document.find_patient.action='<?echo $rootdir?>/main/finder/patient_finder.php';document.find_patient.submit();" class=link>&nbsp;<? xl('Find','e'); ?>&nbsp;<? xl('Patient','e'); ?></a>
32 &nbsp;
33 </td>
36 $npauth = acl_check('patients', 'demo');
37 if ($npauth == 'write' || $npauth == 'addonly') {
39 <td align="center" nowrap>
40 &nbsp;<a class="menu" target=_top href="../new/new_patient.php"><? xl('New','e'); ?>&nbsp;<? xl('Patient','e'); ?></a>&nbsp;
41 </td>
42 <? } ?>
44 <td align="center" nowrap>
45 &nbsp;<a href="../usergroup/user_info.php" target="Main" class="menu"><? xl('Password','e'); ?></a>&nbsp;
46 </td>
48 <? if (acl_check('admin', 'calendar') || acl_check('admin', 'database') ||
49 acl_check('admin', 'forms') || acl_check('admin', 'practice') ||
50 acl_check('admin', 'users')) { ?>
51 <td align="center" nowrap>
52 &nbsp;<a class=menu target=_top href="../usergroup/usergroup.php"><? xl('Administration','e'); ?></a>&nbsp;
53 </td>
54 <? } ?>
56 <td align="center" nowrap>
57 &nbsp;<a href="../reports/index.php" target="Main" class="menu"><? xl('Reports','e'); ?></a>&nbsp;
58 </td>
60 <td align="center" nowrap>
61 &nbsp;<a href="onotes/office_comments.php" target="Main" class="menu"><? xl('Notes','e'); ?></a>&nbsp;
62 </td>
64 <? if ($GLOBALS['hylafax_server']) { ?>
65 <td align="center" nowrap>
66 &nbsp;<a href="../fax/faxq.php" target="Main" class="menu"><? xl('Fax','e'); ?></a>&nbsp;
67 </td>
68 <? } ?>
70 <? if (acl_check('acct', 'rep') || acl_check('acct', 'eob') || acl_check('acct', 'bill')) { ?>
71 <td align="center" nowrap>
72 &nbsp;<a href="../billing/billing_report.php" target="Main" class="menu"><? xl('Billing','e'); ?></a>&nbsp;
73 </td>
74 <? } ?>
76 <? if ($GLOBALS['athletic_team']) { ?>
77 <td align="center" nowrap>
78 &nbsp;<a href="../reports/players_report.php?embed=1" target="Main" class="menu"><? xl('Roster','e'); ?></a>&nbsp;
79 </td>
80 <td align="center" nowrap>
81 &nbsp;<a href="main.php" target="Main" class="menu"><? xl('Calendar','e'); ?></a>&nbsp;
82 </td>
83 <? } else { ?>
84 <td align="center" nowrap>
85 &nbsp;<a href="main.php" target="Main" class="menu"><? xl('Home','e'); ?></a>&nbsp;
86 </td>
87 <? } ?>
89 <td align="center" nowrap>
90 &nbsp;<a href="../logout.php?auth=logout" target="_top" class="menu"><? xl('Logout','e'); ?></a>&nbsp;&nbsp;
91 </td>
93 </tr>
94 </table>
96 </form>
98 </body>
99 </html>