39 lines
1.4 KiB
Smarty
39 lines
1.4 KiB
Smarty
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td width="34%" height="20"><b>Local Group</b></td>
|
|
<td width="34%" height="20"><b>Mapped To Group</b></td>
|
|
<td width="32%" height="20"><b>Authentication Rank</b></td>
|
|
</tr>
|
|
|
|
{$list->unserial($db_mapping.group_rank, "group_rank")}
|
|
{foreach from=$db_mapping_groups item=db_mapping_groups_local}
|
|
{if $db_mapping_groups_local.id != 0}
|
|
|
|
|
|
<tr valign="top">
|
|
<td width="34%" height="20">
|
|
{$db_mapping_groups_local.name}
|
|
</td>
|
|
<td width="34%" height="20">
|
|
<input type="text" name="db_mapping_group_map[{$db_mapping_groups_local.id}]" value="{$db_mapping_groups_local.value}" size="12">
|
|
</td>
|
|
<td width="32%" height="20">
|
|
<div align="center">
|
|
{foreach from=$group_rank item=rank}
|
|
{if $db_mapping_groups_local.id == $rank.id}
|
|
{assign var=rank_val value=$rank.rank}
|
|
{if $rank_val == ""}
|
|
{assign var=rank_val value=0}
|
|
{/if}
|
|
{/if}
|
|
{/foreach}
|
|
<input type="text" name="db_mapping_group_rank[{$db_mapping_groups_local.id}][rank]" size="2" value="{$rank_val}">
|
|
<input type="hidden" name="db_mapping_group_rank[{$db_mapping_groups_local.id}][id]" size="2" value="{$db_mapping_groups_local.id}">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
{/foreach}
|
|
</table>
|