Changeset 15658


Ignore:
Timestamp:
2007/09/10 12:37:04 (17 years ago)
Author:
nanasess
Message:

str_replace を date_format に修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/admin/contents/index.tpl

    r15079 r15658  
    5757        } 
    5858    } 
    59      
     59 
    6060    if ( j > 1) { 
    6161        alert( '移動順位は1つだけ入力してください。' ); 
     
    7878    } else if( val > max_rank ){ 
    7979        alert( '入力された順位は、登録数の最大値を超えています。' ); 
    80         return false;    
     80        return false; 
    8181    } else { 
    8282        ml.moveposition.value = val; 
     
    110110                    <td align="center"> 
    111111                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    112                          
     112 
    113113                            <tr><td height="14"></td></tr> 
    114114                            <tr> 
     
    136136 
    137137                                <!--▼登録テーブルここから--> 
    138                                 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">   
     138                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
    139139                                    <thead> 
    140140                                    <tr class="fs12n"> 
     
    180180                                </table> 
    181181                                <!--▲登録テーブルここまで--> 
    182                                  
     182 
    183183                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    184184                                    <tr> 
     
    203203                                    </form> 
    204204                                </table> 
    205                                  
     205 
    206206                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    207207                                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> 
    208208                                </table> 
    209                                  
     209 
    210210                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    211211                                    <tr> 
     
    249249                                        <!--{assign var=rank value="`$line_max-$db_rank+1`"}--> 
    250250                                        <td width="" align="center"><!--{$rank}--></td> 
    251                                         <td width="" align="center"><!--{"-"|str_replace:"/":$list_data[data].cast_news_date}--></td> 
     251                                        <td width="" align="center"><!--{$list_data[data].cast_news_date|date_format:"%Y/%m/%d"}--></td> 
    252252                                        <td width=""> 
    253253                                            <!--{if $list_data[data].link_method eq 1 && $list_data[data].news_url != ""}--><a href="<!--{$list_data[data].news_url}-->" ><!--{$list_data[data].news_title|escape|nl2br}--></a> 
     
    270270                                        <td colspan="6">現在データはありません。</td> 
    271271                                    </tr> 
    272                                     <!--{/section}-->                                
     272                                    <!--{/section}--> 
    273273                                </form> 
    274274                                </table> 
    275275                                <!--▲一覧表示エリアここまで--> 
    276                                      
     276 
    277277                                </td> 
    278278                                <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
Note: See TracChangeset for help on using the changeset viewer.