Show
Ignore:
Timestamp:
04/07/08 09:10:54 (20 months ago)
Author:
auno
Message:

Added publish button and pulldown option on template listing. BugzID:75100

Files:
1 modified

Legend:

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

    r1730 r1786  
    2323<mt:setvarblock name="action_buttons"> 
    2424    <mt:unless name="template_type" eq="system"><mt:unless name="template_type" eq="email"> 
     25    <mt:if name="template_type" eq="index"> 
     26        <a href="javascript:void(0)" 
     27            onclick="doForMarkedInThisWindow(getByID('<$mt:var name="template_type"$>-listing-form'), '<__trans phrase="template" escape="js">', '<__trans phrase="templates" escape="js">', 'id', 'publish_index_templates', {}, '<__trans phrase="to publish" escape="js">'); return false;" 
     28            accesskey="a" 
     29            title="<__trans phrase="Publish selected templates (a)">" 
     30            ><__trans phrase="Publish"></a> 
     31    <mt:else if name="template_type" eq="archive"> 
     32        <a href="javascript:void(0)" 
     33            onclick="doForMarkedInThisWindow(getByID('<$mt:var name="template_type"$>-listing-form'), '<__trans phrase="template" escape="js">', '<__trans phrase="templates" escape="js">', 'id', 'publish_archive_templates', {}, '<__trans phrase="to publish" escape="js">'); return false;" 
     34            accesskey="a" 
     35            title="<__trans phrase="Publish selected templates (a)">" 
     36            ><__trans phrase="Publish"></a> 
     37    </mt:if> 
    2538    <a href="javascript:void(0)" 
    2639        onclick="doRemoveItems(getByID('<$mt:var name="template_type"$>-listing-form'), '<__trans phrase="template" escape="js">', '<__trans phrase="templates" escape="js">'); return false;"