Minahito
minah****@users*****
2006年 7月 10日 (月) 13:13:52 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.11 xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.12 --- xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.11 Sat Jul 1 16:25:19 2006 +++ xoops2jp/html/modules/base/admin/templates/preference_edit.html Mon Jul 10 13:13:52 2006 @@ -56,11 +56,11 @@ </td> <td class="<{cycle values="odd,even"}>"> <{if $config->get('conf_formtype') == 'textarea'}> - <{xoops_textarea name=$config->getVar('conf_name') id=$config->getVar('conf_name') rows=5 cols=50 value=$actionForm->get($config->get('conf_name'))}> + <{xoops_textarea name=$config->getVar('conf_name') rows=5 cols=50 value=$actionForm->get($config->get('conf_name'))}> <{elseif $config->get('conf_formtype') == 'select'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{foreach item=option from=$config->getOptionItems()}> <option value='<{$option->getOptionKey()|escape}>' <{if $actionForm->get($config->get('conf_name')) == $option->getOptionKey()}>selected<{/if}>><{$option->getOptionLabel()|escape}></option> <{/foreach}> @@ -68,7 +68,7 @@ <{elseif $config->get('conf_formtype') == 'select_multi'}> - <select name='<{$config->getVar('conf_name')}>[]' id='<{$config->getVar('conf_name')}>' size='5' multiple> + <select name='<{$config->getVar('conf_name')}>[]' id='legacy_xoopsform_<{$config->getVar('conf_name')}>' size='5' multiple> <{foreach item=option from=$config->getOptionItems()}> <{assign var=flag value=0}> <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> @@ -80,12 +80,13 @@ <{elseif $config->get('conf_formtype') == 'yesno'}> - <{xoops_input type=radio name=$config->get('conf_name') id=$config->get('conf_name') value=1 default=$actionForm->get($config->get('conf_name'))}><{$smarty.const._YES}> - <{xoops_input type=radio name=$config->get('conf_name') id=$config->get('conf_name') value=0 default=$actionForm->get($config->get('conf_name'))}><{$smarty.const._NO}> + <{*TODO ID conflict*}> + <{xoops_input type=radio name=$config->get('conf_name') value=1 default=$actionForm->get($config->get('conf_name'))}><{$smarty.const._YES}> + <{xoops_input type=radio name=$config->get('conf_name') value=0 default=$actionForm->get($config->get('conf_name'))}><{$smarty.const._NO}> <{elseif $config->get('conf_formtype') == 'theme'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{foreach item=theme from=$themeArr}> <option value="<{$theme|escape}>" <{if $actionForm->get($config->get('conf_name')) == $theme}>selected<{/if}>><{$theme|escape}></option> <{/foreach}> @@ -93,7 +94,7 @@ <{elseif $config->get('conf_formtype') == 'theme_multi'}> - <select name='<{$config->getVar('conf_name')}>[]' id='<{$config->getVar('conf_name')}>' size='5' multiple> + <select name='<{$config->getVar('conf_name')}>[]' id='legacy_xoopsform_<{$config->getVar('conf_name')}>' size='5' multiple> <{foreach item=theme from=$themeArr}> <{assign var=flag value=0}> <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> @@ -105,19 +106,19 @@ <{elseif $config->get('conf_formtype') == 'tplset'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{xoops_optionsArray value=tplset_name label=tplset_name from=$tplsetArr default=$actionForm->get($config->get('conf_name'))}> </select> <{elseif $config->get('conf_formtype') == 'timezone'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{xoops_optionsArray value=offset label=zone_name from=$timezoneArr default=$actionForm->get($config->get('conf_name'))}> </select> <{elseif $config->get('conf_formtype') == 'language'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{foreach item=language from=$languageArr}> <option value="<{$language|escape}>" <{if $actionForm->get($config->get('conf_name')) == $language}>selected<{/if}>><{$language|escape}></option> <{/foreach}> @@ -125,20 +126,20 @@ <{elseif $config->get('conf_formtype') == 'startpage'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <option value="--"><{$smary.const._MD_AM_NONE}></option> <{xoops_optionsArray value=mid label=name from=$moduleArr default=$actionForm->get($config->get('conf_name'))}> </select> <{elseif $config->get('conf_formtype') == 'group'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{xoops_optionsArray value=groupid label=name from=$groupArr default=$actionForm->get($config->get('conf_name'))}> </select> <{elseif $config->get('conf_formtype') == 'group_multi'}> - <select name='<{$config->getVar('conf_name')}>[]' id='<{$config->getVar('conf_name')}>' size='3' multiple> + <select name='<{$config->getVar('conf_name')}>[]' id='legacy_xoopsform_<{$config->getVar('conf_name')}>' size='3' multiple> <{foreach item=group from=$groupArr}> <{assign var=flag value=0}> <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> @@ -150,7 +151,7 @@ <{elseif $config->get('conf_formtype') == 'user'}> - <select name='<{$config->getVar('conf_name')}>' id='<{$config->getVar('conf_name')}>'> + <select name='<{$config->getVar('conf_name')}>' id='legacy_xoopsform_<{$config->getVar('conf_name')}>'> <{foreach key=value item=label from=$userArr}> <option value="<{$value|escape}>" <{if $value == $actionForm->get($config->get('conf_name'))}>selected<{/if}>><{$label|escape}></option> <{/foreach}> @@ -158,7 +159,7 @@ <{elseif $config->get('conf_formtype') == 'user_multi'}> - <select name='<{$config->getVar('conf_name')}>[]' id='<{$config->getVar('conf_name')}>' size='3' multiple> + <select name='<{$config->getVar('conf_name')}>[]' id='legacy_xoopsform_<{$config->getVar('conf_name')}>' size='3' multiple> <{foreach key=value item=label from=$userArr}> <{assign var=flag value=0}> <{foreach item=selected from=$actionForm->get($config->get('conf_name'))}> @@ -172,7 +173,7 @@ <{elseif $config->get('conf_formtype') == 'module_cache'}> <{foreach item=module from=$moduleArr}> <{$module->getVar('name')}> - <select name="<{$config->getVar('conf_name')}>[<{$module->getVar('mid')}>]"> + <select name="<{$config->getVar('conf_name')}>[<{$module->getVar('mid')}>]"> id='legacy_xoopsform_<{$config->getVar('conf_name')}>_<{$module->getVar('mid')}>' <{foreach item=cachetime from=$cachetimeArr}> <{if $actionForm->get($config->get('conf_name'), $module->get('mid')) == $cachetime->get('cachetime')}> <option value="<{$cachetime->getVar('cachetime')}>" selected><{$cachetime->getVar('label')}></option> @@ -186,14 +187,14 @@ <{elseif $config->get('conf_formtype') == 'password'}> - <{xoops_input type=password name=$config->get('conf_name') id=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> + <{xoops_input type=password name=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> <{elseif $config->get('conf_formtype') == 'textbox'}> - <{xoops_input type=text name=$config->get('conf_name') id=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> + <{xoops_input type=text name=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> <{elseif $config->get('conf_formtype') == 'text'}> <{* deprecated *}> - <{xoops_input type=text name=$config->get('conf_name') id=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> + <{xoops_input type=text name=$config->get('conf_name') size=50 maxlength=255 value=$actionForm->get($config->get('conf_name'))}> <{/if}> </td>