Subversion-Projekte lars-tiefland.inventar

Revision

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

{include file="header.tpl"}
        <!-- $Id: index.tpl 28 2008-05-24 22:02:19Z lars $ -->
        <table>
                <tr>
                        <th>Aktionen</th>
                </tr>
                <tr>
                        <td>
                                <form action="" method="post">
                                        <input type="submit" class="liteoption" value="neuen Computer anlegen">
                                        <input type="hidden" name="mode" value="new">
                                </form>
                        </td>
                </tr>
        </table>
        <br><br>
        <table>
                <tr>
                        <th>ID</th>
                        <th>Name</th>
                        <th>Aktionen</th>
                </tr>
        {section loop=$list name=c_ind}
                <tr>
                        <td>{$list[c_ind].id}</td>
                        <td>{$list[c_ind].name}</td>
                        <td>
                                <form method="post" action="">
                                        <input type="submit" value="Details" class="liteoption">
                                        <input type="hidden" value="{$list[c_ind].id}" name="id">
                                        <input type="hidden" value="details" name="mode">
                                </form>
                                <form method="post" action="">
                                        <input type="submit" value="&auml;ndern" class="liteoption">
                                        <input type="hidden" value="{$list[c_ind].id}" name="id">
                                        <input type="hidden" value="edit" name="mode">
                                </form>
                                <form method="post" action="">
                                        <input type="submit" value="l&ouml;schen" class="liteoption">
                                        <input type="hidden" value="{$list[c_ind].id}" name="id">
                                        <input type="hidden" value="del" name="mode">
                                </form>
                        </td>
                </tr>
        {/section}
        </table>
{include file="footer.tpl"}