<script type="text/javascript" charset="utf-8">
var userEdit = new UserEdit.edit('<{$smarty.const.XOOPS_URL}>', '<{$dirname}>', 'UserEditForm', 'UserEdit');
jQuery.noConflict();
jQuery(function(){
    jQuery("#<{$dirname}>_UserEditForm :input[rel='limit']").change(function(){
    	userEdit.changeLimit(jQuery(this).attr('id'));
    });
});
</script>
<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=UserList"><{$smarty.const._AD_USER_LANG_USER_LIST}></a>
  &raquo;&raquo;
  <{if $uid}>
    <span class="adminnaviTitle"><{$smarty.const._AD_USER_LANG_USER_EDIT}></span>
  <{else}>
    <span class="adminnaviTitle"><{$smarty.const._AD_USER_LANG_USER_NEW}></span>
  <{/if}>
</div>

<{if $uid}>
  <h3 class="admintitle"><{$smarty.const._AD_USER_LANG_USER_EDIT}></h3>
  <div class="tips"><{$smarty.const._AD_USER_TIPS_USER_EDIT}></div>
<{else}>
  <h3 class="admintitle"><{$smarty.const._AD_USER_LANG_USER_NEW}></h3>
  <div class="tips"><{$smarty.const._AD_USER_TIPS_USER_NEW}></div>
<{/if}>

<{if $error}>
<{include file="file:admin_style.css"}>
<{$error}>
<{/if}>
<form id="<{$dirname}>_UserEditForm" name="<{$dirname}>_UserEditForm" action="" method="post">
<table class="outer">
 	<{$displayView}>
</table>
<input class="formButton" type="submit" value="<{$smarty.const._MD_USER_LANG_REGISTER}>" />
<input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
<input type="hidden" name="targetItemId">
<{if $uid}>
<input type="hidden" name="uid" value="<{$uid}>">  
<{/if}>
<{$ticket}>
</form>
