Show
Ignore:
Timestamp:
06/19/08 01:29:47 (18 months ago)
Author:
bsmith
Message:

bugzid:79938 - Normalizing Template Tags - converting ifnonzero & ifnonempty to if, setvar & getvar to var, etc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/default_templates/entry.mtml

    r2603 r2604  
    3030                                    <div class="asset-meta"> 
    3131                                        <span class="byline"> 
    32 <mt:IfNonEmpty tag="EntryAuthorDisplayName"> 
     32<mt:If tag="EntryAuthorDisplayName"> 
    3333                                            <__trans phrase="By [_1] on [_2]" params="<span class="vcard author"><$mt:EntryAuthorLink show_hcard="1"$></span>%%<abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x %X"$></abbr>"> 
    3434<mt:Else> 
    3535                                            <abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x %X"$></abbr> 
    36 </mt:IfNonEmpty> 
     36</mt:If> 
    3737                                        </span> 
    3838<mt:IfCommentsActive> 
     
    4545                                </div> 
    4646                                <div class="asset-content entry-content"> 
    47 <mt:IfNonEmpty tag="EntryBody"> 
     47<mt:If tag="EntryBody"> 
    4848                                    <div class="asset-body"> 
    4949                                        <$mt:EntryBody$> 
    5050                                    </div> 
    51 </mt:IfNonEmpty> 
    52 <mt:IfNonEmpty tag="EntryMore" convert_breaks="0"> 
     51</mt:If> 
     52<mt:If tag="EntryMore" convert_breaks="0"> 
    5353                                    <div id="more" class="asset-more"> 
    5454                                        <$mt:EntryMore$> 
    5555                                    </div> 
    56 </mt:IfNonEmpty> 
     56</mt:If> 
    5757                                </div> 
    5858                                <div class="asset-footer"> 
    5959<mt:IfArchiveTypeEnabled archive_type="Category"> 
    60     <mt:If tag="MTEntryCategories"> 
     60    <mt:If tag="EntryCategories"> 
    6161                                    <div class="entry-categories"> 
    6262                                        <h4 class="entry-categories-header"><__trans phrase="Categories"><span class="delimiter">:</span></h4>