Revision f29fd47b
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
170 | 170 |
$::form->all_vc(\%::myconfig, $::form->{vc}, $is_sales ? "AR" : "AP"); |
171 | 171 |
$vc .= "<option>$_->{name}--$_->{id}\n" for @{ $::form->{"all_$::form->{vc}"} }; |
172 | 172 |
$vc = ($vc) |
173 |
? qq|<select name=$::form->{vc}><option>\n$vc</select>| |
|
174 |
: qq|<input name=$::form->{vc} size=35>|; |
|
173 |
? qq|<select name=$::form->{vc} class="initial_focus"><option>\n$vc</select>|
|
|
174 |
: qq|<input name=$::form->{vc} size=35 class="initial_focus">|;
|
|
175 | 175 |
} |
176 | 176 |
|
177 | 177 |
my ($selection, $paymentaccounts); |
templates/webpages/ar/search.html | ||
---|---|---|
23 | 23 |
limit = vclimit, |
24 | 24 |
show_empty = 1, |
25 | 25 |
allow_textbox = 1, |
26 |
class = 'initial_focus', |
|
26 | 27 |
-%] |
27 | 28 |
</td> |
28 | 29 |
</tr> |
templates/webpages/ct/search_contact.html | ||
---|---|---|
9 | 9 |
<table> |
10 | 10 |
<tr> |
11 | 11 |
<th align="right" nowrap>[% 'Name' | $T8 %]</th> |
12 |
<td><input name="filter.cp_name" size="35"></td> |
|
12 |
<td><input name="filter.cp_name" size="35" class="initial_focus"></td>
|
|
13 | 13 |
</tr> |
14 | 14 |
<tr> |
15 | 15 |
<th align="right" nowrap>[% 'Greeting' | $T8 %]</th> |
templates/webpages/gl/search.html | ||
---|---|---|
16 | 16 |
<table> |
17 | 17 |
<tr> |
18 | 18 |
<th align=right>[% 'Reference / Invoice Number' | $T8 %]</th> |
19 |
<td><input name=reference size=20></td>
|
|
19 |
<td><input name="reference" size="20" class="initial_focus"></td>
|
|
20 | 20 |
<th align=right>[% 'Source' | $T8 %]</th> |
21 | 21 |
<td><input name=source size=20></td> |
22 | 22 |
</tr> |
... | ... | |
121 | 121 |
<br> |
122 | 122 |
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]"> |
123 | 123 |
</form> |
124 |
|
templates/webpages/ic/search.html | ||
---|---|---|
32 | 32 |
|
33 | 33 |
<tr> |
34 | 34 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th> |
35 |
<td colspan="3"><input name="description" size="40"></td> |
|
35 |
<td colspan="3"><input name="description" size="40" class="initial_focus"></td>
|
|
36 | 36 |
</tr> |
37 | 37 |
|
38 | 38 |
<tr> |
templates/webpages/oe/search.html | ||
---|---|---|
27 | 27 |
limit = vclimit, |
28 | 28 |
show_empty = 1, |
29 | 29 |
allow_textbox = 1, |
30 |
class = 'initial_focus', |
|
30 | 31 |
-%] |
31 | 32 |
</td> |
32 | 33 |
</tr> |
... | ... | |
252 | 253 |
<input type="hidden" name="type" value="[% HTML.escape(type) %]"> |
253 | 254 |
<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]"> |
254 | 255 |
</form> |
255 |
|
templates/webpages/project/search.html | ||
---|---|---|
18 | 18 |
|
19 | 19 |
<tr> |
20 | 20 |
<th align="right">[% 'Description' | $T8 %]</th> |
21 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60) %]</td> |
|
21 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60, class='initial_focus') %]</td>
|
|
22 | 22 |
</tr> |
23 | 23 |
|
24 | 24 |
<tr> |
templates/webpages/rp/report.html | ||
---|---|---|
9 | 9 |
</tr> |
10 | 10 |
<tr> |
11 | 11 |
<th colspan=1>[% 'Year' | $T8 %]</th> |
12 |
<td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]"></td> |
|
12 |
<td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus"></td>
|
|
13 | 13 |
</tr> |
14 | 14 |
<tr> |
15 | 15 |
<td align=right> <b>[% 'Yearly' | $T8 %]</b> </td> |
... | ... | |
93 | 93 |
<input type=hidden name=nextsub value=generate_projects> |
94 | 94 |
<tr> |
95 | 95 |
<th align=right>[% 'as at' | $T8 %]</th> |
96 |
<td> [% L.date_tag('fromdate', fromdate) %]</td> |
|
96 |
<td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td>
|
|
97 | 97 |
<th align=right nowrap>[% 'Compare to' | $T8 %]</th> |
98 | 98 |
<td>[% L.date_tag('todate') %]</td> |
99 | 99 |
</tr> |
... | ... | |
136 | 136 |
<input type=hidden name=nextsub value=generate_balance_sheet> |
137 | 137 |
<tr> |
138 | 138 |
<th align=right>[% 'as at' | $T8 %]</th> |
139 |
<td> [% L.date_tag('asofdate', asofdate) %]</td> |
|
139 |
<td> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td>
|
|
140 | 140 |
<td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
141 | 141 |
<td><input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td> |
142 | 142 |
</tr> |
... | ... | |
228 | 228 |
</tr> |
229 | 229 |
<tr> |
230 | 230 |
<th align=right>[% 'Reference' | $T8 %]</th> |
231 |
<td colspan=3><input name=reference></td> |
|
231 |
<td colspan=3><input name=reference class="initial_focus"></td>
|
|
232 | 232 |
</tr> |
233 | 233 |
<tr> |
234 | 234 |
<th align=right nowrap>[% 'Source' | $T8 %]</th> |
templates/webpages/sepa/bank_transfer_search.html | ||
---|---|---|
10 | 10 |
<table> |
11 | 11 |
<tr> |
12 | 12 |
<td align="right">[%- IF vc == 'vendor' %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %]</td> |
13 |
<td><input name="f_vc"></td> |
|
13 |
<td><input name="f_vc" class="initial_focus"></td>
|
|
14 | 14 |
</tr> |
15 | 15 |
|
16 | 16 |
<tr> |
templates/webpages/vk/search_invoice.html | ||
---|---|---|
77 | 77 |
limit = vclimit, |
78 | 78 |
show_empty = 1, |
79 | 79 |
allow_textbox = 1, |
80 |
class = 'initial_focus', |
|
80 | 81 |
-%] |
81 | 82 |
</td> |
82 | 83 |
|
Auch abrufbar als: Unified diff
Initialer Focus in vielen Berichtsmasken