Show
Ignore:
Timestamp:
04/14/08 03:06:04 (20 months ago)
Author:
bchoate
Message:

Fixed display of publish method for multiple template maps.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/tmpl/cms/include/template_table.tmpl

    r1877 r1878  
    9292                <td class="blog"><a href="<$mt:var name="script_url"$>?__mode=list&amp;_type=template&amp;blog_id=<$mt:var name="blog_id"$>"><$mt:var name="weblog_name" escape="html"$></a></td> 
    9393    </mt:unless> 
    94     <mt:if name="template_type" like="/(index|archive)/"> 
     94    <mt:if name="template_type" eq="index"> 
    9595                <td class="publishing-method"> 
    96                     <mt:if name="build_dynamic"><__trans phrase="Dynamic"><mt:else> 
    9796                    <mt:if name="build_type" eq="0"><__trans phrase="Manual"> 
    9897                    <mt:elseif name="build_type" eq="2"><__trans phrase="Manual"> 
     
    10099                    <mt:elseif name="build_type" eq="4"><__trans phrase="Background"> 
    101100                    <mt:elseif name="build_type" eq="5"><__trans phrase="Scheduled"> 
    102                     <mt:else><__trans phrase="Static"> 
    103                     </mt:if></mt:if> 
     101                    <mt:else><__trans phrase="Static"></mt:if> 
     102                </td> 
     103    <mt:elseif name="template_type" eq="archive"> 
     104                <td class="publishing-method"> 
     105                    <ul> 
     106            <mt:loop name="archive_types"> 
     107                <mt:loop name="archive_tmpl_loop"> 
     108                        <li><mt:if name="selected"> 
     109                    <mt:if name="map_build_type" eq="0"><__trans phrase="Manual"> 
     110                    <mt:elseif name="map_build_type" eq="2"><__trans phrase="Manual"> 
     111                    <mt:elseif name="map_build_type" eq="3"><__trans phrase="Dynamic"> 
     112                    <mt:elseif name="map_build_type" eq="4"><__trans phrase="Background"> 
     113                    <mt:elseif name="map_build_type" eq="5"><__trans phrase="Scheduled"> 
     114                    <mt:else><__trans phrase="Static"></mt:if></mt:if></li> 
     115                </mt:loop> 
     116            </mt:loop> 
     117                    </ul> 
    104118                </td> 
    105119    </mt:if>