Revision c6d9d294
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
2397 | 2397 |
|
2398 | 2398 |
# get defaults for account numbers and last numbers |
2399 | 2399 |
AM->defaultaccounts(\%myconfig, \%$form); |
2400 |
$form->{ALL_UNITS} = AM->convertible_units(AM->retrieve_all_units(), 'g'); |
|
2400 | 2401 |
|
2401 | 2402 |
map { $form->{"defaults_${_}"} = $form->{defaults}->{$_} } keys %{ $form->{defaults} }; |
2402 | 2403 |
|
templates/webpages/am/edit_defaults_de.html | ||
---|---|---|
137 | 137 |
|
138 | 138 |
<tr> |
139 | 139 |
<th align="right">Gewichtseinheit</th> |
140 |
<td colspan="3"><input name="weightunit" size="20" maxlength="5" value="[% HTML.escape(defaults_weightunit) %]"></td> |
|
140 |
<!-- <td colspan="3"><input name="weightunit" size="20" maxlength="5" value="[% HTML.escape(defaults_weightunit) %]"></td> --> |
|
141 |
<td> |
|
142 |
[%- INCLUDE 'generic/multibox.html' |
|
143 |
name = 'weightunit', |
|
144 |
default = defaults_weightunit, |
|
145 |
style = 'size:20; maxength:5', |
|
146 |
DATA = ALL_UNITS, |
|
147 |
id_key = 'name', |
|
148 |
label_key = 'name', |
|
149 |
-%] |
|
150 |
</td> |
|
141 | 151 |
</tr> |
142 | 152 |
|
143 | 153 |
</table> |
templates/webpages/am/edit_defaults_master.html | ||
---|---|---|
137 | 137 |
|
138 | 138 |
<tr> |
139 | 139 |
<th align="right"><translate>Weight unit</translate></th> |
140 |
<td colspan="3"><input name="weightunit" size="20" maxlength="5" value="[% HTML.escape(defaults_weightunit) %]"></td> |
|
140 |
<!-- <td colspan="3"><input name="weightunit" size="20" maxlength="5" value="[% HTML.escape(defaults_weightunit) %]"></td> --> |
|
141 |
<td> |
|
142 |
[%- INCLUDE 'generic/multibox.html' |
|
143 |
name = 'weightunit', |
|
144 |
default = defaults_weightunit, |
|
145 |
style = 'size:20; maxength:5', |
|
146 |
DATA = ALL_UNITS, |
|
147 |
id_key = 'name', |
|
148 |
label_key = 'name', |
|
149 |
-%] |
|
150 |
</td> |
|
141 | 151 |
</tr> |
142 | 152 |
|
143 | 153 |
</table> |
Auch abrufbar als: Unified diff
Weightunit im Standarddialog mit Dropdownbox auswählen.
Fix für Bug 1118.