{**
* 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
*}
{* Ожидает объект в переменной $field и варианты значений в массиве $options *}
{strip}
<fieldset>
<legend>{$field.NName}</legend>
{foreach from=$options item="option" name="oploop"}
{if $option.NodId}
<input type="radio" name="field{$field.NodId}" value="{$option.NName}"{if $field.default eq $option.NName} checked{/if}/>
{$option.NName}
{if not $smarty.foreach.oploop.last} | {/if}
{/if}
{/foreach}
</fieldset>
{/strip}
|
|