From: Sven Schöling <s.schoeling@linet-services.de> Date: Fri, 14 Sep 2012 15:07:39 +0000 (+0200) Subject: <body> in eigene Zeile (für späteres entfernen) X-Git-Tag: release-3.0.0beta1~177 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f311ac0fdaf9f33d8ff052f0196ce133108eacd4;p=kivitendo-erp.git <body> in eigene Zeile (für späteres entfernen) commit erzeugt mit: find . -type f | xargs perl -i -pae 'if (/\]<body/) { s/\[%/[%-/g; s/<body/\n<body/ }' --- diff --git a/templates/webpages/admin/backup_dataset.html b/templates/webpages/admin/backup_dataset.html index bce74e048..27a1783d9 100644 --- a/templates/webpages/admin/backup_dataset.html +++ b/templates/webpages/admin/backup_dataset.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); "> +[%- USE HTML %] +<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); "> <script type="text/javascript"> <!-- diff --git a/templates/webpages/admin/backup_dataset_email_done.html b/templates/webpages/admin/backup_dataset_email_done.html index 68f31d771..02409793f 100644 --- a/templates/webpages/admin/backup_dataset_email_done.html +++ b/templates/webpages/admin/backup_dataset_email_done.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> diff --git a/templates/webpages/admin/check_auth_database.html b/templates/webpages/admin/check_auth_database.html index 7f0397a88..76a370c3c 100644 --- a/templates/webpages/admin/check_auth_database.html +++ b/templates/webpages/admin/check_auth_database.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/check_auth_tables.html b/templates/webpages/admin/check_auth_tables.html index 816d0b18e..b4802ccf2 100644 --- a/templates/webpages/admin/check_auth_tables.html +++ b/templates/webpages/admin/check_auth_tables.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/create_dataset.html b/templates/webpages/admin/create_dataset.html index 23c547a3f..6181a1342 100644 --- a/templates/webpages/admin/create_dataset.html +++ b/templates/webpages/admin/create_dataset.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> diff --git a/templates/webpages/admin/create_standard_group_ask.html b/templates/webpages/admin/create_standard_group_ask.html index 00f048918..874895c31 100644 --- a/templates/webpages/admin/create_standard_group_ask.html +++ b/templates/webpages/admin/create_standard_group_ask.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/dbadmin.html b/templates/webpages/admin/dbadmin.html index f6097a51b..64155fb4f 100644 --- a/templates/webpages/admin/dbadmin.html +++ b/templates/webpages/admin/dbadmin.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> diff --git a/templates/webpages/admin/dbdelete.html b/templates/webpages/admin/dbdelete.html index c3537da4e..1ded2d637 100644 --- a/templates/webpages/admin/dbdelete.html +++ b/templates/webpages/admin/dbdelete.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> diff --git a/templates/webpages/admin/delete_dataset.html b/templates/webpages/admin/delete_dataset.html index 5db6ab37d..01197ca8e 100644 --- a/templates/webpages/admin/delete_dataset.html +++ b/templates/webpages/admin/delete_dataset.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p> diff --git a/templates/webpages/admin/delete_group_confirm.html b/templates/webpages/admin/delete_group_confirm.html index a6d8bf069..6606193e9 100644 --- a/templates/webpages/admin/delete_group_confirm.html +++ b/templates/webpages/admin/delete_group_confirm.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% 'Delete group' | $T8 %]: [% name %]</div> <p class="message_hint">[ [% name %] ] - [% 'Do you really want to delete this group?' | $T8 %]</p> diff --git a/templates/webpages/admin/edit_group_membership.html b/templates/webpages/admin/edit_group_membership.html index fe70347a5..b55d95158 100644 --- a/templates/webpages/admin/edit_group_membership.html +++ b/templates/webpages/admin/edit_group_membership.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> <div class="listtop">[% 'Edit group membership' | $T8 %]</div> diff --git a/templates/webpages/admin/edit_groups.html b/templates/webpages/admin/edit_groups.html index d893a5807..357e391f6 100644 --- a/templates/webpages/admin/edit_groups.html +++ b/templates/webpages/admin/edit_groups.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% 'Edit groups' | $T8 %]</div> [% IF message %] diff --git a/templates/webpages/admin/list_users.html b/templates/webpages/admin/list_users.html index ea8e8d74c..b0ec5102e 100644 --- a/templates/webpages/admin/list_users.html +++ b/templates/webpages/admin/list_users.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin" onload=""> +[%- USE HTML %] +<body class="admin" onload=""> <h1>[% title %]</h1> diff --git a/templates/webpages/admin/restore_dataset.html b/templates/webpages/admin/restore_dataset.html index 281731514..c93bcc506 100644 --- a/templates/webpages/admin/restore_dataset.html +++ b/templates/webpages/admin/restore_dataset.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); "> +[%- USE HTML %] +<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); "> <h2>[% title %]</h2> diff --git a/templates/webpages/admin/test_db_connection.html b/templates/webpages/admin/test_db_connection.html index fc0b2839e..657f48b94 100644 --- a/templates/webpages/admin/test_db_connection.html +++ b/templates/webpages/admin/test_db_connection.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/update_dataset.html b/templates/webpages/admin/update_dataset.html index 8a93f90dd..bde72b057 100644 --- a/templates/webpages/admin/update_dataset.html +++ b/templates/webpages/admin/update_dataset.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="admin"> +[%- USE HTML %] +<body class="admin"> <h2>[% title %]</h2> <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p> diff --git a/templates/webpages/admin/user_migration.html b/templates/webpages/admin/user_migration.html index ef34e55e7..a56a577d8 100644 --- a/templates/webpages/admin/user_migration.html +++ b/templates/webpages/admin/user_migration.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/user_migration_complete.html b/templates/webpages/admin/user_migration_complete.html index 5f5114caa..4ef3c3846 100644 --- a/templates/webpages/admin/user_migration_complete.html +++ b/templates/webpages/admin/user_migration_complete.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/admin/user_migration_done.html b/templates/webpages/admin/user_migration_done.html index c20263c39..5f16cf2c1 100644 --- a/templates/webpages/admin/user_migration_done.html +++ b/templates/webpages/admin/user_migration_done.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/am/config.html b/templates/webpages/am/config.html index 29a968757..65d7a8663 100644 --- a/templates/webpages/am/config.html +++ b/templates/webpages/am/config.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] -[% USE HTML %][% USE L %]<body onLoad="fokus()"> +[%- USE HTML %][%- USE L %] +<body onLoad="fokus()"> <p> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/am/confirm_delete_warehouse.html b/templates/webpages/am/confirm_delete_warehouse.html index 541b29a71..b20b415c7 100644 --- a/templates/webpages/am/confirm_delete_warehouse.html +++ b/templates/webpages/am/confirm_delete_warehouse.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/am/edit_defaults.html b/templates/webpages/am/edit_defaults.html index 5b6d40a15..b52b659c4 100644 --- a/templates/webpages/am/edit_defaults.html +++ b/templates/webpages/am/edit_defaults.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/am/edit_price_factor.html b/templates/webpages/am/edit_price_factor.html index 105f8b30f..badc80896 100644 --- a/templates/webpages/am/edit_price_factor.html +++ b/templates/webpages/am/edit_price_factor.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %] diff --git a/templates/webpages/am/edit_tax.html b/templates/webpages/am/edit_tax.html index c495e6913..397b0047f 100644 --- a/templates/webpages/am/edit_tax.html +++ b/templates/webpages/am/edit_tax.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <form method="post" action="am.pl"> <input type="hidden" name="id" value="[% HTML.escape(id) %]"> <input type="hidden" name="type" value="tax"> diff --git a/templates/webpages/am/edit_templates.html b/templates/webpages/am/edit_templates.html index bbce54414..509574d8b 100644 --- a/templates/webpages/am/edit_templates.html +++ b/templates/webpages/am/edit_templates.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <h1>[% title %]</h1> diff --git a/templates/webpages/am/edit_warehouse.html b/templates/webpages/am/edit_warehouse.html index c7ca819af..9e1c9b6fd 100644 --- a/templates/webpages/am/edit_warehouse.html +++ b/templates/webpages/am/edit_warehouse.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]> +[%- USE HTML %] +<body [%- IF onload %]onload="[%- onload %]"[%- END %]> [% IF saved_message %] <p>[% saved_message %]</p> diff --git a/templates/webpages/am/list_tax.html b/templates/webpages/am/list_tax.html index 3d24b5177..b585785b1 100644 --- a/templates/webpages/am/list_tax.html +++ b/templates/webpages/am/list_tax.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop">[% title %]</div> diff --git a/templates/webpages/amcvar/display_cvar_config_form.html b/templates/webpages/amcvar/display_cvar_config_form.html index 3eccf69a2..ed4c20fb8 100644 --- a/templates/webpages/amcvar/display_cvar_config_form.html +++ b/templates/webpages/amcvar/display_cvar_config_form.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="document.Form.name.focus();"> +[%- USE HTML %] +<body onload="document.Form.name.focus();"> <style type="text/css"> .small { diff --git a/templates/webpages/ct/search.html b/templates/webpages/ct/search.html index eeea49ab2..555c8e3dc 100644 --- a/templates/webpages/ct/search.html +++ b/templates/webpages/ct/search.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %]<body onload="fokus()"> +[%- USE HTML %] +<body onload="fokus()"> <form method="post" action="ct.pl" name="Form"> diff --git a/templates/webpages/dbupgrade/header.html b/templates/webpages/dbupgrade/header.html index 09d840b6e..9f43a09e7 100644 --- a/templates/webpages/dbupgrade/header.html +++ b/templates/webpages/dbupgrade/header.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <table width="100%"> <tr> diff --git a/templates/webpages/do/delete.html b/templates/webpages/do/delete.html index 9cd35923c..85d947760 100644 --- a/templates/webpages/do/delete.html +++ b/templates/webpages/do/delete.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> <div class="listtop">[% 'Delete delivery order' | $T8 %]</div> diff --git a/templates/webpages/do/search.html b/templates/webpages/do/search.html index f7ab5d591..eeb3e1ba1 100644 --- a/templates/webpages/do/search.html +++ b/templates/webpages/do/search.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE LxERP %]<body onload="on_load();"> +[%- USE HTML %][%- USE LxERP %] +<body onload="on_load();"> [%- IF vc == 'customer' %] [%- SET is_customer = '1' %] diff --git a/templates/webpages/do/stock_in_form.html b/templates/webpages/do/stock_in_form.html index 57bfc939f..00d214803 100644 --- a/templates/webpages/do/stock_in_form.html +++ b/templates/webpages/do/stock_in_form.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE LxERP %][% USE JavaScript %]<body[% UNLESS delivered %] onload="on_load();"[% END %]> +[%- USE HTML %][%- USE LxERP %][%- USE JavaScript %] +<body[%- UNLESS delivered %] onload="on_load();"[%- END %]> [%- UNLESS delivered %] <script type="text/javascript"> diff --git a/templates/webpages/do/stock_out_form.html b/templates/webpages/do/stock_out_form.html index f9ffbba10..508d914fd 100644 --- a/templates/webpages/do/stock_out_form.html +++ b/templates/webpages/do/stock_out_form.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> [%- IF delivered %] [%- SET RO = ' readonly' %] diff --git a/templates/webpages/drafts/load.html b/templates/webpages/drafts/load.html index 13aae21f3..8ace8b023 100644 --- a/templates/webpages/drafts/load.html +++ b/templates/webpages/drafts/load.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <form action="[% HTML.escape(script) %]" method="post"> diff --git a/templates/webpages/drafts/save_new.html b/templates/webpages/drafts/save_new.html index aaf04ac4e..902309f6e 100644 --- a/templates/webpages/drafts/save_new.html +++ b/templates/webpages/drafts/save_new.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <form action="[% HTML.escape(script) %]" method="post"> diff --git a/templates/webpages/dunning/edit_config.html b/templates/webpages/dunning/edit_config.html index b539ad938..2e9bf2350 100644 --- a/templates/webpages/dunning/edit_config.html +++ b/templates/webpages/dunning/edit_config.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript" src="js/dunning.js"></script> diff --git a/templates/webpages/dunning/set_email.html b/templates/webpages/dunning/set_email.html index 1b96ed91e..5b8bc7061 100644 --- a/templates/webpages/dunning/set_email.html +++ b/templates/webpages/dunning/set_email.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <script type="text/javascript"> <!-- diff --git a/templates/webpages/fu/add_edit.html b/templates/webpages/fu/add_edit.html index 4beb3d63d..a4080649d 100644 --- a/templates/webpages/fu/add_edit.html +++ b/templates/webpages/fu/add_edit.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %]<body onload="on_load();"> +[%- USE HTML %] +<body onload="on_load();"> <script type="text/javascript"> <!-- diff --git a/templates/webpages/generic/calculate_qty.html b/templates/webpages/generic/calculate_qty.html index 73dd750ae..d7a8abd95 100644 --- a/templates/webpages/generic/calculate_qty.html +++ b/templates/webpages/generic/calculate_qty.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <form name="Form"> diff --git a/templates/webpages/generic/edit_email.html b/templates/webpages/generic/edit_email.html index 9aec0ca97..6a67680ff 100644 --- a/templates/webpages/generic/edit_email.html +++ b/templates/webpages/generic/edit_email.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="fokus()"> +[%- USE HTML %] +<body onload="fokus()"> <form name="Form" method="post" action="[% script %]"> diff --git a/templates/webpages/generic/error.html b/templates/webpages/generic/error.html index 7778152b6..5e136750e 100644 --- a/templates/webpages/generic/error.html +++ b/templates/webpages/generic/error.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %] <p class="message_error_label">[% label_error %]</p> diff --git a/templates/webpages/generic/exception.html b/templates/webpages/generic/exception.html index 7c6deb91c..6fddf5b05 100644 --- a/templates/webpages/generic/exception.html +++ b/templates/webpages/generic/exception.html @@ -1,4 +1,5 @@ -[%- USE LxERP %][% USE HTML %]<body> +[%-- USE LxERP %][%- USE HTML %] +<body> <h1 class="message_error">[%- LxERP.t8('Error!') %]</h1> diff --git a/templates/webpages/generic/information.html b/templates/webpages/generic/information.html index a6f6bd754..9f41b7cf8 100644 --- a/templates/webpages/generic/information.html +++ b/templates/webpages/generic/information.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <table width="100%"> <tr> <th class="message_ok">[% IF title_information %][% title_information %][% ELSE %][% 'Information' | $T8 %][% END %]</th> diff --git a/templates/webpages/generic/part_selection.html b/templates/webpages/generic/part_selection.html index ac4aa4a21..3966a054f 100644 --- a/templates/webpages/generic/part_selection.html +++ b/templates/webpages/generic/part_selection.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]> +[%- USE HTML %] +<body [%- IF onload %]onload="[%- onload %]"[%- END %]> <form action="[% HTML.escape(script) %]" method="post" name="Form"> diff --git a/templates/webpages/generic/select_delivery_customer.html b/templates/webpages/generic/select_delivery_customer.html index 20858c1ad..6cb7e51f4 100644 --- a/templates/webpages/generic/select_delivery_customer.html +++ b/templates/webpages/generic/select_delivery_customer.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <form name="Form"> diff --git a/templates/webpages/generic/select_part.html b/templates/webpages/generic/select_part.html index 324c4738a..ab290f748 100644 --- a/templates/webpages/generic/select_part.html +++ b/templates/webpages/generic/select_part.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]> +[%- USE HTML %] +<body [%- IF onload %]onload="[%- onload %]"[%- END %]> <form method="post" action="[% HTML.escape(script) %]"> diff --git a/templates/webpages/generic/select_vendor.html b/templates/webpages/generic/select_vendor.html index 35258df75..b5aaf0c27 100644 --- a/templates/webpages/generic/select_vendor.html +++ b/templates/webpages/generic/select_vendor.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <form name="Form"> diff --git a/templates/webpages/generic/set_longdescription.html b/templates/webpages/generic/set_longdescription.html index 72b50cde1..f64d37e8f 100644 --- a/templates/webpages/generic/set_longdescription.html +++ b/templates/webpages/generic/set_longdescription.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <form name="Form"> diff --git a/templates/webpages/generictranslations/edit_greetings.html b/templates/webpages/generictranslations/edit_greetings.html index 345886acb..ccd699ee1 100644 --- a/templates/webpages/generictranslations/edit_greetings.html +++ b/templates/webpages/generictranslations/edit_greetings.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <p> <div class="listtop">[% HTML.escape(title) %]</div> diff --git a/templates/webpages/generictranslations/edit_sepa_strings.html b/templates/webpages/generictranslations/edit_sepa_strings.html index c6acd8446..cc6d96151 100644 --- a/templates/webpages/generictranslations/edit_sepa_strings.html +++ b/templates/webpages/generictranslations/edit_sepa_strings.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <p> <div class="listtop">[% HTML.escape(title) %]</div> diff --git a/templates/webpages/ic/parts_language_selection.html b/templates/webpages/ic/parts_language_selection.html index 947f7d064..9cdd83d3b 100644 --- a/templates/webpages/ic/parts_language_selection.html +++ b/templates/webpages/ic/parts_language_selection.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="[% onload %]"> +[%- USE HTML %] +<body onload="[%- onload %]"> <form name="Form"> diff --git a/templates/webpages/login/company_logo.html b/templates/webpages/login/company_logo.html index 6f0ff8bf0..e9bee2bb7 100644 --- a/templates/webpages/login/company_logo.html +++ b/templates/webpages/login/company_logo.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> [%- DEFAULT myconfig_dbhost = 'localhost' %] <noscript> [% INCLUDE 'generic/information.html' diff --git a/templates/webpages/login_screen/user_login.html b/templates/webpages/login_screen/user_login.html index 877cc18a6..18d35b0dd 100644 --- a/templates/webpages/login_screen/user_login.html +++ b/templates/webpages/login_screen/user_login.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body class="login" onLoad="document.loginscreen.login.focus()"> +[%- USE HTML %] +<body class="login" onLoad="document.loginscreen.login.focus()"> <center> <table class="login" border="3" cellpadding="20"> diff --git a/templates/webpages/oe/check_for_direct_delivery.html b/templates/webpages/oe/check_for_direct_delivery.html index 35a5135ff..abe1aeb58 100644 --- a/templates/webpages/oe/check_for_direct_delivery.html +++ b/templates/webpages/oe/check_for_direct_delivery.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop" width="100%">[% 'Carry over shipping address' | $T8 %]</div> diff --git a/templates/webpages/projects/project_form.html b/templates/webpages/projects/project_form.html index bd7921687..08f869c3e 100644 --- a/templates/webpages/projects/project_form.html +++ b/templates/webpages/projects/project_form.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> [%- IF message %] <p>[% message %]</p> diff --git a/templates/webpages/projects/search.html b/templates/webpages/projects/search.html index 25c74c339..3e8cc2f18 100644 --- a/templates/webpages/projects/search.html +++ b/templates/webpages/projects/search.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body onload="fokus()"> +[%- USE HTML %] +<body onload="fokus()"> <form method="post" action="projects.pl" name="Form"> diff --git a/templates/webpages/report_generator/csv_export_options.html b/templates/webpages/report_generator/csv_export_options.html index 0d49f2821..233a25d35 100644 --- a/templates/webpages/report_generator/csv_export_options.html +++ b/templates/webpages/report_generator/csv_export_options.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <h1>[% HTML.escape(title) %]</h1> diff --git a/templates/webpages/report_generator/html_report.html b/templates/webpages/report_generator/html_report.html index 332c5ef12..85608c4bd 100644 --- a/templates/webpages/report_generator/html_report.html +++ b/templates/webpages/report_generator/html_report.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body[% IF onload %] onload="[% onload %]"[% END %]> +[%- USE HTML %] +<body[%- IF onload %] onload="[%- onload %]"[%- END %]> <style type="text/css"> <!-- diff --git a/templates/webpages/report_generator/pdf_export_options.html b/templates/webpages/report_generator/pdf_export_options.html index 8956ed7ff..4d3245f85 100644 --- a/templates/webpages/report_generator/pdf_export_options.html +++ b/templates/webpages/report_generator/pdf_export_options.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %]<body> +[%- USE HTML %][%- USE LxERP %] +<body> [%- SET default_margin = LxERP.format_amount(1.5) %] diff --git a/templates/webpages/rp/html_report_susa.html b/templates/webpages/rp/html_report_susa.html index 269e44c9a..db8be49b8 100644 --- a/templates/webpages/rp/html_report_susa.html +++ b/templates/webpages/rp/html_report_susa.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <script type="text/javascript"> <!-- diff --git a/templates/webpages/todo/show_todo_list.html b/templates/webpages/todo/show_todo_list.html index 8d6a137df..b329ca4f6 100644 --- a/templates/webpages/todo/show_todo_list.html +++ b/templates/webpages/todo/show_todo_list.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <div class="listtop" style="margin-bottom: 10px">[% 'Your TODO list' | $T8 %]</div> diff --git a/templates/webpages/ustva/generic_taxreport.html b/templates/webpages/ustva/generic_taxreport.html index e5ee4900c..280a22ea4 100644 --- a/templates/webpages/ustva/generic_taxreport.html +++ b/templates/webpages/ustva/generic_taxreport.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %]<body> +[%- USE HTML %] +<body> <h1>[% 'Generic Tax Report' | $T8 %]</h1> <p>[% 'Taxnumber' | $T8 %]: [% taxnumber %]</p> diff --git a/templates/webpages/wh/journal_filter.html b/templates/webpages/wh/journal_filter.html index bae477093..0a79c805f 100644 --- a/templates/webpages/wh/journal_filter.html +++ b/templates/webpages/wh/journal_filter.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE JavaScript %]<body onload="on_load();"> +[%- USE HTML %][%- USE JavaScript %] +<body onload="on_load();"> <script type="text/javascript"> <!-- diff --git a/templates/webpages/wh/removal_parts_selection.html b/templates/webpages/wh/removal_parts_selection.html index f156cb7e4..dc4cf9db2 100644 --- a/templates/webpages/wh/removal_parts_selection.html +++ b/templates/webpages/wh/removal_parts_selection.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE JavaScript %]<body> +[%- USE HTML %][%- USE JavaScript %] +<body> <form method="post" action="wh.pl"> diff --git a/templates/webpages/wh/report_filter.html b/templates/webpages/wh/report_filter.html index 9215374e9..ef9790a92 100644 --- a/templates/webpages/wh/report_filter.html +++ b/templates/webpages/wh/report_filter.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE JavaScript %]<body onload="on_load();"> +[%- USE HTML %][%- USE JavaScript %] +<body onload="on_load();"> <script type="text/javascript"> <!-- diff --git a/templates/webpages/wh/transfer_parts_selection.html b/templates/webpages/wh/transfer_parts_selection.html index 6ef7eda85..121fffa87 100644 --- a/templates/webpages/wh/transfer_parts_selection.html +++ b/templates/webpages/wh/transfer_parts_selection.html @@ -1,5 +1,6 @@ [%- USE T8 %] -[% USE HTML %][% USE JavaScript %]<body onload="on_load();"> +[%- USE HTML %][%- USE JavaScript %] +<body onload="on_load();"> <script type="text/javascript"> <!-- diff --git a/templates/webpages/wh/warehouse_selection.html b/templates/webpages/wh/warehouse_selection.html index 254e8549c..5cc71fe45 100644 --- a/templates/webpages/wh/warehouse_selection.html +++ b/templates/webpages/wh/warehouse_selection.html @@ -1,7 +1,8 @@ [%- USE T8 %] [%- USE HTML %] [%- USE L %] -[% USE JavaScript %]<body onload="on_load();"> +[%- USE JavaScript %] +<body onload="on_load();"> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript" src="js/part_selection.js"></script> diff --git a/templates/webpages/wh/warehouse_selection_assembly.html b/templates/webpages/wh/warehouse_selection_assembly.html index 3999e8cc6..daf35c523 100644 --- a/templates/webpages/wh/warehouse_selection_assembly.html +++ b/templates/webpages/wh/warehouse_selection_assembly.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE JavaScript %][% USE LxERP %]<body onload="on_load(); [% onload %]"> +[%- USE HTML %][%- USE JavaScript %][%- USE LxERP %] +<body onload="on_load(); [%- onload %]"> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript" src="js/part_selection.js"></script> diff --git a/templates/webpages/wh/warehouse_selection_stock.html b/templates/webpages/wh/warehouse_selection_stock.html index fef9940a4..1324188cf 100644 --- a/templates/webpages/wh/warehouse_selection_stock.html +++ b/templates/webpages/wh/warehouse_selection_stock.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %][% USE JavaScript %][% USE LxERP %]<body onload="on_load(); [% onload %]"> +[%- USE HTML %][%- USE JavaScript %][%- USE LxERP %] +<body onload="on_load(); [%- onload %]"> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript" src="js/part_selection.js"></script>