{**
* XS2: Отображение пути от корня до текущего элемента
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{* Отображение пути от корня до текущего элемента *}
{xs2GetPath NodId=$_THE.PARAMS[0] var="path"}
{if $path|@count > 1}
{strip}
{foreach from=$path item="it" name="pathLoop"}
{if not $smarty.foreach.pathLoop.last}
<a href="{xs2Href mod=$_THE.QUE.MOD obj=$it.NType met="show" atr=$it.NodId}">
{/if}
{$it.NName}
{if not $smarty.foreach.pathLoop.last}
</a> >
{/if}
{/foreach}
{/strip}
{/if}
{* /Отображение пути от корня до текущего элемента *}
|
|