{include file="$gentemplates/_header.tpl"}
{include file="$gentemplates/_navi.tpl" submenu="10"}



<SCRIPT LANGUAGE="javascript">
var confirm_message = "{$gentemp_confirm_rights_modification}";

{literal}
function confirm_submit(){
	return confirm(confirm_message);
}
</SCRIPT>
{/literal}

<form name="rights" action="{$phpself}" method="post">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">	
<input type="hidden" name="action" value="set">			

{include file="$gentemplates/_contentheader.tpl" title="$gentemp_explain_rights_management"}

<table border="0" cellpadding="0" cellspacing="0" WIDTH="700" >
	<tr><td class="lines2" height="2" width="1" colspan="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
  	
	{if $warning_message !=""}
	<tr><td class="lines" height="1" width="1" colspan="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
	<tr class="tab" align="left">
		<td class="tab" height="40" WIDTH="50"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
		<td class="formhead"  align="left" COLSPAN="4"><font color="red">{$warning_message}</FONT></td>
	</tr>
	{/if}
	
	<tr><td class="lines" height="1" width="1" colspan="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
	<tr class="tab" align="left">
		<td class="tab" height="40" WIDTH="50"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
		<td class="formhead" WIDTH="150" align="left">{$name}</td>
		<td class="formhead" WIDTH="80" align="left" NOWRAP>{$gentemp_right_modify|smarty:nodefaults}</td>
		<td class="formhead" WIDTH="80" align="left" NOWRAP>{$gentemp_right_view_all}</td>
		<td class="formhead" WIDTH="80" align="left" NOWRAP>{$gentemp_right_default}</td>
	</tr>
	<tr class="tab" align="left">
		<td class="tab" height="1" WIDTH="50"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
	 	<td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td>
	</tr>
	
{section name=rights loop=$tab_rights}
	<tr class="tab" align="left">
		<td class="tab" height="40" WIDTH="50"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
		<td class="tab" WIDTH="150" align="left">{$tab_rights[rights].name}</td>
		<td class="tab" WIDTH="50" align="center"><INPUT TYPE="RADIO" NAME="right_{$tab_rights[rights].id}" value="M" {$tab_rights[rights].modify}/>&nbsp;</td>
		<td class="tab" WIDTH="50" align="center"><INPUT TYPE="RADIO" NAME="right_{$tab_rights[rights].id}" value="V" {$tab_rights[rights].view_all}/>&nbsp;</td>
		<td class="tab" WIDTH="50" align="center"><INPUT TYPE="RADIO" NAME="right_{$tab_rights[rights].id}" value="D" {$tab_rights[rights].default}/>&nbsp;</td>
	</tr>
	<tr class="tab" align="left">
		<td class="tab" height="1" WIDTH="50"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
	 	<td class="lines" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td>
	</tr>
{/section}
	
	<tr><td class="lines2" height="2" width="1" colspan="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
	<tr class="tab" align="left">
		<td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
		<td class="formhead"><a class="edit" href="{$urlback}">{$back} </a></td>
		<td class="formhead"><input class="submit" type="submit" value="{$gentemp_validate}" name="set" ONCLICK="return confirm_submit();" ></td>
		<td CLASS="formhead" COLSPAN="2">&nbsp;</td>
	</tr>
		
	<tr><td class="lines" height="1" width="1" colspan="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
</table>

</form>
{include file="$gentemplates/_footer.tpl" aktUser=$username}
