Revision b65a230d
Von Sven Schöling vor fast 15 Jahren hinzugefügt
bin/mozilla/pe.pl | ||
---|---|---|
101 | 101 |
$form->{title} = $locale->text('Groups'); |
102 | 102 |
|
103 | 103 |
$number = qq| |
104 |
<tr>
|
|
105 |
<th align=right width=1%>| . $locale->text('Group') . qq|</th>
|
|
106 |
<td><input name=partsgroup size=20></td>
|
|
107 |
</tr>
|
|
104 |
<tr>
|
|
105 |
<th align=right width=1%>| . $locale->text('Group') . qq|</th>
|
|
106 |
<td><input name=partsgroup size=20></td>
|
|
107 |
</tr>
|
|
108 | 108 |
|; |
109 | 109 |
|
110 | 110 |
} |
... | ... | |
116 | 116 |
$form->{title} = $locale->text('Pricegroup'); |
117 | 117 |
|
118 | 118 |
$number = qq| |
119 |
<tr>
|
|
120 |
<th align=right width=1%>| . $locale->text('Pricegroup') . qq|</th>
|
|
121 |
<td><input name=pricegroup size=20></td>
|
|
122 |
</tr>
|
|
119 |
<tr>
|
|
120 |
<th align=right width=1%>| . $locale->text('Pricegroup') . qq|</th>
|
|
121 |
<td><input name=pricegroup size=20></td>
|
|
122 |
</tr>
|
|
123 | 123 |
|; |
124 | 124 |
|
125 | 125 |
} |
... | ... | |
143 | 143 |
<td> |
144 | 144 |
<table width=100%> |
145 | 145 |
$number |
146 |
<tr> |
|
147 |
<td></td> |
|
148 |
<td><input name=status class=radio type=radio value=all checked> | |
|
149 |
. $locale->text('All') . qq| |
|
150 |
<input name=status class=radio type=radio value=orphaned> | |
|
151 |
. $locale->text('Orphaned') . qq|</td> |
|
152 |
</tr> |
|
146 |
<tr> |
|
147 |
<td></td> |
|
148 |
<td><input name=status class=radio type=radio value=all checked> | . $locale->text('All') . qq| |
|
149 |
<input name=status class=radio type=radio value=orphaned> | . $locale->text('Orphaned') . qq|</td> |
|
150 |
</tr> |
|
153 | 151 |
</table> |
154 | 152 |
</td> |
155 | 153 |
</tr> |
... | ... | |
196 | 194 |
# saving the history |
197 | 195 |
if(!exists $form->{addition} && $form->{id} ne "") { |
198 | 196 |
$form->{snumbers} = qq|projectnumber_| . $form->{projectnumber}; |
199 |
$form->{addition} = "SAVED";
|
|
200 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
197 |
$form->{addition} = "SAVED";
|
|
198 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
201 | 199 |
} |
202 | 200 |
# /saving the history |
203 | 201 |
|
... | ... | |
224 | 222 |
# saving the history |
225 | 223 |
if(!exists $form->{addition}) { |
226 | 224 |
$form->{snumbers} = qq|projectnumber_| . $form->{projectnumber}; |
227 |
$form->{addition} = "DELETED";
|
|
228 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
225 |
$form->{addition} = "DELETED";
|
|
226 |
$form->save_history($form->dbconnect(\%myconfig));
|
|
229 | 227 |
} |
230 | 228 |
# /saving the history |
231 | 229 |
$main::lxdebug->leave_sub(); |
... | ... | |
283 | 281 |
<tr> |
284 | 282 |
<td> |
285 | 283 |
<table width=100%> |
286 |
<tr class=listheading>
|
|
284 |
<tr class=listheading>
|
|
287 | 285 |
|; |
288 | 286 |
|
289 | 287 |
map { print "$column_header{$_}\n" } @column_index; |
... | ... | |
378 | 376 |
<tr> |
379 | 377 |
<td> |
380 | 378 |
<table width=100%> |
381 |
<tr> |
|
382 |
<th align=right>| . $locale->text('Group') . qq|</th> |
|
383 |
|
|
379 |
<tr> |
|
380 |
<th align=right>| . $locale->text('Group') . qq|</th> |
|
384 | 381 |
<td><input name=partsgroup size=30 value="$form->{partsgroup}"></td> |
385 |
</tr>
|
|
382 |
</tr>
|
|
386 | 383 |
</table> |
387 | 384 |
</td> |
388 | 385 |
</tr> |
... | ... | |
419 | 416 |
|
420 | 417 |
# button for saving history |
421 | 418 |
print qq| |
422 |
<input type=button onclick=set_history_window(|
|
|
423 |
. $form->{id}
|
|
424 |
. qq|); name=history id=history value=|
|
|
425 |
. $locale->text('history')
|
|
426 |
. qq|>|;
|
|
419 |
<input type=button onclick=set_history_window(|
|
|
420 |
. $form->{id}
|
|
421 |
. qq|); name=history id=history value=|
|
|
422 |
. $locale->text('history')
|
|
423 |
. qq|>|;
|
|
427 | 424 |
# /button for saving history |
428 | 425 |
print qq| |
429 | 426 |
</form> |
... | ... | |
491 | 488 |
<tr> |
492 | 489 |
<td> |
493 | 490 |
<table width=100%> |
494 |
<tr class=listheading>
|
|
491 |
<tr class=listheading>
|
|
495 | 492 |
|; |
496 | 493 |
|
497 | 494 |
map { print "$column_header{$_}\n" } @column_index; |
... | ... | |
589 | 586 |
<tr> |
590 | 587 |
<td> |
591 | 588 |
<table width=100%> |
592 |
<tr>
|
|
593 |
<th align=right>| . $locale->text('Preisgruppe') . qq|</th>
|
|
589 |
<tr>
|
|
590 |
<th align=right>| . $locale->text('Preisgruppe') . qq|</th>
|
|
594 | 591 |
<td><input name=pricegroup size=30 value="$form->{pricegroup}"></td> |
595 |
</tr>
|
|
592 |
</tr>
|
|
596 | 593 |
</table> |
597 | 594 |
</td> |
598 | 595 |
</tr> |
... | ... | |
631 | 628 |
|
632 | 629 |
# button for saving history |
633 | 630 |
print qq| |
634 |
<input type=button onclick=set_history_window(|
|
|
635 |
. $form->{id}
|
|
636 |
. qq|); name=history id=history value=|
|
|
637 |
. $locale->text('history')
|
|
638 |
. qq|>|;
|
|
631 |
<input type=button onclick=set_history_window(|
|
|
632 |
. $form->{id}
|
|
633 |
. qq|); name=history id=history value=|
|
|
634 |
. $locale->text('history')
|
|
635 |
. qq|>|;
|
|
639 | 636 |
# /button for saving history |
640 | 637 |
print qq| |
641 | 638 |
</form> |
Auch abrufbar als: Unified diff
Tabs aus *.pl Dateien entfernt.