Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fb7fdc29

Von Thomas Kasulke vor mehr als 17 Jahren hinzugefügt

  • ID fb7fdc29172d26911de001f9a4a5daf3b8fa080b
  • Vorgänger cbc360ad
  • Nachfolger a5f4490f

maxlength in den Formularen aus ct.pl (Kunde eintragen,Lieferant eintragen) an die Länge der Felder in der Datenbank angepasst.

Unterschiede anzeigen:

bin/mozilla/ct.pl
382 382
  if ($form->{db} eq 'vendor') {
383 383
    $customer = qq|
384 384
           <th align=right>| . $locale->text('Kundennummer') . qq|</th>
385
           <td><input name=v_customer_id size=10 maxlength=35 value="$form->{v_customer_id}"></td>
385
           <td><input name=v_customer_id size=10 value="$form->{v_customer_id}"></td>
386 386
|;
387 387
  }
388 388

  
......
390 390

  
391 391
    $customer = qq|
392 392
           <th align=right>| . $locale->text('KNr. beim Kunden') . qq|</th>
393
           <td><input name=c_vendor_id size=10 maxlength=35 value="$form->{c_vendor_id}"></td>
393
           <td><input name=c_vendor_id size=10 value="$form->{c_vendor_id}"></td>
394 394
|;
395 395
  }
396 396

  
......
514 514
	<tr height="5"></tr>
515 515
	<tr>
516 516
	  <th align=right nowrap>| . $locale->text($label . ' Number') . qq|</th>
517
	  <td><input name="$form->{db}number" size=35 maxlength=35 value="$form->{"$form->{db}number"}"></td>
517
	  <td><input name="$form->{db}number" size=35 value="$form->{"$form->{db}number"}"></td>
518 518
	</tr>
519 519
        <tr>
520 520
          <th align=right nowrap>| . $locale->text('Greeting') . qq|</th>
521
          <td><input id=greeting name=greeting size=30 maxlength=30 value="$form->{greeting}">&nbsp;
521
          <td><input id=greeting name=greeting size=30 value="$form->{greeting}">&nbsp;
522 522
          $select_company_greeting</td>
523 523
        </tr>
524 524
	<tr>
......
585 585
	</tr>
586 586
        <tr>
587 587
          <th align=right>| . $locale->text('Account Number') . qq|</th>
588
          <td><input name=account_number size=10 value="$form->{account_number}"></td>
588
          <td><input name="account_number" size="10" maxlength="15" value="$form->{account_number}"></td>
589 589
          <th align=right>| . $locale->text('Bank Code Number') . qq|</th>
590
          <td><input name=bank_code size=10 value="$form->{bank_code}"></td>
590
          <td><input name="bank_code" size="10" maxlength="10" value="$form->{bank_code}"></td>
591 591
          <th align=right>| . $locale->text('Bank') . qq|</th>
592 592
          <td><input name=bank size=30 value="$form->{bank}"></td>
593 593
        </tr>
......
648 648
	<tr>
649 649
	  <th align=right nowrap>|
650 650
    . $locale->text('Zipcode') . "/" . $locale->text('City') . qq|</th>
651
	  <td><input id=shiptozipcode name=shiptozipcode size=5 maxlength=10 value="$form->{shiptozipcode}">
651
	  <td><input id=shiptozipcode name=shiptozipcode size=5 maxlength=75 value="$form->{shiptozipcode}">
652 652
          <input id=shiptocity name=shiptocity size=30 maxlength=75 value="$form->{shiptocity}"></td>
653 653
	</tr>
654 654
	<tr>
655 655
	  <th align=right nowrap>| . $locale->text('Country') . qq|</th>
656
	  <td><input id=shiptocountry name=shiptocountry size=35 maxlength=35 value="$form->{shiptocountry}"></td>
656
	  <td><input id=shiptocountry name=shiptocountry size=35 maxlength=75 value="$form->{shiptocountry}"></td>
657 657
	</tr>
658 658
	<tr>
659 659
          <th align=right nowrap>| . $locale->text('Contact') . qq|</th>
......
693 693
                $ansprechpartner
694 694
                <tr>
695 695
	          <th align=left nowrap>| . $locale->text('Greeting') . qq|</th>
696
                  <td><input id=cp_greeting name=cp_greeting size=40 maxlength=40 value="$form->{cp_greeting}">&nbsp;
696
                  <td><input id=cp_greeting name=cp_greeting size=40 maxlength=75 value="$form->{cp_greeting}">&nbsp;
697 697
                  $select_greeting</td>
698 698
                </tr>
699 699
                <tr>
700 700
                  <th align=left nowrap>| . $locale->text('Title') . qq|</th>
701
                  <td><input id=cp_title name=cp_title size=40 maxlength=40 value="$form->{cp_title}">&nbsp;
701
                  <td><input id=cp_title name=cp_title size=40 maxlength=75 value="$form->{cp_title}">&nbsp;
702 702
                  $select_title</td>
703 703
                </tr>
704 704
                <tr>
705 705
                  <th align=left nowrap>| . $locale->text('Department') . qq|</th>
706
                  <td><input id=cp_abteilung name=cp_abteilung size=40 maxlength=40 value="$form->{cp_abteilung}">&nbsp;
706
                  <td><input id=cp_abteilung name=cp_abteilung size=40 value="$form->{cp_abteilung}">&nbsp;
707 707
                  $select_department</td>
708 708
                </tr>
709 709
                <tr>
710 710
                  <th align=left nowrap>|
711 711
    . $locale->text('Given Name') . qq|</th>
712
                  <td><input id=cp_givenname name=cp_givenname size=40 maxlength=40 value="$form->{cp_givenname}"></td>
712
                  <td><input id="cp_givenname" name="cp_givenname" size="40" maxlength="75" value="$form->{cp_givenname}"></td>
713 713
                </tr>
714 714
                <tr>
715 715
	          <th align=left nowrap>| . $locale->text('Name') . qq|</th>
716
                  <td><input id=cp_name name=cp_name size=40 maxlength=40 value="$form->{cp_name}"></td>
716
                  <td><input id="cp_name" name="cp_name" size="40" maxlength="75" value="$form->{cp_name}"></td>
717 717
                </tr>
718 718
                <tr>
719 719
	          <th align=left nowrap>| . $locale->text('Phone1') . qq|</th>
720
                  <td><input id=cp_phone1 name=cp_phone1 size=40 maxlength=40 value="$form->{cp_phone1}"></td>
720
                  <td><input id="cp_phone1" name="cp_phone1" size="40" maxlength="75" value="$form->{cp_phone1}"></td>
721 721
                </tr>
722 722
                <tr>
723 723
                  <th align=left nowrap>| . $locale->text('Phone2') . qq|</th>
724
                  <td><input id=cp_phone2 name=cp_phone2 size=40 maxlength=40 value="$form->{cp_phone2}"></td>
724
                  <td><input id="cp_phone2" name="cp_phone2" size="40" maxlength="75" value="$form->{cp_phone2}"></td>
725 725
                </tr>
726 726
                <tr>
727 727
                  <th align=left nowrap>| . $locale->text('Fax') . qq|</th>
728
                  <td><input id=cp_fax name=cp_fax size=40 maxlength=40 value="$form->{cp_fax}"></td>
728
                  <td><input id=cp_fax name=cp_fax size=40 value="$form->{cp_fax}"></td>
729 729
                </tr>
730 730
                <tr>
731 731
                  <th align=left nowrap>| . $locale->text('Mobile1') . qq|</th>
732
                  <td><input id=cp_mobile1 name=cp_mobile1 size=40 maxlength=40 value="$form->{cp_mobile1}"></td>
732
                  <td><input id=cp_mobile1 name=cp_mobile1 size=40 value="$form->{cp_mobile1}"></td>
733 733
                </tr>
734 734
                <tr>
735 735
                  <th align=left nowrap>| . $locale->text('Mobile2') . qq|</th>
736
                  <td><input id=cp_mobile2 name=cp_mobile2 size=40 maxlength=40 value="$form->{cp_mobile2}"></td>
736
                  <td><input id=cp_mobile2 name=cp_mobile2 size=40 value="$form->{cp_mobile2}"></td>
737 737
                </tr>
738 738
                <tr>
739 739
                  <th align=left nowrap>| . $locale->text('Sat. Phone') . qq|</th>
740
                  <td><input id=cp_satphone name=cp_satphone size=40 maxlength=40 value="$form->{cp_satphone}"></td>
740
                  <td><input id=cp_satphone name=cp_satphone size=40 value="$form->{cp_satphone}"></td>
741 741
                </tr>
742 742
                <tr>
743 743
                  <th align=left nowrap>| . $locale->text('Sat. Fax') . qq|</th>
744
                  <td><input id=cp_satfax name=cp_satfax size=40 maxlength=40 value="$form->{cp_satfax}"></td>
744
                  <td><input id=cp_satfax name=cp_satfax size=40 value="$form->{cp_satfax}"></td>
745 745
                </tr>
746 746
                <tr>
747 747
	          <th align=left nowrap>| . $locale->text('Project') . qq|</th>
748
                  <td><input id=cp_project name=cp_project size=40 maxlength=40 value="$form->{cp_project}"></td>
748
                  <td><input id=cp_project name=cp_project size=40 value="$form->{cp_project}"></td>
749 749
                </tr>
750 750
                <tr>
751 751
	          <th align=left nowrap>| . $locale->text('E-mail') . qq|</th>
752
                  <td><input id=cp_email name=cp_email size=40 maxlength=40 value="$form->{cp_email}"></td>
752
                  <td><input id=cp_email name=cp_email size=40 value="$form->{cp_email}"></td>
753 753
                </tr>
754 754
                <tr>
755 755
	          <th align=left nowrap>| . $locale->text('Private Phone') . qq|</th>
756
                  <td><input id=cp_privatphone name=cp_privatphone size=40 maxlength=40 value="$form->{cp_privatphone}"></td>
756
                  <td><input id=cp_privatphone name=cp_privatphone size=40 value="$form->{cp_privatphone}"></td>
757 757
                </tr>
758 758
                <tr>
759 759
	          <th align=left nowrap>| . $locale->text('Private E-mail') . qq|</th>
760
                  <td><input id=cp_privatemail name=cp_privatemail size=40 maxlength=40 value="$form->{cp_privatemail}"></td>
760
                  <td><input id=cp_privatemail name=cp_privatemail size=40 value="$form->{cp_privatemail}"></td>
761 761
                </tr>
762 762
                <tr>
763 763
	          <th align=left nowrap>| . $locale->text('Birthday') . qq|</th>
764
                  <td><input id=cp_birthday name=cp_birthday size=40 maxlength=40 value="$form->{cp_birthday}"></td>
764
                  <td><input id=cp_birthday name=cp_birthday size=40 value="$form->{cp_birthday}"></td>
765 765
                </tr>
766 766
                
767 767
          </table>

Auch abrufbar als: Unified diff