Changeset 2622

Show
Ignore:
Timestamp:
06/20/08 02:32:32 (20 months ago)
Author:
bsmith
Message:

bugzid:80064 - Clicking table header checkbox on 'backup templates' listing screen now selects all templates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/tmpl/cms/list_template.tmpl

    r2433 r2622  
    3434    <$MTApp:PageActions from="list_template"$> 
    3535</mt:setvarblock> 
    36 <mt:unless name="filter_key" eq="backup_templates"> 
    37     <mt:setvarblock name="html_head" append="1"> 
     36<mt:setvarblock name="html_head" append="1"> 
    3837<script type="text/javascript"> 
    3938/* <![CDATA[ */ 
    40 <mt:if name="blog_id"> 
     39    <mt:unless name="filter_key" eq="backup_templates"> 
     40        <mt:if name="blog_id"> 
    4141var tableList = ["index", "archive", "module", "system"]; 
    42 <mt:else> 
     42        <mt:else> 
    4343var tableList = ["module", "email", "system"]; 
    44 </mt:if> 
    45 var tableSelect = []; 
     44        </mt:if> 
     45    <mt:else> 
     46var tableList = ["backup"]; 
     47    </mt:unless> 
    4648function showTable(name) { 
    4749    for (var i=0, len=tableList.length; i<len; i++) { 
     
    6567    } 
    6668} 
     69var tableSelect = []; 
    6770function init() { 
    6871<mt:loop name="template_type_loop"> 
     
    7679/* ]]> */ 
    7780</script> 
    78     </mt:setvarblock> 
    79 </mt:unless> 
     81</mt:setvarblock> 
    8082<mt:setvarblock name="system_msg"> 
    8183    <mt:if name="saved_deleted">