Location: PHPKode > projects > BugIn and Ticketing System > bugin-0.65/inc/admin/acladd.inc.php
<?php
	echo <<<EOT
<table border="0">
	<tr align="center">
		<td><img src="gfx/acl.png" border="0"><br>[{$verbage['adm_acl_add']}]</td>
	</tr>
</table>
<hr>
EOT;
if (!isset($mod)) {
	echo <<<EOT
		<form method="{$options['formMethod']}" action="{$options['baseURL']}{$options['formSubmitTo']}">
		<input type="hidden" name="area" value="admin" />
		<input type="hidden" name="action" value="acladd" />
		{$verbage['project']}: <br>
		<select name="mod[project]">
		{$projects}
		</select>
		<br>
		<table border="0">
			<tr>
				<td><input type="RADIO" name="mod[acl_type]" value="group" CHECKED />{$verbage['group']}</td>
				<td><input type="RADIO" name="mod[acl_type]" value="user" />{$verbage['user']}</td>
			</tr>
				<td>
					<select name="mod[id_tag_group]">
						<option value="0">Everyone</option>
						{$groups}
					</select>
				</td>
				<td>
					<select name="mod[id_tag_user]">
						{$users}
					</select>
				</td>
			</tr>
		</table
		<br>
		Flags:<br>
		<input type="checkbox" name="mod[f][read]" CHECKED />{$verbage['acl_mod_read']}<br>
		<input type="checkbox" name="mod[f][add]" CHECKED />{$verbage['acl_mod_add']}<br>
		<input type="checkbox" name="mod[f][modify]" CHECKED />{$verbage['acl_mod_modify']}<br>
		<br>
		<input type="submit" value="{$verbage['adm_acl_add']}">
		</form>
EOT;
}
else {
	echo <<<EOT
	[<a href="{$options['baseURL']}?area=admin&action=acledit">{$verbage['continue']}</a>]<br>
EOT;
}
?>
Return current item: BugIn and Ticketing System