/usr/share/phpgacl/admin/templates/phpgacl/acl_list.tpl is in phpgacl 3.3.7-7.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | {include file="phpgacl/header.tpl"}
{include file="phpgacl/acl_admin_js.tpl"}
{literal}
<style type="text/css">
ul {
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
list-style-type: none;
}
ul li {
padding: 0px;
margin: 0px;
font-weight: bold;
}
ol {
padding: 0px 0px 0px 22px;
margin: 0px;
}
ol li {
padding: 0px;
margin: 0px;
font-weight: normal;
}
div.divider {
margin: 2px 0px;
padding: 0px;
border-bottom: 1px solid grey;
}
input.filter {
width: 99%;
}
select.filter {
width: 99%;
margin-top: 0px;
}
</style>
{/literal}
</head>
<body>
{include file="phpgacl/navigation.tpl"}
<form method="get" name="acl_list" action="acl_list.php">
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tr align="center">
<td colspan="6"><b>Filter</b></td>
</tr>
<tr>
<th width="12%"> </th>
<th width="22%">ACO</th>
<th width="22%">ARO</th>
<th width="22%">AXO</th>
<th width="22%" colspan="2">ACL</th>
</tr>
<tr valign="middle" align="center">
<td align="left"><b>Section:</b> </td>
<td>
<select name="filter_aco_section" tabindex="0" class="filter">
{html_options options=$options_filter_aco_sections selected=$filter_aco_section}
</select>
</td>
<td>
<select name="filter_aro_section" tabindex="0" class="filter">
{html_options options=$options_filter_aro_sections selected=$filter_aro_section}
</select>
</td>
<td>
<select name="filter_axo_section" tabindex="0" class="filter">
{html_options options=$options_filter_axo_sections selected=$filter_axo_section}
</select>
</td>
<td colspan="2">
<select name="filter_acl_section" tabindex="0" class="filter">
{html_options options=$options_filter_acl_sections selected=$filter_acl_section}
</select>
</td>
</tr>
<tr valign="middle" align="center">
<td align="left"><b>Object:</b> </td>
<td><input type="text" name="filter_aco" size="20" value="{$filter_aco}" class="filter"></td>
<td><input type="text" name="filter_aro" size="20" value="{$filter_aro}" class="filter"></td>
<td><input type="text" name="filter_axo" size="20" value="{$filter_axo}" class="filter"></td>
<td align="left" width="11%"><b>Allow:</b> </td>
<td align="left" width="11%">
<select name="filter_allow" tabindex="0" class="filter">
{html_options options=$options_filter_allow selected=$filter_allow}
</select>
</td>
</tr>
<tr valign="middle" align="center">
<td align="left"><b>Group:</b> </td>
<td> </td>
<td><input type="text" name="filter_aro_group" size="20" value="{$filter_aro_group}" class="filter"></td>
<td><input type="text" name="filter_axo_group" size="20" value="{$filter_axo_group}" class="filter"></td>
<td align="left"><b>Enabled:</b> </td>
<td align="left">
<select name="filter_enabled" tabindex="0" class="filter">
{html_options options=$options_filter_enabled selected=$filter_enabled}
</select>
</td>
</tr>
<tr valign="middle" align="left">
<td><b>Return Value:</b> </td>
<td colspan="5"><input type="text" name="filter_return_value" size="50" value="{$filter_return_value}" class="filter"></td>
</tr>
<tr class="controls" align="center">
<td colspan="6"><input type="submit" class="button" name="action" value="Filter"></td>
</tr>
</table>
<br />
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tr class="pager">
<td colspan="8">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?action=$action&filter_aco_section=$filter_aco_section&filter_aco=$filter_aco&filter_aro_section=$filter_aro_section&filter_aro=$filter_aro&filter_axo_section=$filter_axo_section&filter_axo=$filter_axo&filter_aro_group=$filter_aro_group&filter_axo_group=$filter_axo_group&filter_return_value=$filter_return_value&filter_allow=$filter_allow&filter_enabled=$filter_enabled&"}
</td>
</tr>
<tr>
<th width="2%">ID</th>
<th width="24%">ACO</th>
<th width="24%">ARO</th>
<th width="24%">AXO</th>
<th width="10%">Access</th>
<th width="10%">Enabled</th>
<th width="4%">Functions</th>
<th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th>
</tr>
{foreach from=$acls item=acl}
{cycle assign=class values="odd,even"}
<tr class="{$class}">
<td valign="middle" rowspan="3" align="center">{$acl.id}</td>
<td valign="top" align="left">
{if count($acl.aco) gt 0}
<ul>
{foreach from=$acl.aco key=section item=objects}
<li>{$section}<ol>
{foreach from=$objects item=obj}
<li>{$obj}</li>
{/foreach}
</ol></li>
{/foreach}
</ul>
{else}
{/if}
</td>
<td valign="top" align="left">
{if count($acl.aro) gt 0}
<ul>
{foreach from=$acl.aro key=section item=objects}
<li>{$section}<ol>
{foreach from=$objects item=obj}
<li>{$obj}</li>
{/foreach}
</ol></li>
{/foreach}
</ul>
{if count($acl.aro_groups) gt 0}
<div class="divider"></div>
{/if}
{/if}
{if count($acl.aro_groups) gt 0}
<b>Groups</b><ol>
{foreach from=$acl.aro_groups item=group}
<li>{$group}</li>
{/foreach}
</ol>
{/if}
</td>
<td valign="top" align="left">
{if count($acl.axo) gt 0}
<ul>
{foreach from=$acl.axo key=section item=objects}
<li>{$section}<ol>
{foreach from=$objects item=obj}
<li>{$obj}</li>
{/foreach}
</ol></li>
{/foreach}
</ul>
{if count($acl.axo_groups) gt 0}
<div class="divider"></div>
{/if}
{/if}
{if count($acl.axo_groups) gt 0}
<b>Groups</b><ol>
{foreach from=$acl.axo_groups item=group}
<li>{$group}</li>
{/foreach}
</ol>
{/if}
</td>
<td valign="middle" class="{if $acl.allow}green{else}red{/if}" align="center">
{if $acl.allow}
ALLOW
{else}
DENY
{/if}
</td>
<td valign="middle" class="{if $acl.enabled}green{else}red{/if}" align="center">
{if $acl.enabled}
Yes
{else}
No
{/if}
</td>
<td valign="middle" rowspan="3" align="center">
[ <a href="acl_admin.php?action=edit&acl_id={$acl.id}&return_page={$return_page}">Edit</a> ]
</td>
<td valign="middle" rowspan="3" align="center">
<input type="checkbox" class="checkbox" name="delete_acl[]" value="{$acl.id}">
</td>
</tr>
<tr class="{$class}">
<td valign="top" colspan="3" align="left">
<b>Return Value:</b> {$acl.return_value}
</td>
<td valign="middle" colspan="2" align="center">
{$acl.section_name}
</td>
</tr>
<tr class="{$class}">
<td valign="top" colspan="3" align="left">
<b>Note:</b> {$acl.note}
</td>
<td valign="middle" colspan="2" align="center">
{$acl.updated_date|date_format:"%d-%b-%Y %H:%M:%S"}
</td>
</tr>
{/foreach}
<tr class="pager">
<td colspan="8">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?action=$action&filter_aco_section=$filter_aco_section&filter_aco=$filter_aco&filter_aro_section=$filter_aro_section&filter_aro=$filter_aro&filter_axo_section=$filter_axo_section&filter_axo=$filter_axo&filter_aro_group=$filter_aro_group&filter_axo_group=$filter_axo_group&filter_return_value=$filter_return_value&filter_allow=$filter_allow&filter_enabled=$filter_enabled&"}
</td>
</tr>
<tr class="controls">
<td colspan="6"> </td>
<td colspan="2" align="center">
<input type="submit" class="button" name="action" value="Delete">
</td>
</tr>
</table>
<input type="hidden" name="return_page" value="{$return_page}">
</form>
{include file="phpgacl/footer.tpl"}
|