Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<form method="post">
    <input type="hidden" name="auspraegung[0][id]" value="{$auspraegung[0].id}">
    <input type="hidden" name="auspraegung[1][id]" value="{$auspraegung[1].id}">
    <table width="100%">
        <tr class="links">
            <td></td>
            <td>
                <b>{$auspraegung[0].name}</b>
            </td>
            {section loop=$auspraegung[0].werte name=w_ind}
            {if $auspraegung[0].werte[w_ind]}
            <td align="center">{$auspraegung[0].werte[w_ind]}</td>
            {/if}
            {/section}
        </tr>
        <tr class="links">
            <td>
                <b>{$auspraegung[1].name}</b>
            </td>
            <td></td>
            {section loop=$auspraegung[0].werte name=w_ind}
            {if $auspraegung[0].werte[w_ind]}
            <td>Name<br>Preis</td>
            {/if}
            {/section}
        </tr>
            {section loop=$auspraegung[1].werte name=w1_ind}
            {if $auspraegung[1].werte[w1_ind]}
        <tr class="{cycle values='rechts,links'}">
            <td width="20%">{$auspraegung[1].werte[w1_ind]}</td>
            <td></td>
            {section loop=$auspraegung[0].werte name=w_ind}
            {if $auspraegung[0].werte[w_ind]}
            <td>
                <input type="text" name="a_name[]" value="{$artikel[$auspraegung[0].werte[w_ind]][$auspraegung[1].werte[w1_ind]].kurzbezeichnung}" size="10">
                <input type="text" name="a_preis[]" value="{$artikel[$auspraegung[0].werte[w_ind]][$auspraegung[1].werte[w1_ind]].preis1}" onkeyup="killkomma_neu(this);" onblur="this.value=killkomma(this.value);" size="10">
                <input type="hidden" name="a_id[]" value="{$artikel[$auspraegung[0].werte[w_ind]][$auspraegung[1].werte[w1_ind]].id}">
                <input type="hidden" name="auspraegung[0][wert][]" value="{$auspraegung[0].werte[w_ind]}">
                <input type="hidden" name="auspraegung[1][wert][]" value="{$auspraegung[1].werte[w1_ind]}">
            </td>
            {/if}
            {/section}
        </tr>
        {/if}
        {/section}
        <tr>
            <td colspan="{$anz}">
                <input type="hidden" name="dir" value="{$dir}">
                <input type="submit" value="speichern und Artikel erzeugen"style="float:left">
                <input type="submit" value="speichern und Artikel erzeugen" style="float:right">
            </td>
        </tr>
    </table>
</form>