erroneously committed these files
[openemr.git] / gacl / admin / templates_c / %%8B^8BF^8BF9EC71%%assign_group.tpl.php
blobfd83dc4971d2dbe332b2d80e14ba8c68d76b5853
1 <?php /* Smarty version 2.6.14, created on 2009-02-05 20:08:58
2 compiled from phpgacl/assign_group.tpl */ ?>
3 <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4 smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'phpgacl/assign_group.tpl', 23, false),array('modifier', 'upper', 'phpgacl/assign_group.tpl', 54, false),)), $this); ?>
5 <?php $_smarty_tpl_vars = $this->_tpl_vars;
6 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/header.tpl", 'smarty_include_vars' => array()));
7 $this->_tpl_vars = $_smarty_tpl_vars;
8 unset($_smarty_tpl_vars);
9 ?>
10 <script LANGUAGE="JavaScript">
11 <?php echo $this->_tpl_vars['js_array']; ?>
13 </script>
14 <?php $_smarty_tpl_vars = $this->_tpl_vars;
15 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/acl_admin_js.tpl", 'smarty_include_vars' => array()));
16 $this->_tpl_vars = $_smarty_tpl_vars;
17 unset($_smarty_tpl_vars);
19 </head>
20 <body onload="populate(document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
21 _section,document.assign_group.elements['objects[]'], '<?php echo $this->_tpl_vars['js_array_name']; ?>
22 ')">
23 <?php $_smarty_tpl_vars = $this->_tpl_vars;
24 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/navigation.tpl", 'smarty_include_vars' => array()));
25 $this->_tpl_vars = $_smarty_tpl_vars;
26 unset($_smarty_tpl_vars);
27 ?>
28 <form method="post" name="assign_group" action="assign_group.php">
29 <table cellpadding="2" cellspacing="2" border="2" width="100%">
30 <tbody>
31 <tr>
32 <th width="32%">Sections</th>
33 <th width="32%"><?php echo $this->_tpl_vars['object_type']; ?>
34 s</th>
35 <th width="4%">&nbsp;</th>
36 <th width="32%">Selected</th>
37 </tr>
38 <tr valign="top" align="center">
39 <td>
40 [ <a href="edit_object_sections.php?object_type=<?php echo $this->_tpl_vars['group_type']; ?>
41 &return_page=<?php echo $this->_tpl_vars['return_page']; ?>
42 ">Edit</a> ]
43 <br />
44 <select name="<?php echo $this->_tpl_vars['group_type']; ?>
45 _section" tabindex="0" size="10" width="200" onclick="populate(document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
46 _section,document.assign_group.elements['objects[]'],'<?php echo $this->_tpl_vars['js_array_name']; ?>
47 ')">
48 <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['options_sections'],'selected' => $this->_tpl_vars['section_value']), $this);?>
50 </select>
51 </td>
52 <td>
53 [ <a href="javascript: location.href = 'edit_objects.php?object_type=<?php echo $this->_tpl_vars['group_type']; ?>
54 &section_value=' + document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
55 _section.options[document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
56 _section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
57 ';">Edit</a> ]
58 [ <a href="#" onClick="window.open('object_search.php?src_form=assign_group&object_type=<?php echo $this->_tpl_vars['group_type']; ?>
59 &section_value=' + document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
60 _section.options[document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
61 _section.selectedIndex].value,'','status=yes,width=400,height=400','','status=yes,width=400,height=400');">Search</a> ]
62 <br />
63 <select name="objects[]" tabindex="0" size="10" width="200" multiple>
64 </select>
65 </td>
66 <td valign="middle">
67 <br /><input type="button" class="select" name="select" value="&nbsp;&gt;&gt;&nbsp;" onClick="select_item(document.assign_group.<?php echo $this->_tpl_vars['group_type']; ?>
68 _section, document.assign_group.elements['objects[]'], document.assign_group.elements['selected_<?php echo $this->_tpl_vars['group_type']; ?>
69 []'])">
70 <br /><input type="button" class="deselect" name="deselect" value="&nbsp;&lt;&lt;&nbsp;" onClick="deselect_item(document.assign_group.elements['selected_<?php echo $this->_tpl_vars['group_type']; ?>
71 []'])">
72 </td>
73 <td>
74 <br />
75 <select name="selected_<?php echo $this->_tpl_vars['group_type']; ?>
76 []" tabindex="0" size="10" width="200" multiple>
77 <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['options_selected_objects'],'selected' => $this->_tpl_vars['selected_object']), $this);?>
79 </select>
80 </td>
81 </tr>
82 <tr class="controls" align="center">
83 <td colspan="4">
84 <input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset">
85 </td>
86 </tr>
87 </tbody>
88 </table>
89 <br />
90 <table cellpadding="2" cellspacing="2" border="2" width="100%">
91 <tr align="center">
92 <td colspan="5"><b><?php echo $this->_tpl_vars['total_objects']; ?>
93 </b> <?php echo ((is_array($_tmp=$this->_tpl_vars['group_type'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
94 s in Group: <b><?php echo $this->_tpl_vars['group_name']; ?>
95 </b></td>
96 </tr>
97 <tr class="pager">
98 <td colspan="5">
99 <?php $_smarty_tpl_vars = $this->_tpl_vars;
100 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/pager.tpl", 'smarty_include_vars' => array('pager_data' => $this->_tpl_vars['paging_data'],'link' => "?group_type=".($this->_tpl_vars['group_type'])."&group_id=".($this->_tpl_vars['group_id'])."&")));
101 $this->_tpl_vars = $_smarty_tpl_vars;
102 unset($_smarty_tpl_vars);
104 </td>
105 </tr>
106 <tr>
107 <th>Section</th>
108 <th><?php echo $this->_tpl_vars['object_type']; ?>
109 </th>
110 <th><?php echo ((is_array($_tmp=$this->_tpl_vars['group_type'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
111 Value</th>
112 <th width="4%">Functions</th>
113 <th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th>
114 </tr>
115 <?php $_from = $this->_tpl_vars['rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
116 foreach ($_from as $this->_tpl_vars['row']):
118 <tr valign="top" align="center">
119 <td>
120 <?php echo $this->_tpl_vars['row']['section']; ?>
122 </td>
123 <td>
124 <?php echo $this->_tpl_vars['row']['name']; ?>
126 </td>
127 <td>
128 <?php echo $this->_tpl_vars['row']['value']; ?>
130 </td>
131 <td>
132 [ <a href="acl_list.php?action=Filter&filter_<?php echo $this->_tpl_vars['group_type']; ?>
133 _section=<?php echo $this->_tpl_vars['row']['section_value']; ?>
134 &filter_<?php echo $this->_tpl_vars['group_type']; ?>
135 =<?php echo $this->_tpl_vars['row']['name']; ?>
136 &return_page=<?php echo $this->_tpl_vars['return_page']; ?>
137 ">ACLs</a> ]
138 </td>
139 <td>
140 <input type="checkbox" class="checkbox" name="delete_assigned_object[]" value="<?php echo $this->_tpl_vars['row']['section_value']; ?>
141 ^<?php echo $this->_tpl_vars['row']['value']; ?>
143 </td>
144 </tr>
145 <?php endforeach; endif; unset($_from); ?>
146 <tr class="pager">
147 <td colspan="5">
148 <?php $_smarty_tpl_vars = $this->_tpl_vars;
149 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/pager.tpl", 'smarty_include_vars' => array('pager_data' => $this->_tpl_vars['paging_data'],'link' => "?")));
150 $this->_tpl_vars = $_smarty_tpl_vars;
151 unset($_smarty_tpl_vars);
153 </td>
154 </tr>
155 <tr class="controls" align="center">
156 <td colspan="3">&nbsp;</td>
157 <td colspan="2">
158 <input type="submit" class="button" name="action" value="Remove">
159 </td>
160 </tr>
161 </table>
162 <input type="hidden" name="group_id" value="<?php echo $this->_tpl_vars['group_id']; ?>
164 <input type="hidden" name="group_type" value="<?php echo $this->_tpl_vars['group_type']; ?>
166 <input type="hidden" name="return_page" value="<?php echo $this->_tpl_vars['return_page']; ?>
168 </form>
169 <?php $_smarty_tpl_vars = $this->_tpl_vars;
170 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/footer.tpl", 'smarty_include_vars' => array()));
171 $this->_tpl_vars = $_smarty_tpl_vars;
172 unset($_smarty_tpl_vars);