5 * Copyright (C) 2014 Ensoftek
7 * LICENSE: This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 3
10 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
19 * @author Hema Bandaru <hemab@drcloudemr.com>
20 * @link http://www.open-emr.org
26 include_once("../../globals.php");
28 $feature = $_GET["feature"];
29 $featureData['amendment']['title'] = xl("Amendments");
30 $featureData['amendment']['addLink'] = "add_edit_amendments.php";
31 $featureData['amendment']['listLink'] = "list_amendments.php";
36 <?php
html_header_show();?
>
37 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
39 <body
class="body_top">
41 <span
class="title"><?php
echo text($featureData[$feature]['title']); ?
></span
>
46 <a href
="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['listLink']); ?>?id=<?php echo attr($pid); ?>" target
='rightFrame' class="css_button" onclick
="top.restoreSession()">
47 <span
><?php
echo xlt('List');?
></span
></a
>
48 <?php
if (acl_check('patients', 'trans')) { ?
>
49 <a href
="<?php echo $GLOBALS['webroot']?>/interface/patient_file/summary/<?php echo attr($featureData[$feature]['addLink']); ?>" target
='rightFrame' class="css_button" onclick
="top.restoreSession()">
50 <span
><?php
echo xlt('Add');?
></span
></a
>