mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 22:23:48 +00:00
16 lines
No EOL
581 B
Smarty
16 lines
No EOL
581 B
Smarty
{* *}
|
|
{* Is this a dir or an item? *}
|
|
{* *}
|
|
{if is_array($dirWalk)}
|
|
{* *}
|
|
{* Iterate over children *}
|
|
{* *}
|
|
{foreach from=$dirWalk item=dir key=key}
|
|
{include file="buildManifest_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
|
|
{/foreach}
|
|
{else}
|
|
{* *}
|
|
{* Output an item *}
|
|
{* *}
|
|
{$dirWalk->path}
|
|
{/if} |