Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a14a3ff5

Von Moritz Bunkus vor fast 18 Jahren hinzugefügt

  • ID a14a3ff56b00e22c39a2cfb0e465f8c7764a4cd4
  • Vorgänger ddc3bbb1
  • Nachfolger b0d83fa8

Jede Menge Javascript-Kalender eingefügt, und an einigen Stellen die Beschriftung von Datumsfeldern von "an" in "bis" geändert.

Unterschiede anzeigen:

bin/mozilla/ap.pl
635 635
        </tr>
636 636
";
637 637

  
638
  my @triggers = ();
638 639
  $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
639 640
  for $i (1 .. $form->{paidaccounts}) {
640 641
    print "
......
674 675
      qq|<td align=center><select name="AP_paid_$i">$form->{"selectAP_paid_$i"}</select></td>|;
675 676
    $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
676 677
    $column_data{"datepaid_$i"}     =
677
      qq|<td align=center><input name="datepaid_$i" size=11 title="($myconfig{'dateformat'})" value=$form->{"datepaid_$i"}></td>|;
678
      qq|<td align=center><input name="datepaid_$i" size=11 title="($myconfig{'dateformat'})" value=$form->{"datepaid_$i"}>
679
         <input type="button" name="datepaid_$i" id="trigger_datepaid_$i" value="?"></td>|;
678 680
    $column_data{"source_$i"} =
679 681
      qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|;
680 682
    $column_data{"memo_$i"} =
......
685 687
    print "
686 688
        </tr>
687 689
";
690
    push(@triggers, "datepaid_$i", "BL", "trigger_datepaid_$i");
688 691
  }
689 692
  map { $form->{$_} =~ s/\"/&quot;/g } qw(selectAP_paid);
690
  print qq|
693
  print $form->write_trigger(\%myconfig, scalar(@triggers) / 3, @triggers) .
694
    qq|
691 695
    <input type=hidden name=paidaccounts value=$form->{paidaccounts}>
692 696
    <input type=hidden name=selectAP_paid value="$form->{selectAP_paid}">
693 697

  
bin/mozilla/ar.pl
655 655
        </tr>
656 656
";
657 657

  
658
  my @triggers = ();
658 659
  $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
659 660
  for $i (1 .. $form->{paidaccounts}) {
660 661
    print "
......
694 695
      qq|<td align=center><select name="AR_paid_$i">$form->{"selectAR_paid_$i"}</select></td>|;
695 696
    $column_data{exchangerate} = qq|<td align=center>$exchangerate</td>|;
696 697
    $column_data{datepaid}     =
697
      qq|<td align=center><input name="datepaid_$i" size=11 value=$form->{"datepaid_$i"}></td>|;
698
      qq|<td align=center><input name="datepaid_$i" size=11 value=$form->{"datepaid_$i"}>
699
         <input type="button" name="datepaid_$i" id="trigger_datepaid_$i" value="?"></td>|;
698 700
    $column_data{source} =
699 701
      qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|;
700 702
    $column_data{memo} =
......
705 707
    print "
706 708
        </tr>
707 709
";
710
    push(@triggers, "datepaid_$i", "BL", "trigger_datepaid_$i");
708 711
  }
709 712
  map { $form->{$_} =~ s/\"/&quot;/g } qw(selectAR_paid);
710
  print qq|
713

  
714
  print $form->write_trigger(\%myconfig, scalar(@triggers) / 3, @triggers) .
715
    qq|
711 716
<input type=hidden name=paidaccounts value=$form->{paidaccounts}>
712 717
<input type=hidden name=selectAR_paid value="$form->{selectAR_paid}">
713 718

  
bin/mozilla/ct.pl
864 864
  # $locale->text('Customer Number')
865 865
  # $locale->text('Vendor Number')
866 866
  $form->{fokus} = "ct.greeting";
867
  $form->{jsscript} = 1;
867 868
  $form->header;
868 869

  
869 870
  print qq|
......
1165 1166
    $delivery
1166 1167
    <tr>
1167 1168
      <th align=left nowrap>| . $locale->text('From') . qq|</th>
1168
      <td><input id=from name=from size=10 maxlength=10 value="$form->{from}"></td>
1169
      <th align=left nowrap>| . $locale->text('Bis') . qq|</th>
1170
      <td><input id=to name=to size=10 maxlength=10 value="$form->{to}"></td>
1169
      <td><input id=from name=from size=10 maxlength=10 value="$form->{from}">
1170
        <input type="button" name="from" id="trigger_from" value="?"></td>
1171
      <th align=left nowrap>| . $locale->text('To (time)') . qq|</th>
1172
      <td><input id=to name=to size=10 maxlength=10 value="$form->{to}">
1173
        <input type="button" name="to" id="trigger_to" value="?"></td>
1171 1174
    </tr>       
1172 1175
    <tr>
1173 1176
     <td colspan=4>
......
1180 1183

  
1181 1184
</div>
1182 1185

  
1183
|;
1186
| . $form->write_trigger(\%myconfig, 2, "from", "BL", "trigger_from",
1187
                         "to", "BL", "trigger_to");
1184 1188

  
1185 1189
  $lxdebug->leave_sub();
1186 1190
}
bin/mozilla/datev.pl
178 178
    . $locale->text('III') . qq|</option>
179 179
                         <option value=4>|
180 180
    . $locale->text('IV') . qq|</option>|;
181
  $form->{"jsscript"} = 1;
181 182
  $form->header;
182 183

  
183 184
  print qq|
......
214 215
        <tr>
215 216
          <td align=left><input name=zeitraum class=radio type=radio value=zeit>&nbsp;</td><td align=left>|
216 217
    . $locale->text('Datum von') . qq|</td>
217
          <td align=left><input name=transdatefrom size=8></td>
218
          <td align=left><input id=transdatefrom name=transdatefrom size=10>
219
            <input type="button" name="transdatefrom" id="trigger_transdatefrom" value="?"></td>
218 220
	  <td align=left>| . $locale->text('bis') . qq|</td>
219
          <td align=left><input name=transdateto size=8></td>
221
          <td align=left><input id=transdateto name=transdateto size=10>
222
            <input type="button" name="transdateto" id="trigger_transdateto" value="?"></td>
220 223
	</tr>
221 224
      </table>
222 225
    </td>
......
226 229
  </tr>
227 230
</table>
228 231

  
232
| . $form->write_trigger(\%myconfig, 2,
233
                         "transdatefrom", "BL", "trigger_transdatefrom",
234
                         "transdateto", "BL", "trigger_transdateto") . qq|
235

  
229 236
<input type=hidden name=beraternr value="$form->{beraternr}">
230 237
<input type=hidden name=dfvkz value="$form->{dfvkz}">
231 238
<input type=hidden name=beratername value="$form->{beratername}">
bin/mozilla/gl.pl
293 293
	<tr>
294 294
	  <th align=right>| . $locale->text('From') . qq|</th>
295 295
          $button1
296
	  <th align=right>| . $locale->text('To (time)') . qq|</th>
296 297
          $button2
297 298
	</tr>
298 299
	<tr>
bin/mozilla/ic.pl
185 185
		<td width=5%>&nbsp;</td>
186 186
		<th>| . $locale->text('From') . qq|</th>
187 187
                $button1
188
		<th>| . $locale->text('To') . qq|</th>
188
		<th>| . $locale->text('To (time)') . qq|</th>
189 189
                $button2
190 190
	      </tr>
191 191
	    </table>
......
235 235
		    <tr>
236 236
		      <th>| . $locale->text('From') . qq|</th>
237 237
		      $button1
238
		      <th>| . $locale->text('To') . qq|</th>
238
		      <th>| . $locale->text('To (time)') . qq|</th>
239 239
		      $button2
240 240
		    </tr>
241 241
		  </table>
......
1596 1596
    if ($form->{transdateto}) {
1597 1597
      $callback .= "&transdateto=$form->{transdateto}";
1598 1598
      $option   .= "\n<br>"
1599
        . $locale->text('To')
1599
        . $locale->text('To (time)')
1600 1600
        . "&nbsp;"
1601 1601
        . $locale->date(\%myconfig, $form->{transdateto}, 1);
1602 1602
    }
bin/mozilla/ir.pl
669 669
	</tr>
670 670
|;
671 671

  
672
  my @triggers = ();
672 673
  $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
673 674
  for $i (1 .. $form->{paidaccounts}) {
674 675

  
......
708 709
    $column_data{"AP_paid_$i"}      =
709 710
      qq|<td align=center><select name="AP_paid_$i">$form->{"selectAP_paid_$i"}</select></td>|;
710 711
    $column_data{"datepaid_$i"} =
711
      qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|;
712
      qq|<td align=center><input name="datepaid_$i" size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}>
713
         <input type="button" name="datepaid_$i" id="trigger_datepaid_$i" value="?"></td>|;
712 714
    $column_data{"source_$i"} =
713 715
      qq|<td align=center><input name="source_$i" size=11 value=$form->{"source_$i"}></td>|;
714 716
    $column_data{"memo_$i"} =
......
719 721
    print qq|
720 722
	</tr>
721 723
|;
724
    push(@triggers, "datepaid_$i", "BL", "trigger_datepaid_$i");
722 725
  }
723 726

  
724 727
  print qq|
......
768 771
    &menubar;
769 772
  }
770 773

  
771
  print qq|
774
  print $form->write_trigger(\%myconfig, scalar(@triggers) / 3, @triggers) .
775
    qq|
772 776

  
773 777
<input type=hidden name=rowcount value=$form->{rowcount}>
774 778

  
bin/mozilla/is.pl
1003 1003
        </tr>
1004 1004
";
1005 1005

  
1006
  my @triggers = ();
1007

  
1006 1008
  $form->{paidaccounts}++ if ($form->{"paid_$form->{paidaccounts}"});
1007 1009
  for $i (1 .. $form->{paidaccounts}) {
1008 1010

  
......
1043 1045
    $column_data{"AR_paid_$i"}      =
1044 1046
      qq|<td align=center><select name="AR_paid_$i">$form->{"selectAR_paid_$i"}</select></td>|;
1045 1047
    $column_data{"datepaid_$i"} =
1046
      qq|<td align=center><input name="datepaid_$i"  size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}></td>|;
1048
      qq|<td align=center><input id="datepaid_$i" name="datepaid_$i"  size=11 title="$myconfig{dateformat}" value=$form->{"datepaid_$i"}>
1049
         <input type="button" name="datepaid_$i" id="trigger_datepaid_$i" value="?"></td>|;
1047 1050
    $column_data{"source_$i"} =
1048 1051
      qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|;
1049 1052
    $column_data{"memo_$i"} =
......
1052 1055
    map { print qq|$column_data{"${_}_$i"}\n| } @column_index;
1053 1056
    print "
1054 1057
        </tr>\n";
1058
    push(@triggers, "datepaid_$i", "BL", "trigger_datepaid_$i");
1055 1059
  }
1056 1060

  
1057 1061
  print qq|
......
1141 1145
    &menubar;
1142 1146
  }
1143 1147

  
1144
  print qq|
1148
  print $form->write_trigger(\%myconfig, scalar(@triggers) / 3, @triggers) .
1149
    qq|
1145 1150

  
1146 1151
<input type=hidden name=rowcount value=$form->{rowcount}>
1147 1152

  
bin/mozilla/licenses.pl
44 44

  
45 45
sub form_header {
46 46
  $lxdebug->enter_sub();
47
  $form->{jsscript} = 1;
47 48
  $form->header();
48 49

  
49 50
  print(
......
236 237
      </tr>
237 238
      <tr>
238 239
        <th align=right>| . $locale->text('Valid until') . qq|</th>
239
        <td><input name=validuntil value=\"|
240
      . quot($form->{"validuntil"}) . qq|\"></td>
240
        <td><input id=validuntil name=validuntil value=\"|
241
      . quot($form->{"validuntil"}) . qq|\">
242
         <input type="button" name="validuntil" id="trigger_validuntil" value="?"></td>
241 243
      </tr>
242 244
      <tr>
243 245
        <th align=right>| . $locale->text('Quantity') . qq|</th>
......
268 270
    qq|
269 271
  </tr>
270 272

  
271
</table>|);
273
</table>| .
274
    $form->write_trigger(\%myconfig, 1, "validuntil", "BL",
275
                         "trigger_validuntil"));
276

  
272 277
  $lxdebug->leave_sub();
273 278
}
274 279

  
bin/mozilla/rc.pl
48 48

  
49 49
  $form->{title} = $locale->text('Reconciliation');
50 50

  
51
  $form->{"jsscript"} = 1;
51 52
  $form->header;
52 53

  
53 54
  print qq|
......
70 71
	</tr>
71 72
	<tr>
72 73
	  <th align=right>| . $locale->text('From') . qq|</th>
73
	  <td><input name=fromdate size=11 title="$myconfig{dateformat}"></td>
74
	  <td><input name=fromdate id=fromdate size=11 title="$myconfig{dateformat}">
75
     <input type="button" name="fromdate" id="trigger_fromdate" value="?"></td>
74 76
	  <th align=right>| . $locale->text('Until') . qq|</th>
75
	  <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
77
	  <td><input name=todate id=todate size=11 title="$myconfig{dateformat}">
78
     <input type="button" name="todate" id="trigger_todate" value="?"></td>
76 79
	</tr>
77 80
      </table>
78 81
    </td>
......
82 85
  </tr>
83 86
</table>
84 87

  
88
| . $form->write_trigger(\%myconfig, 2,
89
                         "fromdate", "BL", "trigger_fromdate",
90
                         "todate", "BL", "trigger_todate") . qq|
91

  
85 92
<br>
86 93
<input type=hidden name=nextsub value=get_payments>
87 94

  
locale/de/all
992 992
  'This upgrade script tries to map all existing units in the database to the newly created units.' => 'Dieses Update-Script versucht, alle bestehenden Einheiten automatisch in die neuen Einheiten umzuwandeln.',
993 993
  'Title'                       => 'Titel',
994 994
  'To'                          => 'An',
995
  'To (time)'                   => 'Bis',
995 996
  'To add a user to a group edit a name, change the login name and save.  A new user with the same variables will then be saved under the new login name.' => 'Um einer Gruppe einen neuen Benutzer hinzuzuf?gen, ?ndern und speichern Sie am einfachsten einen bestehen den Zugriffsnamen. Unter dem neuen Namen wird dann ein Benutzer mit denselben Einstellungen angelegt.',
996 997
  'Top (CSS)'                   => 'Oben (mit CSS)',
997 998
  'Top (Javascript)'            => 'Oben (mit Javascript)',
locale/de/ct
14 14
  'Bcc'                         => 'Bcc',
15 15
  'Billing Address'             => 'Rechnungsadresse',
16 16
  'Birthday'                    => 'Geburtstag',
17
  'Bis'                         => 'bis',
18 17
  'Cannot delete customer!'     => 'Kunde kann nicht gel?scht werden!',
19 18
  'Cannot delete vendor!'       => 'Lieferant kann nicht gel?scht werden!',
20 19
  'Cc'                          => 'Cc',
......
95 94
  'Tax Number / SSN'            => 'Steuernummer',
96 95
  'Taxable'                     => 'Steuerpflichtig',
97 96
  'Title'                       => 'Titel',
97
  'To (time)'                   => 'Bis',
98 98
  'Type of Business'            => 'Kundentyp',
99 99
  'USt-IdNr.'                   => 'USt-IdNr.',
100 100
  'Unit'                        => 'Einheit',
locale/de/gl
91 91
  'Subtotal'                    => 'Zwischensumme',
92 92
  'Tax'                         => 'Steuer',
93 93
  'Taxkey'                      => 'Steuerschl?ssel',
94
  'To (time)'                   => 'Bis',
94 95
  'Transaction Date missing!'   => 'Buchungsdatum fehlt!',
95 96
  'Transaction deleted!'        => 'Buchung gel?scht!',
96 97
  'Update'                      => 'Erneuern',
locale/de/ic
209 209
  'TOP100'                      => 'Top 100',
210 210
  'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' => 'Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden',
211 211
  'To'                          => 'An',
212
  'To (time)'                   => 'Bis',
212 213
  'Top 100'                     => 'Top 100',
213 214
  'Top 100 hinzufuegen'         => 'Top 100 hinzuf?gen',
214 215
  'Top Level'                   => 'Hauptartikelbezeichnung',
locale/de/menuv3
6 6
  'acc_menu'                    => 'acc_menu',
7 7
  'clock_line'                  => 'clock_line',
8 8
  'display'                     => 'display',
9
  'section_menu'                => 'section_menu',
9
  'my_length'                   => 'my_length',
10
  'print_menu'                  => 'print_menu',
10 11
};
11 12

  
12 13
1;

Auch abrufbar als: Unified diff