Revision dacafc89
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
770 | 770 |
|
771 | 771 |
AM->closedto(\%::myconfig, $::form); |
772 | 772 |
|
773 |
setup_am_audit_control_action_bar(); |
|
774 |
|
|
773 | 775 |
$::form->header; |
774 | 776 |
print $::form->parse_html_template('am/audit_control'); |
775 | 777 |
|
... | ... | |
1616 | 1618 |
); |
1617 | 1619 |
} |
1618 | 1620 |
} |
1621 |
|
|
1622 |
sub setup_am_audit_control_action_bar { |
|
1623 |
my %params = @_; |
|
1624 |
|
|
1625 |
for my $bar ($::request->layout->get('actionbar')) { |
|
1626 |
$bar->add( |
|
1627 |
action => [ |
|
1628 |
t8('Save'), |
|
1629 |
submit => [ '#form', { action => 'doclose' } ], |
|
1630 |
accesskey => 'enter', |
|
1631 |
], |
|
1632 |
); |
|
1633 |
} |
|
1634 |
} |
templates/webpages/am/audit_control.html | ||
---|---|---|
5 | 5 |
|
6 | 6 |
<h1>[% title | html %]</h1> |
7 | 7 |
|
8 |
<form method=post action=am.pl>
|
|
8 |
<form method="post" action="am.pl" id="form">
|
|
9 | 9 |
|
10 | 10 |
<table> |
11 | 11 |
<tr> |
... | ... | |
18 | 18 |
</tr> |
19 | 19 |
</table> |
20 | 20 |
|
21 |
<hr size=3 noshade> |
|
22 |
|
|
23 |
<br> |
|
24 |
<input type=hidden name=nextsub value=doclose> |
|
25 |
<input type=submit class=submit name=action value="[% 'Continue' | $T8 %]"> |
|
26 |
|
|
27 | 21 |
</form> |
28 |
|
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei »System« → »Bücherkontrolle«