Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5b22b6b5

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID 5b22b6b5b7dbb290048cd15b3ede7d18cba4d09c
  • Vorgänger 7a7f33b5
  • Nachfolger df0cd5df

Die Variablen login und password müssen/dürfen seit der Umstellung auf Session basierte Authentifizierung nicht mehr übergeben werden.

Unterschiede anzeigen:

bin/mozilla/pe.pl
49 49

  
50 50
  # construct callback
51 51
  $form->{callback} =
52
    "$form->{script}?action=add&type=$form->{type}&login=$form->{login}&password=$form->{password}"
52
    "$form->{script}?action=add&type=$form->{type}"
53 53
    unless $form->{callback};
54 54

  
55 55
  call_sub("form_$form->{type}_header");
......
180 180

  
181 181
<input type=hidden name=nextsub value=$report>
182 182

  
183
<input type=hidden name=login value=$form->{login}>
184
<input type=hidden name=password value=$form->{password}>
185

  
186 183
<br>
187 184
<input class=submit type=submit name=action value="|
188 185
    . $locale->text('Continue') . qq|">
......
205 202
  PE->projects(\%myconfig, \%$form);
206 203

  
207 204
  $callback =
208
    "$form->{script}?action=project_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}&active=" .
205
    "$form->{script}?action=project_report&type=$form->{type}&status=$form->{status}&active=" .
209 206
    E($form->{active});
210 207
  $href = $callback;
211 208

  
......
286 283
|;
287 284

  
288 285
    $column_data{projectnumber} =
289
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{projectnumber}</td>|;
286
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{projectnumber}</td>|;
290 287
    $column_data{description} = qq|<td>$ref->{description}&nbsp;</td>|;
291 288
    $column_data{active} =
292 289
      qq|<td>| .
......
316 313

  
317 314
<input type=hidden name=type value=$form->{type}>
318 315

  
319
<input type=hidden name=login value=$form->{login}>
320
<input type=hidden name=password value=$form->{password}>
321

  
322 316
<input class=submit type=submit name=action value="|
323 317
    . $locale->text('Add') . qq|">
324 318

  
......
424 418

  
425 419
<input name=callback type=hidden value="$form->{callback}">
426 420

  
427
<input type=hidden name=login value=$form->{login}>
428
<input type=hidden name=password value=$form->{password}>
429

  
430 421
<br><input type=submit class=submit name=action value="|
431 422
    . $locale->text('Save') . qq|">
432 423
|;
......
528 519
  PE->partsgroups(\%myconfig, \%$form);
529 520

  
530 521
  $callback =
531
    "$form->{script}?action=partsgroup_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
522
    "$form->{script}?action=partsgroup_report&type=$form->{type}&status=$form->{status}";
532 523

  
533 524
  if ($form->{status} eq 'all') {
534 525
    $option = $locale->text('All');
......
589 580
|;
590 581

  
591 582
    $column_data{partsgroup} =
592
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{partsgroup}</td>|;
583
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{partsgroup}</td>|;
593 584
    map { print "$column_data{$_}\n" } @column_index;
594 585

  
595 586
    print "
......
613 604

  
614 605
<input type=hidden name=type value=$form->{type}>
615 606

  
616
<input type=hidden name=login value=$form->{login}>
617
<input type=hidden name=password value=$form->{password}>
618

  
619 607
<input class=submit type=submit name=action value="|
620 608
    . $locale->text('Add') . qq|">
621 609

  
......
684 672

  
685 673
<input name=callback type=hidden value="$form->{callback}">
686 674

  
687
<input type=hidden name=login value=$form->{login}>
688
<input type=hidden name=password value=$form->{password}>
689

  
690 675
<br><input type=submit class=submit name=action value="|
691 676
    . $locale->text('Save') . qq|">
692 677
|;
......
727 712
  PE->pricegroups(\%myconfig, \%$form);
728 713

  
729 714
  $callback =
730
    "$form->{script}?action=pricegroup_report&type=$form->{type}&login=$form->{login}&password=$form->{password}&status=$form->{status}";
715
    "$form->{script}?action=pricegroup_report&type=$form->{type}&status=$form->{status}";
731 716

  
732 717
  if ($form->{status} eq 'all') {
733 718
    $option = $locale->text('All');
......
790 775
        <tr valign=top class=listrow$i>
791 776
|;
792 777
    $column_data{pricegroup} =
793
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ref->{pricegroup}</td>|;
778
      qq|<td><a href=$form->{script}?action=edit&type=$form->{type}&status=$form->{status}&id=$ref->{id}&callback=$callback>$ref->{pricegroup}</td>|;
794 779

  
795 780
    map { print "$column_data{$_}\n" } @column_index;
796 781

  
......
815 800

  
816 801
<input type=hidden name=type value=$form->{type}>
817 802

  
818
<input type=hidden name=login value=$form->{login}>
819
<input type=hidden name=password value=$form->{password}>
820

  
821 803
<input class=submit type=submit name=action value="|
822 804
    . $locale->text('Add') . qq|">
823 805

  
......
890 872

  
891 873
<input name=callback type=hidden value="$form->{callback}">
892 874

  
893
<input type=hidden name=login value=$form->{login}>
894
<input type=hidden name=password value=$form->{password}>
895

  
896 875
<br><input type=submit class=submit name=action value="|
897 876
    . $locale->text('Save') . qq|">
898 877
|;

Auch abrufbar als: Unified diff