<{strip}> <{* confirm用 *}> <{if $mode == "confirm" && ($item.type == $smarty.const.USER_TYPE_CHECKBOX || $item.type == $smarty.const.USER_TYPE_RADIO || $item.type == $smarty.const.USER_TYPE_SELECT)}> <{* チェックボックス *}> <{foreach from=$item.set_options item=option name=selectloop}> <{assign var="checkbox_count" value=$smarty.foreach.selectloop.iteration-1}> <{if $option.def_options == $content.$checkbox_count && $item.type == $smarty.const.USER_TYPE_CHECKBOX}> <{if $selectloop_flag == 1}> , <{/if}> <{$option.options}> <{assign var="selectloop_flag" value=1}> <{elseif $option.def_options == $content && $item.type != $smarty.const.USER_TYPE_CHECKBOX}> <{$option.options}> <{/if}> <{/foreach}> <{elseif $mode == "confirm" && $item.type == $smarty.const.USER_TYPE_FILE}> <{if $content == ""}>   <{else}> <{$item.item_name}> /> <{/if}> <{elseif $mode == "confirm"}> <{if $content == ""}>   <{elseif $item.type == $smarty.const.USER_TYPE_EMAIL || $item.type == $smarty.const.USER_TYPE_MOBILE_EMAIL}> <{$content}> <{elseif $item.type == "textarea"}> <{$content|nl2br}> <{else}> <{$content}> <{/if}> <{if $mode == "confirm" && $item.tag_name == "email"}> <{* メール通達先 *}> <{/if}> <{if ($item.type == $smarty.const.USER_TYPE_EMAIL || $item.type == $smarty.const.USER_TYPE_MOBILE_EMAIL) && $item.allow_email_reception_flag == _ON}>
<{if $email_reception_flag == _ON}> <{$lang.user_reception_email|smarty:nodefaults}> <{else}> <{$lang.user_not_reception_email|smarty:nodefaults}> <{/if}>
<{/if}> <{* regist-search用 *}> <{elseif $mode == "regist" && $item.tag_name == "active_flag_lang" && ($content == _USER_ACTIVE_FLAG_PENDING || $content == _USER_ACTIVE_FLAG_MAILED)}> <{* 状態:承認待ち、承認済み=変更不可 *}> <{if $content == _USER_ACTIVE_FLAG_PENDING}> <{$smarty.const.USER_ITEM_ACTIVE_FLAG_PENDING}> <{elseif $content == _USER_ACTIVE_FLAG_MAILED}> <{$smarty.const.USER_ITEM_ACTIVE_FLAG_MAILED}> <{/if}> <{elseif $mode == "regist" && $item.tag_name == "active_flag_lang" && $action.user_id == $smarty.session._system_user_id}> <{* システム管理者-状態=変更不可 *}> <{$smarty.const.USER_ITEM_ACTIVE_FLAG_ON}> <{elseif $mode == "regist" && $item.tag_name == "role_authority_name" && $action.user_id == $smarty.session._system_user_id}> <{* システム管理者-権限=変更不可 *}> <{foreach from=$item.set_options item=option name=selectloop}> <{if ($option.def_options == $content)}> <{$option.options}> <{/if}> <{/foreach}> <{elseif $item.type == $smarty.const.USER_TYPE_TEXT}> <{* テキスト *}> /> <{elseif $item.type == $smarty.const.USER_TYPE_EMAIL || $item.type == $smarty.const.USER_TYPE_MOBILE_EMAIL}> <{* email *}> /> <{if $mode != "search" && $item.allow_email_reception_flag == _ON}> <{* 受け取る *}>
<{/if}> <{elseif $item.type == $smarty.const.USER_TYPE_TEXTAREA}> <{* テキストエリア *}> <{if $mode == "search"}> size="35" id="user_items<{$id}>_<{$item.item_id}>" type="text" value="<{$content}>" /> <{else}> <{/if}> <{elseif $item.type == $smarty.const.USER_TYPE_FILE}> <{* ファイル 登録用 *}>
display-none<{/if}>"> /> <{* click時の変換コンポーネント *}> <{if $mode != "preview"}>
<{/if}>
<{assign var="upload_count" value=upload_count+1}> class="display-none"<{/if}>> src="<{$content|smarty:nodefaults}>"<{/if}> title="<{$item.item_name}>" alt="<{$item.item_name}>" <{$item.attribute}> />
<{elseif $item.type == $smarty.const.USER_TYPE_CHECKBOX}> <{* チェックボックス *}>
> <{foreach from=$item.set_options item=option name=selectloop}> <{assign var="checkbox_count" value=$smarty.foreach.selectloop.iteration-1}> <{/foreach}>
<{elseif $item.type == $smarty.const.USER_TYPE_RADIO}> <{* ラジオボタン *}>
> <{* 未選択 *}> <{if $mode == "search"}>
<{/if}> <{foreach from=$item.set_options item=option name=selectloop}> <{/foreach}>
<{elseif $item.type == $smarty.const.USER_TYPE_SELECT}> <{* セレクトリスト *}> <{elseif $item.type == $smarty.const.USER_TYPE_PASSWORD}> autocomplete="off" /> <{elseif $mode == "search" && ($item.tag_name == "insert_time" || $item.tag_name == "update_time" || $item.tag_name == "password_regist_time")}> <{* 日時関連 *}> <{elseif $mode == "search" && $item.tag_name == "last_login_time"}> <{* 最終ログイン日時 *}> <{/if}> <{if ($mode == "regist" || $mode == "preview") && $item.description}> <{* 詳細説明、登録時に表示 *}>
<{$item.description|nl2br}>
<{/if}> <{* 公開するかどうか *}> <{* すでに必ず非公開であるならば、設定させない *}> <{if $mode != "search" && $item.allow_public_flag == _ON}> <{if $mode == "confirm"}>
<{if $public_flag == _ON}> <{$lang.user_public_flag|smarty:nodefaults}> <{else}> <{$lang.user_not_public_flag|smarty:nodefaults}> <{/if}>
<{else}>
<{/if}> <{/if}> <{/strip}>