From 367a5674dc94bc2b5a8bfdcf4fcccc7668f219b3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 1 Nov 2007 10:12:06 +0000 Subject: [PATCH] Umstellung der HTML-Vorlagen aus templates/webpages/ic von HTML::Template auf Template. --- bin/mozilla/ic.pl | 6 +-- .../ic/parts_language_selection_de.html | 35 ++++++++--------- .../ic/parts_language_selection_master.html | 39 +++++++++---------- 3 files changed, 39 insertions(+), 41 deletions(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index fc0da269e..eeb738001 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -3092,9 +3092,9 @@ sub parts_language_selection { $form->{"title"} = $locale->text("Language Values"); $form->header(); - print($form->parse_html_template("ic/parts_language_selection", { "HEADER" => \@header, - "LANGUAGES" => $languages, - "onload" => $onload })); + print $form->parse_html_template2("ic/parts_language_selection", { "HEADER" => \@header, + "LANGUAGES" => $languages, + "onload" => $onload }); $lxdebug->leave_sub(); } diff --git a/templates/webpages/ic/parts_language_selection_de.html b/templates/webpages/ic/parts_language_selection_de.html index f7c648c87..825abef05 100644 --- a/templates/webpages/ic/parts_language_selection_de.html +++ b/templates/webpages/ic/parts_language_selection_de.html @@ -1,13 +1,12 @@ -onload=""> +[% USE HTML %]
- + + +
[% title %]
- - - @@ -18,22 +17,22 @@
Bitte die Übersetzungen unten eintragen
- - - + [%- FOREACH col = HEADER %] + + [%- END %] - - - - - - + [%- FOREACH row = LANGUAGES %] + + + + + - - - + [%- IF loop.last %] + + [%- END %] + [%- END %]
 [% col.column_title %]
-
[% HTML.escape(row.description) %]
diff --git a/templates/webpages/ic/parts_language_selection_master.html b/templates/webpages/ic/parts_language_selection_master.html index c26849068..2d6a08483 100644 --- a/templates/webpages/ic/parts_language_selection_master.html +++ b/templates/webpages/ic/parts_language_selection_master.html @@ -1,13 +1,12 @@ -onload=""> +[% USE HTML %] - + + +
[% title %]
- - - @@ -18,28 +17,28 @@
Please insert your language values below
- - - + [%- FOREACH col = HEADER %] + + [%- END %] - - - - - - + [%- FOREACH row = LANGUAGES %] + + + + + - - - + [%- IF loop.last %] + + [%- END %] + [%- END %]
 [% col.column_title %]
-
[% HTML.escape(row.description) %]
- + -- 2.20.1