CDR Module: Incorporated restore session in admin gui scripts.
[openemr.git] / interface / super / rules / controllers / browse / view / list.php
blob754acac0594827be7c7b8edd3793f35cbd564e37
1 <?php
2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 ?>
9 <script language="javascript" src="<?php js_src('list.js') ?>"></script>
10 <script language="javascript" src="<?php js_src('jQuery.fn.sortElements.js') ?>"></script>
12 <script type="text/javascript">
13 var list = new list_rules();
14 list.init();
15 </script>
17 <table class="header">
18 <tr>
19 <td class="title"><?php echo out( xl( 'Rules Configuration' ) ); ?></td>
20 <td>
21 <a href="index.php?action=edit!summary" class="iframe_medium css_button" onclick="top.restoreSession()">
22 <span><?php echo out( xl( 'Add new' ) ); ?></span>
23 </a>
24 </td>
25 </tr>
26 </table>
28 <div class="rule_container text">
29 <div class="rule_row header">
30 <span class="rule_title header_title"><?php echo out( xl( 'Name' ) ); ?></span>
31 <span class="rule_type header_type"><?php echo out( xl( 'Type' ) ); ?></span>
32 </div>
33 </div>
35 <!-- template -->
36 <div class="rule_row data template">
37 <span class="rule_title"><a href="index.php?action=detail!view" onclick="top.restoreSession()"></a></span>
38 <span class="rule_type"><a href="index.php?action=detail!view" onclick="top.restoreSession()"></a></span>
39 </div>