fixing syscp bug #1247 (tab order problems at email forward mask); added abort-button in forwarder_add-template

This commit is contained in:
Michael Kaufmann (d00p) 2010-01-24 15:39:44 +00:00
parent b3f9303f87
commit 8035f7cb22
3 changed files with 8 additions and 3 deletions

View File

@ -1252,5 +1252,6 @@ $lng['spf']['use_spf'] = 'Activate SPF for domains?';
$lng['spf']['spf_entry'] = 'SPF entry for all domains';
$lng['panel']['dirsmissing'] = 'The given directory could not be found.';
$lng['panel']['toomanydirs'] = 'Too many subdirectories. Falling back to manual path-select.';
$lng['panel']['abort'] = 'Abort';
?>

View File

@ -1232,5 +1232,6 @@ $lng['spf']['use_spf'] = 'Aktiviere SPF für Domains?';
$lng['spf']['spf_entry'] = 'SPF Eintrag für alle Domains';
$lng['panel']['dirsmissing'] = 'Das angegebene Verzeichnis konnte nicht gefunden werden.';
$lng['panel']['toomanydirs'] = 'Zu viele Unterverzeichnisse. Weiche auf manuelle Verzeichniseingabe aus.';
$lng['panel']['abort'] = 'Abbrechen';
?>

View File

@ -14,13 +14,16 @@ $header
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['to']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="destination" size="30" /></td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" id="destination" name="destination" size="30" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['forwarder_add']}" /></td>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['forwarder_add']}" />&nbsp;<input type="button" class="bottom" value="{$lng['panel']['abort']}" onclick="history.back();" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer
<script type="text/javascript">
document.forms[0].elements.destination.focus();
</script>
$footer