<{strip}> <{if $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 $item.allow_email_reception_flag == _ON}> <{* メールを受け取る *}> <{if isset($action.userinf_items_email_reception_flag.$item_id|smarty:nodefaults)}> <{assign var="email_reception_flag" value=$action.userinf_items_email_reception_flag.$item_id}> <{else}> <{assign var="email_reception_flag" value=$item.email_reception_flag}> <{/if}>
checked="checked"<{/if}>/>
<{/if}> <{elseif $item.type == $smarty.const.USER_TYPE_TEXTAREA}> <{elseif $item.type == $smarty.const.USER_TYPE_FILE}> <{* ファイル *}> /> <{elseif $item.type == $smarty.const.USER_TYPE_CHECKBOX}> <{* チェックボックス *}>
data-role="controlgroup" > <{foreach from=$item.set_options item=option name=selectloop}> <{assign var="options_index" value=$smarty.foreach.selectloop.iteration-1}> <{if isset($action.userinf_items.$item_id.$options_index|smarty:nodefaults)}>checked="checked" <{/if}> <{else}> <{if $content != '' && $option.default_selected}>checked="checked" <{/if}> <{/if}> /> <{/foreach}>
<{elseif $item.type == $smarty.const.USER_TYPE_RADIO}> <{* ラジオボタン *}>
data-role="controlgroup"> <{foreach from=$item.set_options item=option name=selectloop}> <{assign var="options_index" value=$smarty.foreach.selectloop.iteration-1}> <{if $option.options == $action.userinf_items.$item_id}>checked="checked" <{/if}> <{else}> <{if $option.options == $content}>checked="checked" <{/if}> <{/if}> /> <{/foreach}>
<{elseif $item.type == $smarty.const.USER_TYPE_SELECT}> <{* セレクトリスト *}> <{elseif $item.type == $smarty.const.USER_TYPE_PASSWORD}> <{if ($smarty.session._system_user_id==$action.user.user_id) || !($action.public_flag_colname == "under_public_flag")}> <{* システム管理者か、自分より低い権限であれば、現在のパスワードがわからなくても変更を許す *}> <{* 現在のパスワード: *}> <{$smarty.const.USERINF_CURRENT_PASS}> /> <{/if}>
<{* 新しいパスワード: *}> <{$smarty.const.USERINF_NEW_PASS}> />
<{* 新しいパスワードの確認: *}> <{$smarty.const.USERINF_CONFIRM_NEW_PASS}> />
<{/if}> <{if $item.description}>
<{$item.description}>
<{/if}> <{if $item.allow_public_flag == _ON}> <{* TODO:後に修正 *}> <{* 公開するかどうか *}> <{* すでに必ず非公開であるならば、設定させない *}>
checked="checked"<{/if}> />
<{/if}> <{/strip}>