XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 21, 2009, 12:37:24 AM (15 years ago)
Author:
toemon
Message:

ページブロックの調整 ブロック複製を可能にし、 wp_list_pages()での選択オプションを追加
この変更をもってデザイン面での修正 #72 も終了とする

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/source/page_block.html

    r121 r127  
    22        The template tag of the following list can be used.  
    33                <{$block.err_message}>                                  // When the block cannot be displayed, this outputs the reason. Please do not delete it. 
    4                 <{$block.data_count}>                                   // The number of archives is displayed.  
    5                 <{$block.contents}>                                             // Data array of archives.  
    6                 // Examples of <{$block.contents}> 
    7                 <{foreach from=$block.contents item=content}>   // Loop 
    8                 <{$content.page}>                                               // the author name is displayed as a link to their posts. Optionally this tag displays each author's post count. 
    9                 <{/foreach}>                                                    // End of Loop 
     4                <{$block.list_pages}>                                   // Displays Pages List from wp_list_pages() function 
    105************************* End of usage ************************ *}> 
    116<{* Start Template *}> 
     
    149        <{$block.err_message}> 
    1510        <div class='xpress_page_block'> 
    16                 <ul> 
    17                 <{foreach from=$block.contents item=content}> 
    18                         <li> 
    19                         <{$content.page}> 
    20                         </li> 
    21                 <{/foreach}> 
    22                 </ul> 
     11                <{$block.list_pages}> 
    2312        </div> 
    2413</div> 
Note: See TracChangeset for help on using the changeset viewer.