{**
* 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
*}
{literal}
<style type="text/css">
body{ font-family: Arial; }
h1{ color: darkblue; }
h2{ font-weight: bold; font-size: 100%; padding: 1px; margin: 1px;}
h3{ font-size: 80%; padding: 1px; margin: 1px; font-weight: normal; margin-left: 5%;}
a{ color: red; font-weight: bold; }
</style>
{/literal}
{strip}
{if not $children}
<p><a href="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met=$_THE.QUE.MET atr="install"}">Добавить данные</a></p>
{else}
<!--p><a href="{xs2Href mod=$_THE.QUE.MOD obj=$_THE.QUE.OBJ met=$_THE.QUE.MET atr="remove"}">Очистить все данные</a></p-->
{/if}
<h1>
{if $_THE.MOD[$_THE.QUE.MOD].alias}
{$_THE.MOD[$_THE.QUE.MOD].alias}
{else}
{$_THE.QUE.MOD}
{/if}
</h1>
{foreach from=$_THE.MOD[$_THE.QUE.MOD].NTypes item="object" key="ntype"}
<h2>
{if $object.alias}
{$object.alias}
{else}
{$ntype}
{/if}
</h2>
{foreach from=$object.F item="field" key="fname" name="loop"}
{if ($fname neq "NodId" and $fname neq "NFlag")}
{if $field.a}
{assign var="fld" value=$field.a}
{else}
{assign var="fld" value=$fname}
{/if}
<h3>{$fld}</h3>
{/if}
{/foreach}
{/foreach}
{/strip}
|
|