[xoops-cvslog 3949] CVS update: xoops2jp/html/modules/base/admin/templates

Back to archive index

Minahito minah****@users*****
2006年 8月 5日 (土) 15:19:00 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.13 xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.14
--- xoops2jp/html/modules/base/admin/templates/preference_edit.html:1.1.2.13	Wed Aug  2 18:37:27 2006
+++ xoops2jp/html/modules/base/admin/templates/preference_edit.html	Sat Aug  5 15:19:00 2006
@@ -87,21 +87,13 @@
 
           <{elseif $config->get('conf_formtype') == 'theme'}>
             <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}>
+              <{xoops_optionsArray value=dirname label=dirname from=$themeArr default=$actionForm->get($config->get('conf_name'))}>
             </select>
 
             
           <{elseif $config->get('conf_formtype') == 'theme_multi'}>
             <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'))}>
-                  <{if $theme == $selected}><{assign var=flag value=1}><{/if}>
-                <{/foreach}>
-                <option value="<{$theme|escape}>" <{if $selected}>selected<{/if}>><{$theme|escape}></option>
-              <{/foreach}>
+              <{xoops_optionsArray value=dirname label=dirname from=$themeArr default=$actionForm->get($config->get('conf_name'))}>
             </select>
             
             


xoops-cvslog メーリングリストの案内
Back to archive index