Tom Hayakawa
tom_g3x****@users*****
2006年 8月 18日 (金) 20:25:05 JST
Index: xoops2jp/html/modules/base/admin/templates/block_list.html diff -u xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.20 xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.21 --- xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.20 Mon Aug 14 21:46:44 2006 +++ xoops2jp/html/modules/base/admin/templates/block_list.html Fri Aug 18 20:25:05 2006 @@ -53,57 +53,63 @@ <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> - <td><{$obj->getShow('bid')}></td> - <td style="text-align:left;"> + <tr class="<{cycle values='odd,even'}>"> + <td class="base_list_id"><{$obj->getShow('bid')}></td> + <td class="base_list_title"> <{if $obj->mModule}> - <b><{$obj->mModule->getShow('name')}></b> + <span class="base_blocktype_module"><{$obj->mModule->getShow('name')}></span> <{else}> + <span class="base_blocktype_custom"> <{if $obj->get('c_type') == "H" }><{$smarty.const._AD_BASE_LANG_CUSTOM_HTML}> <{elseif $obj->get('c_type') == "P"}><{$smarty.const._AD_BASE_LANG_CUSTOM_PHP}> <{elseif $obj->get('c_type') == "S"}><{$smarty.const._AD_BASE_LANG_CUSTOM_WITH_SMILIES}> <{elseif $obj->get('c_type') == "T"}><{$smarty.const._AD_BASE_LANG_CUSTOM_WITHOUT_SMILIES}> <{/if}> + </span> <{/if}> </td> - <td style="text-align:left;"><{$obj->getShow('title')}></td> - <td nowrap><{strip}> + <td class="base_list_title"><{$obj->getShow('title')}></td> + <td class="base_blockside"> + <{strip}> <{if $obj->get('side') == 0}> - <span class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=0 default=$obj->get('side')}></span>- + <div class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=0 default=$obj->get('side')}></div> <{else}> - <{xoops_input type=radio name=side key=$obj->get('bid') value=0 default=$obj->get('side')}>- + <div class="base_blockside_inactive"><{xoops_input type=radio name=side key=$obj->get('bid') value=0 default=$obj->get('side')}></div> <{/if}> + <div class="base_blockside_separator">-</div> <{if $obj->get('side') == 3}> - <span class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=3 default=$obj->get('side')}></span> + <div class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=3 default=$obj->get('side')}></div> <{else}> - <{xoops_input type=radio name=side key=$obj->get('bid') value=3 default=$obj->get('side')}> + <div class="base_blockside_inactive"><{xoops_input type=radio name=side key=$obj->get('bid') value=3 default=$obj->get('side')}></div> <{/if}> <{if $obj->get('side') == 5}> - <span class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=5 default=$obj->get('side')}></span> + <div class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=5 default=$obj->get('side')}></div> <{else}> - <{xoops_input type=radio name=side key=$obj->get('bid') value=5 default=$obj->get('side')}> + <div class="base_blockside_inactive"><{xoops_input type=radio name=side key=$obj->get('bid') value=5 default=$obj->get('side')}></div> <{/if}> <{if $obj->get('side') == 4}> - <span class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=4 default=$obj->get('side')}></span>- + <div class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=4 default=$obj->get('side')}></div> <{else}> - <{xoops_input type=radio name=side key=$obj->get('bid') value=4 default=$obj->get('side')}>- + <div class="base_blockside_inactive"><{xoops_input type=radio name=side key=$obj->get('bid') value=4 default=$obj->get('side')}></div> <{/if}> + <div class="base_blockside_separator">-</div> <{if $obj->get('side') == 1}> - <span class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=1 default=$obj->get('side')}></span> + <div class="base_blockside_active"><{xoops_input type=radio name=side key=$obj->get('bid') value=1 default=$obj->get('side')}></div> <{else}> - <{xoops_input type=radio name=side key=$obj->get('bid') value=1 default=$obj->get('side')}> + <div class="base_blockside_inactive"><{xoops_input type=radio name=side key=$obj->get('bid') value=1 default=$obj->get('side')}></div> <{/if}> - <{/strip}></td> - <td> - <{xoops_input type=text name=weight size=4 key=$obj->get('bid') value=$obj->get('weight')}> + <{/strip}> </td> - <td> + <td class="base_list_select"> + <{xoops_input type=text name=weight size=4 key=$obj->get('bid') value=$obj->get('weight') class=base_list_number}> + </td> + <td class="base_list_select"> <select name="bcachetime[<{$obj->getShow('bid')}>]"> <{xoops_optionsArray from=$cachetimeArr value=cachetime label=label default=$obj->get('bcachetime')}> </select> </td> - <td style="text-align:left;"><{$obj->getShow('last_modified')|xoops_formattimestamp:l}></td> - <td> + <td class="base_list_date"><{$obj->getShow('last_modified')|xoops_formattimestamp:l}></td> + <td class="base_list_control"> <{if $obj->get('block_type') == 'C'}> <a href="./index.php?action=CustomBlockEdit&bid=<{$obj->getShow('bid')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> <{else}> @@ -115,7 +121,7 @@ <{/foreach}> <tr> <td colspan="10" class="foot"> - <input type="submit" value="<{$smarty.const._SUBMIT}>"/> + <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" /> </td> </tr> </table>