Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 013ebf88

Von Sven Schöling vor mehr als 3 Jahren hinzugefügt

  • ID 013ebf88e73311ca6bed7b525cea73e1e962cc78
  • Vorgänger a8780020
  • Nachfolger 7fe0b02d

SL::Form: $::request->layout, damit init_layout triggert

Unterschiede anzeigen:

SL/Form.pm
392 392
 <body>
393 393

  
394 394
EOT
395
  print $::request->{layout}->pre_content;
396
  print $::request->{layout}->start_content;
395
  print $::request->layout->pre_content;
396
  print $::request->layout->start_content;
397 397

  
398 398
  $layout->header_done;
399 399

  
......
401 401
}
402 402

  
403 403
sub footer {
404
  return unless $::request->{layout}->need_footer;
404
  return unless $::request->layout->need_footer;
405 405

  
406
  print $::request->{layout}->end_content;
407
  print $::request->{layout}->post_content;
406
  print $::request->layout->end_content;
407
  print $::request->layout->post_content;
408 408

  
409
  if (my @inline_scripts = $::request->{layout}->javascripts_inline) {
409
  if (my @inline_scripts = $::request->layout->javascripts_inline) {
410 410
    print "<script type='text/javascript'>" . join("; ", @inline_scripts) . "</script>\n";
411 411
  }
412 412

  

Auch abrufbar als: Unified diff