Subversion-Projekte lars-tiefland.ci

Revision

Revision 42 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

{if !$eulabel}
EU-Labels<br />
<table style="clear:both;float:none;" class="euLabel">
    <tr>
        <td>{$infos}</td>
    </tr>
</table>
{else}
<table class="euLabel" border="1" width="100%">
    <tr>
        <td colspan="2" align="center"><img src="/images/webelemente/eu_label/head.png" width="300"></td>
    </tr>
    {section loop=$eulabel name=ind}
    <tr>
        <td align="right" class="title">{$eulabel[ind].name}</td>
        <td align="left">
        {if $eulabel[ind].type==0 || $eulabel[ind].type==1}
        {$eulabel[ind].wert}{if $eulabel[ind].einheit} {$eulabel[ind].einheit}{/if}
        {elseif $eulabel[ind].type==10||$eulabel[ind].type==5}
        <table class="euLabelRadio">
            <tr>
                {section loop=$eulabel[ind].wertebereich name=w_ind}
                {if $eulabel[ind].type==10}
                <td class="{$eulabel[ind].wertebereich[w_ind]|replace:"+":"p"}{$eulabel[ind].eu_label_id}">
                {else}
                <td class="{$eulabel[ind].wertebereich[w_ind]|trim:"+"}">
                {/if}
                {$eulabel[ind].wertebereich[w_ind]}
                </td>
                {/section}
            </tr>
            <tr>
                {section loop=$eulabel[ind].wertebereich name=w_ind}
                {if $eulabel[ind].type==10}
                <td class="{$eulabel[ind].wertebereich[w_ind]|replace:"+":"p"}{$eulabel[ind].eu_label_id}">
                {else}
                <td class="{$eulabel[ind].wertebereich[w_ind]|trim:"+"}">
                {/if}
                {if $eulabel[ind].wertebereich[w_ind] == $eulabel[ind].wert}X{/if}
                </td>
                {/section}
            </tr>
        </table>
        {elseif $eulabel[ind].type==2}
        {if $eulabel[ind].wert==0}nein{else}ja{/if}
        {/if}
        </td>
    </tr>
    {/section}
    <tr>
        <td colspan="2" class="boxBottom">
                Ein Datenblatt mit weiteren Geräteangaben kann in<br>
                der Regel auf der Herstellerhomepage abgerufen werden.
        </td>
    </tr>
</table>
{/if}