Changeset 17492
- Timestamp:
- Aug 9, 2012, 4:17:49 PM (12 years ago)
- Location:
- extensions/BatchDownloader
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/download.inc.php
r17177 r17492 128 128 } 129 129 130 $template->assign('BATCH_DOWNLOAD_PATH', BATCH_DOWNLOAD_PATH); 130 $template->assign(array( 131 'BATCH_DOWNLOAD_PATH' => BATCH_DOWNLOAD_PATH, 132 'BATCH_DOWNLOAD_ABS_PATH' => realpath(BATCH_DOWNLOAD_PATH).'/', 133 )); 131 134 132 135 -
extensions/BatchDownloader/template/init_zip.tpl
r16626 r17492 7 7 {/if} 8 8 9 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"} 10 {$MENUBAR} 9 {* <!-- Menubar & titrePage --> *} 10 {if $themeconf.name == "stripped" or $themeconf.parent == "stripped"} 11 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/stripped.tpl'} 12 {assign var="clear" value="true"} 13 {elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"} 14 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/simple.tpl'} 15 {assign var="clear" value="true"} 11 16 {else} 12 { assign var="intern_menu" value="true"}17 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/default.tpl'} 13 18 {/if} 14 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">15 {if $intern_menu}{$MENUBAR}{/if}16 17 <div class="titrePage">18 <ul class="categoryActions"></ul>19 <h2>{$TITLE}</h2>20 </div>{* <!-- titrePage --> *}21 19 22 20 {if isset($errors) or not empty($infos)} … … 52 50 {/if} 53 51 52 {if $clear}<div style="clear: both;"></div>{/if} 54 53 </div>{* <!-- content --> *} -
extensions/BatchDownloader/template/view.tpl
r16689 r17492 1 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"} 2 {$MENUBAR} 1 {* <!-- Menubar & titrePage --> *} 2 {if $themeconf.name == "stripped" or $themeconf.parent == "stripped"} 3 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/stripped.tpl'} 4 {assign var="clear" value="true"} 5 {elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"} 6 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/simple.tpl'} 7 {assign var="clear" value="true"} 3 8 {else} 4 { assign var="intern_menu" value="true"}9 {include file=$BATCH_DOWNLOAD_ABS_PATH|@cat:'template/themes/default.tpl'} 5 10 {/if} 6 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">7 {if $intern_menu}{$MENUBAR}{/if}8 9 <div class="titrePage">10 <ul class="categoryActions"></ul>11 <h2>{$TITLE}</h2>12 </div>{* <!-- titrePage --> *}13 11 14 12 {if isset($errors) or not empty($infos)} … … 38 36 {/if} 39 37 38 {if $clear}<div style="clear: both;"></div>{/if} 40 39 </div>{* <!-- content --> *}
Note: See TracChangeset
for help on using the changeset viewer.