<li><a href="[field:typedir runphp='yes' function='str_replace("{cmspath}","",@me)']@me=@me."/";@me=str_replace("//","/",@me);[/field:typedir][field:defaultname/]" title="[field:typename/]">[field:typename/]</a></li>