Revision c4b82157
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
$form->{title} = $locale->text('Edit Dunning Process Config');
|
||
$form->{callback} ||= build_std_url("action=edit_config");
|
||
|
||
setup_dn_edit_config_action_bar();
|
||
|
||
$form->header();
|
||
print $form->parse_html_template("dunning/edit_config");
|
||
|
||
... | ... | |
}
|
||
}
|
||
|
||
sub setup_dn_edit_config_action_bar {
|
||
my %params = @_;
|
||
|
||
for my $bar ($::request->layout->get('actionbar')) {
|
||
$bar->add(
|
||
action => [
|
||
t8('Save'),
|
||
submit => [ '#form', { action => "save" } ],
|
||
accesskey => 'enter',
|
||
],
|
||
);
|
||
}
|
||
}
|
||
|
||
# end of main
|
templates/webpages/dunning/edit_config.html | ||
---|---|---|
<script type="text/javascript" src="js/common.js"></script>
|
||
<script type="text/javascript" src="js/dunning.js"></script>
|
||
|
||
<form method="post" action="dn.pl" name="Form">
|
||
<form method="post" action="dn.pl" name="Form" id="form">
|
||
<table>
|
||
|
||
<tr>
|
||
... | ... | |
</tr>
|
||
</table>
|
||
|
||
<hr size="3" noshade>
|
||
|
||
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
|
||
|
||
<input class="submit" type="submit" name="action" value="[% 'Save' | $T8 %]">
|
||
|
||
</form>
|
||
|
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei Mahnungskonfiguration