{* backend.dlm.subpage.tpl last modified 2016-08-06 *} {if $dlmgbl.thispage == 2 && $dlmcfs.catfiles === true} {* Show all files in category *}

+/- {$CONST.PLUGIN_DOWNLOADMANAGER_DLS_IN_THIS_CAT}[ {$dlmgbl[0].cat.payload} ]: {$dlmgbl[0].cat.num}

{if is_array( $dlmcfs.filelist )} {foreach from=$dlmcfs.filelist item="file"} {* this is defined in dlm config *} {/foreach} {else} {/if}
{$dlmgbl.filename_field} {$dlmgbl.filenums_field} {$dlmgbl.filesize_field} {$dlmgbl.filedate_field}
{$CONST.PLUGIN_DOWNLOADMANAGER_DEL_FILE} {$CONST.PLUGIN_DOWNLOADMANAGER_DOWNLOAD_FILE} {$file.mime.TYPE} {$file.realfilename} {$file.dlcount} {$file.filesize} {$file.filedate}
{$CONST.PLUGIN_DOWNLOADMANAGER_BUTTON_MARK}   {$CONST.PLUGIN_DOWNLOADMANAGER_BUTTON_MARK_TITLE}
{$CONST.PLUGIN_DOWNLOADMANAGER_NO_FILES_UPLOADED}
{if $dlmcfs.ddiv === false}{/if} {/if} {if $dlmgbl.thispage == 2 && $dlmtfp.thisftp === true} {* Show all ftp/trash files in income dir *}

+/- {$CONST.PLUGIN_DOWNLOADMANAGER_INCOMINGTABLE} {$dlmtfp.ftpfiles.f_arr|@count}

{* // TRASH BOX - show, if multi files from file folder were erased (eg moved to this ftp folder) *} {if true === ( $dlmtfp.ct || $dlmtfp.movedtoftp )}
{/if} {* this info text constant contains linebreaks while there are 3 lines of information to understand *} {$CONST.PLUGIN_DOWNLOADMANAGER_INCOMINGTABLE_BLAHBLAH|sprintf:$dlmtfp.ftppath:$dlmgbl[0].cat.payload} {if is_array($dlmtfp.ftpfiles)} {foreach from=$dlmtfp.ftpfiles item="ifile"} {if !empty($ifile.filename)}{* remove to subarrays d_arr and f_arr *} {/if} {/foreach} {else} {/if}
{$dlmgbl.filename_field} {$dlmgbl.filesize_field} {$dlmgbl.filedate_field}
{$CONST.PLUGIN_DOWNLOADMANAGER_DEL_FILE} {$CONST.PLUGIN_DOWNLOADMANAGER_IMPORT_FILE} {$ifile.filemime.TYPE} {$ifile.filename} {$ifile.filesize} {$ifile.filedate}
 {$CONST.PLUGIN_DOWNLOADMANAGER_BUTTON_MARK}    {$CONST.PLUGIN_DOWNLOADMANAGER_BUTTON_MOVE_TITLE}
{$CONST.PLUGIN_DOWNLOADMANAGER_NO_FILES_UPLOADED}
{if $dlmtfp.ddiv === false}{/if} {/if} {if $dlmgbl.thispage == 2 && $dlmtsl.thissml === true} {* Show all media library files in /uploads dir *}

+/- {$CONST.PLUGIN_DOWNLOADMANAGER_MEDIA_LIBRARY}

{* Erm ... shouldn't this be a form?!? No, this is a single file movement only! We do not need multi file movement in media library. *} {$CONST.PLUGIN_DOWNLOADMANAGER_MEDIA_LIBRARY_BLAHBLAH} {$dlmtsl.smlpath} {if $dlmtsl.issmlarr === true} {* header of serendipity directories in media library *} {if !empty($dlmtsl.extrapath)} {/if} {* array of serendipity directories in media library *} {foreach from=$dlmtsl.smldirs item="smlda"} {/foreach} {* array of serendipity files in media library *} {foreach from=$dlmtsl.smlfiles item="smlfa"} {/foreach} {else} {/if}
{$dlmgbl.filename_field} {$dlmgbl.filesize_field} {$dlmgbl.filedate_field}
{$CONST.PLUGIN_DOWNLOADMANAGER_BACK}
{$smlda.filename}
{$CONST.PLUGIN_DOWNLOADMANAGER_IMPORT_FILE} {$smlfa.filemime.TYPE} {$smlfa.filename} {$smlfa.filesize} {$smlfa.filedate}
 
{$CONST.PLUGIN_DOWNLOADMANAGER_NO_FILES_UPLOADED}
{if $dlmtsl.ddiv === false}{/if} {/if} {if $dlmgbl.thispage == 2 && $dlmhcs.hascats === true} {* Show all subcategories of root level *}

+/- {$CONST.PLUGIN_DOWNLOADMANAGER_CATEGORIES}: {$dlmhcs.catsinccat}

{if is_array( $dlmhcs.catlist )}
{*
{$dlmhcs.catlist|print_r}
*} {section name="cat" loop=$dlmhcs.catlist} {* exclude cat[payload] = root being generated here! *} {if $dlmhcs.catlist[cat].cat.payload != 'root'} {/if} {/section}
{$CONST.PLUGIN_DOWNLOADMANAGER_CATEGORIES} {$CONST.PLUGIN_DOWNLOADMANAGER_NUMBER_OF_DOWNLOADS}
{if $dlmhcs.catlist[cat].cat.subcats <= 0} {$CONST.PLUGIN_DOWNLOADMANAGER_DEL_CAT} {else} {$CONST.PLUGIN_DOWNLOADMANAGER_DEL_CAT_NOT_ALLOWD} {/if} {if $dlmhcs.catlist[cat].cat.hidden != 1} {$CONST.PLUGIN_DOWNLOADMANAGER_HIDE_TREE} {else} {$CONST.PLUGIN_DOWNLOADMANAGER_UNHIDE_TREE} {/if} {foreach from=$dlmhcs.catlist[cat].imgname item="s"}tree {/foreach} {if $dlmhcs.catlist[cat].cat.hidden != 1} {$CONST.PLUGIN_DOWNLOADMANAGER_OPEN_CAT} {else} {$CONST.PLUGIN_DOWNLOADMANAGER_OPEN_CAT} {/if} {* this input element changes the catname on the fly *} {$dlmhcs.catlist[cat].filenum}
{else}

{$CONST.PLUGIN_DOWNLOADMANAGER_NO_CATS_FOUND}

{/if}
{if $dlmhcs.ddiv === false}{/if} {/if} {if $dlmgbl.thispage == 2 && $dlmapx.appendix === true} {* Append helptip and trash box button to clean trash in ftp/trash directory *}
{if $dlmapx.cleanme === true}
{else} {/if}

+/- DLM Help:

{/if}