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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 9月 3日 (日) 01:48:18 JST


Index: xoops2jp/html/modules/base/admin/templates/module_list.html
diff -u xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.18 xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.19
--- xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.18	Sat Aug 19 18:39:44 2006
+++ xoops2jp/html/modules/base/admin/templates/module_list.html	Sun Sep  3 01:48:18 2006
@@ -44,18 +44,24 @@
     <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th>
   </tr>
   <{foreach item=module from=$moduleObjects}>
+    <{if $module->get('hasmain') && $module->getShow('weight','e') != 0 }>
+      <tr class="<{cycle values='odd,even'}> active">
+    <{else}>
     <tr class="<{cycle values='odd,even'}>">
+    <{/if}>
       <td class="base_list_id"><{$module->getShow('mid')}></td>
       <td class="base_list_image"><img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" alt="<{$module->getShow('name')}>" /><br />
         <input type="text" size="24" name="name[<{$module->getShow('mid')}>]" value="<{$module->getShow('name')}>" /></td>
       <td class="base_list_order"><{$module->getRenderedVersion()}></td>
       <td class="base_list_date"><{$module->get('last_update')|xoops_formattimestamp:l}></td>
       <td class="base_list_select">
-      <{if $module->get('hasmain')}>
+<{*      <{if $module->get('hasmain')}> *}>
         <input type="text" size="4" maxlength="4" name="weight[<{$module->getShow('mid')}>]" value="<{$module->getShow('weight','e')}>" />
-      <{else}>
+<{*
+        <{else}>
         <input type="hidden" name="weight[<{$module->getShow('mid')}>]" value="<{$module->getShow('weight','e')}>" />
       <{/if}>
+*}>
       </td>
       <td class="base_list_select"><input type="checkbox" name="isactive[<{$module->getShow('mid')}>]" value="1" <{if $module->get('isactive')}>checked="checked"<{/if}> /></td>
       <td class="base_list_control">


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