Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1adc3d65

Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt

  • ID 1adc3d650423ab68ecdd00ae131c0627f4a1028c
  • Vorgänger d7cf0cbd
  • Nachfolger bfcc910a

Umstellung weiterer HTML-Vorlagen aus templates/webpages/generic von HTML::Template auf Template.

Unterschiede anzeigen:

bin/mozilla/common.pl
307 307

  
308 308
  $form->{"title"} = $locale->text("Select a Customer");
309 309
  $form->header();
310
  print($form->parse_html_template("generic/select_delivery_customer", { "HEADER" => \@header,
311
                                                                   "DELIVERY" => $delivery,
312
                                                                   "onload" => $onload }));
310
  print $form->parse_html_template2("generic/select_delivery_customer", { "HEADER"   => \@header,
311
                                                                          "DELIVERY" => $delivery,
312
                                                                          "onload"   => $onload });
313 313

  
314 314
  $lxdebug->leave_sub();
315 315
}
......
349 349

  
350 350
  $form->{"title"} = $locale->text("Select a Customer");
351 351
  $form->header();
352
  print($form->parse_html_template("generic/select_vendor", { "HEADER" => \@header,
353
                                                                   "VENDOR" => $vendor,
354
                                                                   "onload" => $onload }));
352
  print $form->parse_html_template2("generic/select_vendor", { "HEADER" => \@header,
353
                                                               "VENDOR" => $vendor,
354
                                                               "onload" => $onload });
355 355

  
356 356
  $lxdebug->leave_sub();
357 357
}
......
405 405
sub set_longdescription {
406 406
  $lxdebug->enter_sub();
407 407

  
408

  
409
  my $callback = "$form->{script}?action=set_longdescription&";
410
  map({ $callback .= "$_=" . $form->escape($form->{$_}) . "&" }
411
      (qw(login password name input_name input_id), grep({ /^[fl]_/ } keys %$form)));
412

  
413
  $form->{"title"} = $locale->text("Enter longdescription");
408
  $form->{title} = $locale->text("Enter longdescription");
414 409
  $form->header();
415
  print($form->parse_html_template("generic/set_longdescription"));
410
  print $form->parse_html_template2("generic/set_longdescription");
416 411

  
417 412
  $lxdebug->leave_sub();
418 413
}

Auch abrufbar als: Unified diff