1. Check existence of mb_string, mysql and xml extensions before installation.
[openemr.git] / gacl / admin / templates / phpgacl / edit_object_sections.tpl
blob82fde3be2ce345ae26177510fabd5eada00fcc11
1 {include file="phpgacl/header.tpl"}
2 {include file="phpgacl/acl_admin_js.tpl"}
3   </head>
4   <body>
5     {include file="phpgacl/navigation.tpl"}  
6     <form method="post" name="edit_object_sections" action="edit_object_sections.php">
7       <table cellpadding="2" cellspacing="2" border="2" width="100%">
8         <tbody>
9           <tr class="pager">
10             <td colspan="11">
11                 {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
12             </td>
13           </tr>
14           <tr>
15             <th width="2%">ID</th>
16             <th>Value</th>
17             <th>Order</th>
18             <th>Name</th>
19             <th width="4%">Functions</th>
20             <th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th>
21           </tr>
22 {section name=x loop=$sections}
23           <tr valign="top" align="center">
24             <td>
25               {$sections[x].id}
26               <input type="hidden" name="sections[{$sections[x].id}][]" value="{$sections[x].id}">
27             </td>
28             <td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].value}"></td>
29             <td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].order}"></td>
30             <td><input type="text" size="40" name="sections[{$sections[x].id}][]" value="{$sections[x].name}"></td>
31             <td>&nbsp;</td>
32             <td><input type="checkbox" class="checkbox" name="delete_sections[]" value="{$sections[x].id}"></td>
33           </tr>
34 {/section}
35           <tr class="pager">
36             <td colspan="6">
37                 {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
38             </td>
39           </tr>
40           <tr class="spacer">
41             <td colspan="6"></td>
42           </tr>
43           <tr align="center">
44             <td colspan="6"><b>Add {$object_type|upper} Sections</b></td>
45           </tr>
46           <tr>
47             <th>ID</th>
48             <th>Value</th>
49             <th>Order</th>
50             <th>Name</th>
51             <th>Functions</th>
52             <th>&nbsp;</td>
53           </tr>
54 {section name=y loop=$new_sections}
55           <tr valign="top" align="center">
56             <td>N/A</td>
57             <td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
58             <td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
59             <td><input type="text" size="40" name="new_sections[{$new_sections[y].id}][]" value=""></td>
60             <td>&nbsp;</td>
61             <td>&nbsp;</td>
62           </tr>
63 {/section}
64           <tr class="controls" align="center">
65             <td colspan="4">
66               <input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset">
67             </td>
68             <td colspan="2">
69               <input type="submit" class="button" name="action" value="Delete">
70             </td>
71           </tr>
72         </tbody>
73       </table>
74     <input type="hidden" name="object_type" value="{$object_type}">
75     <input type="hidden" name="return_page" value="{$return_page}">
76     </form>
77 {include file="phpgacl/footer.tpl"}