Changeset 2622
- Timestamp:
- 06/20/08 02:32:32 (5 months ago)
- Files:
-
- branches/release-40/tmpl/cms/list_template.tmpl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-40/tmpl/cms/list_template.tmpl
r2433 r2622 34 34 <$MTApp:PageActions from="list_template"$> 35 35 </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"> 38 37 <script type="text/javascript"> 39 38 /* <![CDATA[ */ 40 <mt:if name="blog_id"> 39 <mt:unless name="filter_key" eq="backup_templates"> 40 <mt:if name="blog_id"> 41 41 var tableList = ["index", "archive", "module", "system"]; 42 <mt:else>42 <mt:else> 43 43 var tableList = ["module", "email", "system"]; 44 </mt:if> 45 var tableSelect = []; 44 </mt:if> 45 <mt:else> 46 var tableList = ["backup"]; 47 </mt:unless> 46 48 function showTable(name) { 47 49 for (var i=0, len=tableList.length; i<len; i++) { … … 65 67 } 66 68 } 69 var tableSelect = []; 67 70 function init() { 68 71 <mt:loop name="template_type_loop"> … … 76 79 /* ]]> */ 77 80 </script> 78 </mt:setvarblock> 79 </mt:unless> 81 </mt:setvarblock> 80 82 <mt:setvarblock name="system_msg"> 81 83 <mt:if name="saved_deleted">
