Subversion-Projekte lars-tiefland.ci

Revision

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

<table width="1000">
        <tr>
                <td class="links">
                        <h1>Eintrag {$action}</h1>
                </td>
        </tr>
        <tr>
                <td width="900" valign="top">
                        <form name="eintrag" method="post" action="{$SCRIPT_NAME}">
                                <table width="900">
                                        <tr>
                                                <td class="links" style="width:25%">zu übersetzender Text</td>
                                                <td class="rechts">
                                                        <input type="text" name="id" value="{$eintrag.id}" size="100" {if $eintrag.id} disabled="disabled"{/if}>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td class="links">Gruppe</td>
                                                <td class="rechts">
                                                        <span style="float:left;">
                                                                <select {if $eintrag.id} disabled="disabled"{/if} name="page" id="groups" style="width:150px;">
                                                                {html_options values=$pages output=$pages selected=$eintrag.page}
                                                                </select>
                                                        </span>
                                                        <span style="float:left;padding-left:10px;">
                                                                <img src="../dokumente/gfx/add.gif" style="cursor:pointer" id="new_lang_group">
                                                        </span>
                                                </td>
                                        </tr>
                                        {section loop=$languages name=l_ind}
                                        <tr>
                                                <td class="links">{$languages[l_ind].name}</td>
                                                <td class="rechts">
                                                        <textarea name="{$languages[l_ind].id}" cols="77" rows="5">{$eintrag[l_ind].string}</textarea>
                                                </td>
                                        </tr>
                                        {/section}
                                        <tr>
                                                <td colspan="2" class="links">
                                                        <input type="submit" value="speichern">
                                                        <input type="hidden" name="mode" value="{$mode|default:"add"}">
                                                </td>
                                        </tr>
                                </table>
                                {if $eintrag.id}
                                <input type="hidden" name="id" value="{$eintrag.id}">
                                <input type="hidden" name="page" value="{$eintrag.page}">
                                {/if}
                                <input type="hidden" name="old_page" value="{$eintrag.page}">
                        </form>
                </td>
                {include file="buttons.tpl"}
        </tr>
</table>

<div id="lang_group_dialog" title="neue Gruppe anlegen">
        <p class="validateTips">Alle Felder sind Pflicht.</p>
        <form>
                <fieldset>
                        <label for="name">Name</label>
                        <input type="text" name="g_name" id="g_name" class="text ui-widget-content ui-corner-all">
                </fieldset>
        </form>
</div>