Minahito
minah****@users*****
2006年 7月 1日 (土) 16:25:19 JST
Index: xoops2jp/html/modules/base/admin/templates/preference_edit.html diff -u xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.10 xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.11 --- xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.10 Mon Jun 26 22:30:46 2006 +++ xoops2jp/html/modules/base/admin/templates/preference_edit.html Sat Jul 1 16:25:19 2006 @@ -40,7 +40,7 @@ <th colspan="2"> <{$smarty.const._MI_BASE_MENU_PREFERENCE}> <{if $category != null}> - - <{$category->getVar('confcat_name')}> + - <{$category->getName()|escape}> <{/if}> </th> </tr> @@ -69,11 +69,13 @@ <{elseif $config->get('conf_formtype') == 'select_multi'}> <select name='<{$config->getVar('conf_name')}>[]' id='<{$config->getVar('conf_name')}>' size='5' multiple> - <{assign var=flag value=0}> - <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> - <{if $option->getOptionKey() == $selected}><{assign var=flag value=1}><{/if}> + <{foreach item=option from=$config->getOptionItems()}> + <{assign var=flag value=0}> + <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> + <{if $option->getOptionKey() == $selected}><{assign var=flag value=1}><{/if}> + <{/foreach}> + <option value="<{$option->getOptionKey()|escape}>" <{if $flag}>selected<{/if}>><{$option->getOptionLabel()|escape}></option> <{/foreach}> - <option value="<{$option->getOptionKey()|escape}>" <{if $flag}>selected<{/if}>><{$option->getOptionLabel()|escape}></option> </select>