XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 20, 2009, 12:47:52 PM (15 years ago)
Author:
toemon
Message:

サイドバーの追加 と アーカイブブロックの修正 #74 bump Ver0.11

File:
1 edited

Legend:

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

    r121 r125  
    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.config.is_archive_doropdown}>  // When this returns the true value. The user has selected the archive to be displayed by the drop down list in the setting of the block.   
    6                 <{$block.archive_dropdown}>                             // Displays a dropdown list of links to date-based archives. 
    7                 <{$block.contents}>                                             // Data array of archives.  
    8                 // Examples of <{$block.contents}> 
    9                 <{foreach from=$block.contents item=content}>   // Loop 
    10                 <{$content.archive}>                                    // Displays a list of links to date-based archives. 
    11                 <{/foreach}>                                                    // End of Loop 
     4                <{$block.archive}>                                              // Displays Archives from wp_get_archives() function 
    125************************* End of usage ************************ *}> 
    136<{* Start Template *}> 
     
    169        <{$block.err_message}> 
    1710        <div class="xpress_archive_block"> 
    18                 <{if $block.config.is_archive_doropdown}> 
    19                         <{$block.archive_dropdown}> 
    20                 <{else}> 
    21                         <ul> 
    22                                 <{foreach from=$block.contents item=content}> 
    23                                         <li> 
    24                                         <{$content.archive}> 
    25                                         </li> 
    26                                 <{/foreach}> 
    27                         </ul> 
    28                 <{/if}> 
     11                <{$block.archive}> 
    2912        </div> 
    3013</div> 
Note: See TracChangeset for help on using the changeset viewer.