<{include file="db:`$dirname`_header.html"}>
<h3><{$smarty.const._MD_XOONIPS_ITEM_ITEMUSERS_EDIT_TITLE}></h3>
<script type="text/javascript" charset="utf-8">
var <{$dirname}>Edit = new XoonipsEdit.edit('<{$xoops_url}>', '<{$dirname}>', 'itemownerseditform', 'edit');
jQuery.noConflict();
jQuery(function(){
	jQuery('#<{$dirname}>_itemownerseditform :button[rel^="prettyPopin"]').prettyPopin({
		width : 400, /* false/integer */
		height: 400, /* false/integer */
		opacity: 0.5, /* value from 0 to 1 */
		animationSpeed: '0', /*
		slow/medium/fast/integer */
		close : false, /* true/false */
		followScroll: false, /* true/false */
		dirname : '<{$dirname}>',
		loader_path: './images/loader.gif', /* path to your loading image */
		callback: function(id, value) {
			return <{$dirname}>Edit.userCallback(null, value, 'searchOwners');
		}
	});
});
</script>
<{$errors}>
<form id="<{$dirname}>_itemownerseditform" action="edit.php" name="<{$dirname}>_itemownerseditform" method="post">
<{$token_ticket}>
<input type="hidden" name="item_id" value="<{$item_id}>" />
<{$item_html}>
<table>
<tr>
<td class="head" width="25%"><{$detail_name}></td>
<td class="odd">
<{$users_html}>
</td>
</tr>
</table>
<div style="text-align: center; margin-top: 20px;">
	<input class="formButton" type="button" value="<{$smarty.const._MD_XOONIPS_ITEM_UPDATE_BUTTON_LABEL}>"
	 onclick="document.<{$dirname}>_itemownerseditform.action='edit.php?op=saveOwners'; submit();return false;"/>
</div>
</form>
<{include file="db:`$dirname`_footer.html"}>