Revision 97c075f9
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/generictranslations.pl | ||
---|---|---|
97 | 97 |
$language->{translation_vc} = $translations_vc{$language->{id}}; |
98 | 98 |
} |
99 | 99 |
|
100 |
setup_generictranslations_edit_sepa_strings_action_bar(); |
|
101 |
|
|
100 | 102 |
$form->{title} = $locale->text('Edit SEPA strings'); |
101 | 103 |
$form->header(); |
102 | 104 |
print $form->parse_html_template('generictranslations/edit_sepa_strings'); |
... | ... | |
148 | 150 |
} |
149 | 151 |
} |
150 | 152 |
|
153 |
sub setup_generictranslations_edit_sepa_strings_action_bar { |
|
154 |
my %params = @_; |
|
155 |
|
|
156 |
for my $bar ($::request->layout->get('actionbar')) { |
|
157 |
$bar->add( |
|
158 |
action => [ |
|
159 |
t8('Save'), |
|
160 |
submit => [ '#form', { action => "save_sepa_strings" } ], |
|
161 |
accesskey => 'enter', |
|
162 |
], |
|
163 |
); |
|
164 |
} |
|
165 |
} |
|
166 |
|
|
151 | 167 |
1; |
templates/webpages/generictranslations/edit_sepa_strings.html | ||
---|---|---|
8 | 8 |
</p> |
9 | 9 |
[%- END %] |
10 | 10 |
|
11 |
<form method="post" action="generictranslations.pl"> |
|
11 |
<form method="post" action="generictranslations.pl" id="form">
|
|
12 | 12 |
|
13 | 13 |
<table> |
14 | 14 |
|
... | ... | |
48 | 48 |
[%- END %] |
49 | 49 |
|
50 | 50 |
</table> |
51 |
|
|
52 |
<p> |
|
53 |
<input type="hidden" name="action" value="save_sepa_strings"> |
|
54 |
<input type="submit" class="submit" value="[% 'Save' | $T8 %]"> |
|
55 |
</p> |
|
56 |
|
|
57 | 51 |
</form> |
58 |
|
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei »System« → »Sprachen und Übersetzungen« → »SEPA-Überweisungen«