1 <?php
/* Smarty version 2.6.14, created on 2009-02-05 19:07:56
2 compiled from phpgacl/acl_admin.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/acl_admin.tpl', 25, 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);
10 <script LANGUAGE
="JavaScript">
11 <?php
echo $this->_tpl_vars
['js_array']; ?
>
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);
20 <body onload
="populate(document.acl_admin.aco_section,document.acl_admin.elements['aco[]'], '<?php echo $this->_tpl_vars['js_aco_array_name']; ?>
21 ');populate(document.acl_admin.aro_section,document.acl_admin.elements['aro[]'], '<?php echo $this->_tpl_vars['js_aro_array_name']; ?>
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);
28 <form method
="post" name
="acl_admin" action
="acl_admin.php" onsubmit
="select_all(document.acl_admin.elements['selected_aco[]']);select_all(document.acl_admin.elements['selected_aro[]']);select_all(document.acl_admin.elements['selected_aro[]']);return true;">
30 <table cellpadding
="2" cellspacing
="2" border
="2" align
="center">
33 <th width
="24%">Sections
</th
>
34 <th width
="24%">Access Control Objects
</th
>
35 <th width
="4%"> 
;</th
>
36 <th width
="24%">Selected
</th
>
37 <th width
="24%">Access
</th
>
39 <tr valign
="top" align
="center">
41 [ <a href
="edit_object_sections.php?object_type=aco&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
44 <select name
="aco_section" tabindex
="0" size
="10" onclick
="populate(document.acl_admin.aco_section,document.acl_admin.elements['aco[]'], '<?php echo $this->_tpl_vars['js_aco_array_name']; ?>
46 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_aco_sections'],'selected' => $this->_tpl_vars
['aco_section_value']), $this);?
>
51 [ <a href
="javascript: location.href = 'edit_objects.php?object_type=aco§ion_value=' + document.acl_admin.aco_section.options[document.acl_admin.aco_section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
54 <select name
="aco[]" tabindex
="0" size
="10" width
="200" multiple
>
58 <br
/><input type
="button" class="select" name
="select" value
=" >> " onClick
="select_item(document.acl_admin.aco_section, document.acl_admin.elements['aco[]'], document.acl_admin.elements['selected_aco[]'])">
59 <br
/><input type
="button" class="deselect" name
="deselect" value
=" << " onClick
="deselect_item(document.acl_admin.elements['selected_aco[]'])">
63 <select name
="selected_aco[]" tabindex
="0" size
="10" multiple
>
64 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_selected_aco'],'selected' => $this->_tpl_vars
['selected_aco']), $this);?
>
69 <table
class="invisible">
70 <tr align
="left"><td
><input type
="radio" class="radio" name
="allow" value
="1" <?php
if ($this->_tpl_vars
['allow'] == 1): ?
>checked
<?php
endif; ?
> /></td
><td
>Allow
</td
></tr
>
71 <tr align
="left"><td
><input type
="radio" class="radio" name
="allow" value
="0" <?php
if ($this->_tpl_vars
['allow'] == 0): ?
>checked
<?php
endif; ?
> /></td
><td
>Deny
</td
></tr
>
72 <tr
class="spacer"><td colspan
="2"></td
></tr
>
73 <tr align
="left"><td
><input type
="checkbox" class="checkbox" name
="enabled" value
="1" <?php
if ($this->_tpl_vars
['enabled'] == 1): ?
>checked
<?php
endif; ?
> /></td
><td
>Enabled
</td
></tr
>
80 <th
>Access Request Objects
</th
>
85 <tr valign
="top" align
="center">
87 [ <a href
="edit_object_sections.php?object_type=aro&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
90 <select name
="aro_section" tabindex
="0" size
="10" onclick
="populate(document.acl_admin.aro_section,document.acl_admin.elements['aro[]'],'<?php echo $this->_tpl_vars['js_aro_array_name']; ?>
92 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_aro_sections'],'selected' => $this->_tpl_vars
['aro_section_value']), $this);?
>
97 [ <a href
="javascript: location.href = 'edit_objects.php?object_type=aro§ion_value=' + document.acl_admin.aro_section.options[document.acl_admin.aro_section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
99 [ <a href
="#" onClick
="window.open('object_search.php?src_form=acl_admin&object_type=aro§ion_value=' + document.acl_admin.aro_section.options[document.acl_admin.aro_section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
100 ','','status=yes,width=400,height=400');return false;">Search
</a
> ]
102 <select name
="aro[]" tabindex
="0" size
="10" width
="200" multiple
>
106 <br
/><input type
="button" class="select" name
="select" value
=" >> " onClick
="select_item(document.acl_admin.aro_section, document.acl_admin.elements['aro[]'], document.acl_admin.elements['selected_aro[]'])">
107 <br
/><input type
="button" class="deselect" name
="deselect" value
=" << " onClick
="deselect_item(document.acl_admin.elements['selected_aro[]'])">
111 <select name
="selected_aro[]" tabindex
="0" size
="10" multiple
>
112 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_selected_aro'],'selected' => $this->_tpl_vars
['selected_aro']), $this);?
>
117 [ <a href
="group_admin.php?group_type=aro&return_page=<?php echo $this->_tpl_vars['SCRIPT_NAME']; ?>
118 ?action=<?php echo $this->_tpl_vars['action']; ?>
119 &acl_id=<?php echo $this->_tpl_vars['acl_id']; ?>
122 <select name
="aro_groups[]" tabindex
="0" size
="8" multiple
>
123 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_aro_groups'],'selected' => $this->_tpl_vars
['selected_aro_groups']), $this);?
>
126 <br
/><input type
="button" class="un-select" name
="Un-Select" value
="Un-Select" onClick
="unselect_all(document.acl_admin.elements['aro_groups[]'])">
132 [ <a href
="javascript: showObject('axo_row1');showObject('axo_row2');setCookie('show_axo',1);">Show
</a
> / <a href
="javascript: hideObject('axo_row1');hideObject('axo_row2');deleteCookie('show_axo');">Hide
</a
> ] Access eXtension
Objects (Optional
)
136 <tr id
="axo_row1" <?php
if (! $this->_tpl_vars
['show_axo']): ?
>class="hide"<?php
endif; ?
>>
138 <th
>Access eXtension Objects
</th
>
143 <tr valign
="top" align
="center" id
="axo_row2" <?php
if (! $this->_tpl_vars
['show_axo']): ?
>class="hide"<?php
endif; ?
>>
145 [ <a href
="edit_object_sections.php?object_type=axo&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
148 <select name
="axo_section" tabindex
="0" size
="10" onclick
="populate(document.acl_admin.axo_section,document.acl_admin.elements['axo[]'],'<?php echo $this->_tpl_vars['js_axo_array_name']; ?>
150 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_axo_sections'],'selected' => $this->_tpl_vars
['axo_section_value']), $this);?
>
155 [ <a href
="javascript: location.href = 'edit_objects.php?object_type=axo§ion_value=' + document.acl_admin.axo_section.options[document.acl_admin.axo_section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
157 [ <a href
="#" onClick
="window.open('object_search.php?src_form=acl_admin&object_type=axo§ion_value=' + document.acl_admin.axo_section.options[document.acl_admin.axo_section.selectedIndex].value + '&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
158 ','','status=yes,width=400,height=400');return false;">Search
</a
> ]
160 <select name
="axo[]" tabindex
="0" size
="10" width
="200" multiple
>
164 <br
/><input type
="button" class="select" name
="select" value
=" >> " onClick
="select_item(document.acl_admin.axo_section, document.acl_admin.elements['axo[]'], document.acl_admin.elements['selected_axo[]'])">
165 <br
/><input type
="button" class="deselect" name
="deselect" value
=" << " onClick
="deselect_item(document.acl_admin.elements['selected_axo[]'])">
169 <select name
="selected_axo[]" tabindex
="0" size
="10" multiple
>
170 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_selected_axo'],'selected' => $this->_tpl_vars
['selected_axo']), $this);?
>
175 [ <a href
="group_admin.php?group_type=axo&return_page=<?php echo $this->_tpl_vars['SCRIPT_NAME']; ?>
176 ?action=<?php echo $this->_tpl_vars['action']; ?>
177 &acl_id=<?php echo $this->_tpl_vars['acl_id']; ?>
180 <select name
="axo_groups[]" tabindex
="0" size
="8" multiple
>
181 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_axo_groups'],'selected' => $this->_tpl_vars
['selected_axo_groups']), $this);?
>
184 <br
/><input type
="button" class="un-select" name
="Un-Select" value
="Un-Select" onClick
="unselect_all(document.acl_admin.elements['axo_groups[]'])">
189 <th colspan
="5">Miscellaneous Attributes
</th
>
191 <tr valign
="top" align
="left">
196 <b
>Extended
Return Value
:</b
>
199 <input type
="text" name
="return_value" size
="50" value
="<?php echo $this->_tpl_vars['return_value']; ?>
203 <tr valign
="top" align
="left">
205 [ <a href
="edit_object_sections.php?object_type=acl&return_page=<?php echo $this->_tpl_vars['return_page']; ?>
208 <select name
="acl_section" tabindex
="0" size
="3">
209 <?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars
['options_acl_sections'],'selected' => $this->_tpl_vars
['acl_section_value']), $this);?
>
213 <td
><b
>Note
:</b
></td
>
214 <td colspan
="4"><textarea name
="note" rows
="4" cols
="40"><?php
echo $this->_tpl_vars
['note']; ?
>
217 <tr
class="controls" align
="center">
219 <input type
="submit" class="button" name
="action" value
="Submit"> <input type
="reset" class="button" value
="Reset">
224 <input type
="hidden" name
="acl_id" value
="<?php echo $this->_tpl_vars['acl_id']; ?>
226 <input type
="hidden" name
="return_page" value
="<?php echo $this->_tpl_vars['return_page']; ?>
230 <?php
$_smarty_tpl_vars = $this->_tpl_vars
;
231 $this->_smarty_include(array('smarty_include_tpl_file' => "phpgacl/footer.tpl", 'smarty_include_vars' => array()));
232 $this->_tpl_vars
= $_smarty_tpl_vars;
233 unset($_smarty_tpl_vars);