<{if $viewType eq 'input'}>
	<{if $len==-1}>
		<input type="text" name="<{$fieldName}>" size="50" value="<{$value|xoops_escape}>">
	<{else}>
		<input type="text" name="<{$fieldName}>" maxlength="<{$len}>" size="<{if $len < 50}><{$len}><{else}>50<{/if}>" value="<{$value|xoops_escape}>">
	<{/if}>
	&nbsp;<input type="button" value="<{$smarty.const._MD_XOONIPS_LABEL_ROMAJI}>" onclick="<{$dirname}>Edit.complete('<{$fieldName}>');">
<{elseif $viewType eq 'confirm'}>
	<{$value|xoops_escape}><input type="hidden" name="<{$fieldName}>" value="<{$value|xoops_escape}>">
<{elseif $viewType eq 'detail'}>
	<{$value|xoops_escape}>
<{elseif $viewType eq 'search'}>
	<input type="text" name="<{$fieldName}>" maxlength="<{$len}>" size="<{if $len < 50}><{$len}><{else}>50<{/if}>" value="">
<{/if}>
