Fixing daily snapshot mechanism
[openemr.git] / interface / usergroup / admin_frameset.php
blob507f67bfb0fd332435de2790e4b0f4a1e4326c8c
1 <?php
2 // Cloned from usergroup.php for new layout.
4 include_once("../globals.php");
5 include_once("../../library/acl.inc");
6 ?>
7 <HTML>
8 <HEAD>
9 </HEAD>
10 <frameset rows="<?php echo $GLOBALS['navBarHeight'] ?>,*" frameborder="1"
11 border="1" framespacing="1" bordercolor="#000000">
12 <frame src="usergroup_navigation.php" name="Navigation" scrolling="no" frameborder="1" noresize>
13 <frame
14 <?php if (acl_check('admin', 'users')) { ?>
15 src="usergroup_admin.php"
16 <?php } else if (acl_check('admin', 'forms')) { ?>
17 src="../forms_admin/forms_admin.php"
18 <?php } else if (acl_check('admin', 'practice')) { ?>
19 src="<?php echo $GLOBALS['webroot'] ?>/controller.php?practice_settings"
20 <?php } else if (acl_check('admin', 'calendar')) { ?>
21 src="../main/calendar/index.php?module=PostCalendar&type=admin&func=modifyconfig"
22 <?php } else if ( (!$GLOBALS['disable_phpmyadmin_link']) && (acl_check('admin', 'database')) ) { ?>
23 src="../../phpmyadmin/index.php"
24 <?php } else { ?>
25 src="<?php echo $rootdir ?>/logview/logview.php"
26 <?php } ?>
27 name="Main" scrolling="auto" frameborder="0" noresize>
28 </frameset>
29 </HTML>