From aee7eda02b6bf9c5661e729e933e15fb506b41cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 16 Oct 2012 13:13:22 +0200 Subject: [PATCH] =?utf8?q?layout=20schnipsel=20f=C3=BCr=20javascript=20ini?= =?utf8?q?tialisierung=20ins=20layout=20verschoben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Layout/None.pm | 4 ++-- templates/webpages/{generic => layout}/focus_setup.html | 0 templates/webpages/{generic => layout}/javascript_setup.html | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename templates/webpages/{generic => layout}/focus_setup.html (100%) rename templates/webpages/{generic => layout}/javascript_setup.html (100%) diff --git a/SL/Layout/None.pm b/SL/Layout/None.pm index 57b996669..1c990ac93 100644 --- a/SL/Layout/None.pm +++ b/SL/Layout/None.pm @@ -10,12 +10,12 @@ sub javascripts_inline { sub _setup_formats { - $::form->parse_html_template('generic/javascript_setup') + $::form->parse_html_template('layout/javascript_setup') } sub _setup_focus { if ($::request->{layout}->focus || $::form->{fokus}) { - return $::form->parse_html_template('generic/focus_setup', { + return $::form->parse_html_template('layout/focus_setup', { focus => $::request->{layout}->focus, fokus => $::form->{fokus}, }) diff --git a/templates/webpages/generic/focus_setup.html b/templates/webpages/layout/focus_setup.html similarity index 100% rename from templates/webpages/generic/focus_setup.html rename to templates/webpages/layout/focus_setup.html diff --git a/templates/webpages/generic/javascript_setup.html b/templates/webpages/layout/javascript_setup.html similarity index 100% rename from templates/webpages/generic/javascript_setup.html rename to templates/webpages/layout/javascript_setup.html -- 2.20.1