{if is_array($dirWalk)} {foreach from=$dirWalk item=dir key=key} {include file="vc2k8_fileRecurseCSharp.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1} {/foreach} {else} {$dirWalk->path|replace:'../':''|replace:'/':'\\'} {/if}