Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ecbfb57d

Von Moritz Bunkus vor fast 18 Jahren hinzugefügt

  • ID ecbfb57d0271e5dedcdb7001c43d66fdde5564ec
  • Vorgänger 7d53c456
  • Nachfolger b4be1dc7

Hoch-Runter-Spalten mit minimaler Breite anzeigen.

Unterschiede anzeigen:

bin/mozilla/am.pl
1782 1782
                     income_accno_3 expense_accno_3 );
1783 1783

  
1784 1784
  $column_header{up} =
1785
      qq|<th class="listheading">|
1785
      qq|<th class="listheading" width="16">|
1786 1786
    . qq|<img src="image/up.png" alt="| . $locale->text("up") . qq|">|
1787 1787
    . qq|</th>|;
1788 1788
  $column_header{down} =
1789
      qq|<th class="listheading">|
1789
      qq|<th class="listheading" width="16">|
1790 1790
    . qq|<img src="image/down.png" alt="| . $locale->text("down") . qq|">|
1791 1791
    . qq|</th>|;
1792 1792
  $column_header{description} =
......
1868 1868
    if ($row) {
1869 1869
      my $pref = $form->{ALL}->[$row - 1];
1870 1870
      $column_data{up} =
1871
        qq|<td align="center" valign="center">| .
1871
        qq|<td align="center" valign="center" width="16">| .
1872 1872
        qq|<a href="${swap_link}id1=$ref->{id}&id2=$pref->{id}">| .
1873 1873
        qq|<img src="image/up.png" alt="| . $locale->text("up") . qq|">| .
1874 1874
        qq|</a></td>|;
1875 1875
    } else {
1876
      $column_data{up} = qq|<td>&nbsp;</td>|;
1876
      $column_data{up} = qq|<td width="16">&nbsp;</td>|;
1877 1877
    }
1878 1878

  
1879 1879
    if ($row == (scalar(@{ $form->{ALL} }) - 1)) {
1880
      $column_data{down} = qq|<td>&nbsp;</td>|;
1880
      $column_data{down} = qq|<td width="16">&nbsp;</td>|;
1881 1881
    } else {
1882 1882
      my $nref = $form->{ALL}->[$row + 1];
1883 1883
      $column_data{down} =
1884
        qq|<td align="center" valign="center">| .
1884
        qq|<td align="center" valign="center" width="16">| .
1885 1885
        qq|<a href="${swap_link}id1=$ref->{id}&id2=$nref->{id}">| .
1886 1886
        qq|<img src="image/down.png" alt="| . $locale->text("down") . qq|">| .
1887 1887
        qq|</a></td>|;
......
2371 2371
                     terms_skonto percent_skonto);
2372 2372

  
2373 2373
  $column_header{up} =
2374
      qq|<th class="listheading" align="center" valign="center">|
2374
      qq|<th class="listheading" align="center" valign="center" width="16">|
2375 2375
    . qq|<img src="image/up.png" alt="| . $locale->text("up") . qq|">|
2376 2376
    . qq|</th>|;
2377 2377
  $column_header{down} =
2378
      qq|<th class="listheading" align="center" valign="center">|
2378
      qq|<th class="listheading" align="center" valign="center" width="16">|
2379 2379
    . qq|<img src="image/down.png" alt="| . $locale->text("down") . qq|">|
2380 2380
    . qq|</th>|;
2381 2381
  $column_header{description} =
......
2436 2436
    if ($row) {
2437 2437
      my $pref = $form->{ALL}->[$row - 1];
2438 2438
      $column_data{up} =
2439
        qq|<td align="center" valign="center">| .
2439
        qq|<td align="center" valign="center" width="16">| .
2440 2440
        qq|<a href="${swap_link}&id1=$ref->{id}&id2=$pref->{id}">| .
2441 2441
        qq|<img src="image/up.png" alt="| . $locale->text("up") . qq|">| .
2442 2442
        qq|</a></td>|;
2443 2443
    } else {
2444
      $column_data{up} = qq|<td>&nbsp;</td>|;
2444
      $column_data{up} = qq|<td width="16">&nbsp;</td>|;
2445 2445
    }
2446 2446

  
2447 2447
    if ($row == (scalar(@{ $form->{ALL} }) - 1)) {
2448
      $column_data{down} = qq|<td>&nbsp;</td>|;
2448
      $column_data{down} = qq|<td width="16">&nbsp;</td>|;
2449 2449
    } else {
2450 2450
      my $nref = $form->{ALL}->[$row + 1];
2451 2451
      $column_data{down} =
2452
        qq|<td align="center" valign="center">| .
2452
        qq|<td align="center" valign="center" width="16">| .
2453 2453
        qq|<a href="${swap_link}&id1=$ref->{id}&id2=$nref->{id}">| .
2454 2454
        qq|<img src="image/down.png" alt="| . $locale->text("down") . qq|">| .
2455 2455
        qq|</a></td>|;

Auch abrufbar als: Unified diff