Revision 5d79e14e
Von Sven Donath vor etwa 14 Jahren hinzugefügt
bin/mozilla/projects.pl | ||
---|---|---|
92 | 92 |
$form->{CUSTOM_VARIABLES_INCLUSION_CODE}) = CVar->render_search_options('variables' => $form->{CUSTOM_VARIABLES}, |
93 | 93 |
'include_prefix' => 'l_', |
94 | 94 |
'include_value' => 'Y'); |
95 |
$form->{fokus} = 'getElementById("projectnumber")'; |
|
95 | 96 |
|
96 | 97 |
$form->header(); |
97 | 98 |
print $form->parse_html_template('projects/search'); |
templates/webpages/projects/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 |
[% USE HTML %]<body> |
|
2 |
[% USE HTML %]<body onload="fokus()">
|
|
3 | 3 |
|
4 |
<form method="post" action="projects.pl"> |
|
4 |
<form method="post" action="projects.pl" name="Form">
|
|
5 | 5 |
|
6 | 6 |
<div class="listtop">[% title %]</div> |
7 | 7 |
|
... | ... | |
9 | 9 |
<table> |
10 | 10 |
<tr> |
11 | 11 |
<th align="right">[% 'Number' | $T8 %]</th> |
12 |
<td><input name="filter.projectnumber" size="20"></td> |
|
12 |
<td><input name="filter.projectnumber" id="projectnumber" size="20"></td>
|
|
13 | 13 |
</tr> |
14 | 14 |
|
15 | 15 |
<tr> |
Auch abrufbar als: Unified diff
Die Projekt-Suchseite hat jetzt einen Fokus auf "Nummer".
(Stammdaten->Berichte->Projekte)