buildManifest_fileRecurse.tpl 581 B

12345678910111213141516
  1. {* *}
  2. {* Is this a dir or an item? *}
  3. {* *}
  4. {if is_array($dirWalk)}
  5. {* *}
  6. {* Iterate over children *}
  7. {* *}
  8. {foreach from=$dirWalk item=dir key=key}
  9. {include file="buildManifest_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
  10. {/foreach}
  11. {else}
  12. {* *}
  13. {* Output an item *}
  14. {* *}
  15. {$dirWalk->path}
  16. {/if}