From: Moritz Bunkus Date: Fri, 25 Jan 2008 11:26:38 +0000 (+0000) Subject: HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet. X-Git-Tag: release-2.6.0beta1~283 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6e5ea979b62b5137ab35ae18d3579bf6619db15d;p=kivitendo-erp.git HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet. --- diff --git a/templates/webpages/admin/edit_group_membership_de.html b/templates/webpages/admin/edit_group_membership_de.html index 05f2167e9..2b3560c0f 100644 --- a/templates/webpages/admin/edit_group_membership_de.html +++ b/templates/webpages/admin/edit_group_membership_de.html @@ -8,7 +8,7 @@

- [% SET row_is_odd = '1' %][% USE users_it = Iterator(USERS) %][% FOREACH user = users_it %] + [% FOREACH user = USERS %] [% IF user.repeat_headings %] @@ -19,7 +19,7 @@ [% END %] - + [% FOREACH group = user.GROUPS %] diff --git a/templates/webpages/admin/edit_group_membership_master.html b/templates/webpages/admin/edit_group_membership_master.html index 7acc53a38..ce0fa8d50 100644 --- a/templates/webpages/admin/edit_group_membership_master.html +++ b/templates/webpages/admin/edit_group_membership_master.html @@ -9,7 +9,7 @@

[% HTML.escape(user.login) %] [% HTML.escape(user.name) %]
- [% SET row_is_odd = '1' %][% USE users_it = Iterator(USERS) %][% FOREACH user = users_it %] + [% FOREACH user = USERS %] [% IF user.repeat_headings %] @@ -20,7 +20,7 @@ [% END %] - + [% FOREACH group = user.GROUPS %] diff --git a/templates/webpages/admin/edit_user_de.html b/templates/webpages/admin/edit_user_de.html index c31c3691f..2752d199e 100644 --- a/templates/webpages/admin/edit_user_de.html +++ b/templates/webpages/admin/edit_user_de.html @@ -245,8 +245,8 @@ - + [% END %] diff --git a/templates/webpages/admin/edit_user_master.html b/templates/webpages/admin/edit_user_master.html index dea5ee67c..8f77559df 100644 --- a/templates/webpages/admin/edit_user_master.html +++ b/templates/webpages/admin/edit_user_master.html @@ -245,8 +245,8 @@ - + [% END %] diff --git a/templates/webpages/admin/list_users_de.html b/templates/webpages/admin/list_users_de.html index 3214a746f..153c2a44a 100644 --- a/templates/webpages/admin/list_users_de.html +++ b/templates/webpages/admin/list_users_de.html @@ -16,9 +16,8 @@ - [% SET row_odd = '1' %] [% FOREACH row = MEMBERS %] - + diff --git a/templates/webpages/admin/list_users_master.html b/templates/webpages/admin/list_users_master.html index 3bb34da07..fca83aa9f 100644 --- a/templates/webpages/admin/list_users_master.html +++ b/templates/webpages/admin/list_users_master.html @@ -16,9 +16,8 @@ - [% SET row_odd = '1' %] [% FOREACH row = MEMBERS %] - + diff --git a/templates/webpages/admin/update_dataset_de.html b/templates/webpages/admin/update_dataset_de.html index dadcc7e69..cf286c549 100644 --- a/templates/webpages/admin/update_dataset_de.html +++ b/templates/webpages/admin/update_dataset_de.html @@ -21,25 +21,24 @@ - [% SET odd = '1' %][% USE NEED_UPDATES_it = Iterator(NEED_UPDATES) %][% FOREACH row = NEED_UPDATES_it %] - - + [% FOREACH row = NEED_UPDATES %] + + - - - - + + + + - [% IF NEED_UPDATES_it.last %] - - [% END %] [% END %]
[% HTML.escape(user.login) %] [% HTML.escape(user.name) %]
[% USE GROUPS_it = Iterator(GROUPS) %][% FOREACH row = GROUPS_it %][% HTML.escape(row.name) %] - [% UNLESS GROUPS_it.last %] | [% END %][% END %][% FOREACH row = GROUPS %][% HTML.escape(row.name) %] + [% UNLESS loop.last %] | [% END %][% END %]
[% USE GROUPS_it = Iterator(GROUPS) %][% FOREACH row = GROUPS_it %][% HTML.escape(row.name) %] - [% UNLESS GROUPS_it.last %] | [% END %][% END %][% FOREACH row = GROUPS %][% HTML.escape(row.name) %] + [% UNLESS loop.last %] | [% END %][% END %]
Vorlagen
[% HTML.escape(row.login) %] [% HTML.escape(row.name) %] [% HTML.escape(row.company) %]Templates
[% HTML.escape(row.login) %] [% HTML.escape(row.name) %] [% HTML.escape(row.company) %]Benutzer
- - + + PostgreSQL[% HTML.escape(row.dbhost) %][% HTML.escape(row.dbport) %][% HTML.escape(row.dbuser) %]PostgreSQL[% HTML.escape(row.dbhost) %][% HTML.escape(row.dbport) %][% HTML.escape(row.dbuser) %]
+ + diff --git a/templates/webpages/admin/update_dataset_master.html b/templates/webpages/admin/update_dataset_master.html index fd2c3933e..268cf8798 100644 --- a/templates/webpages/admin/update_dataset_master.html +++ b/templates/webpages/admin/update_dataset_master.html @@ -21,25 +21,24 @@ User - [% SET odd = '1' %][% USE NEED_UPDATES_it = Iterator(NEED_UPDATES) %][% FOREACH row = NEED_UPDATES_it %] - - + [% FOREACH row = NEED_UPDATES %] + + - - + + - PostgreSQL - [% HTML.escape(row.dbhost) %] - [% HTML.escape(row.dbport) %] - [% HTML.escape(row.dbuser) %] + PostgreSQL + [% HTML.escape(row.dbhost) %] + [% HTML.escape(row.dbport) %] + [% HTML.escape(row.dbuser) %] - [% IF NEED_UPDATES_it.last %] - - [% END %] [% END %] + + diff --git a/templates/webpages/admin/user_migration_done_de.html b/templates/webpages/admin/user_migration_done_de.html index d95b55856..286248aed 100644 --- a/templates/webpages/admin/user_migration_done_de.html +++ b/templates/webpages/admin/user_migration_done_de.html @@ -6,7 +6,7 @@

Die folgenden Benutzer wurden in die Authentifizierungsdatenbank migriert:

-

[% FOREACH row = MEMBERS %][% row.login %] [% END %]

+

[% FOREACH row = MEMBERS %][% HTML.escape(row.login) %] [% END %]

diff --git a/templates/webpages/admin/user_migration_done_master.html b/templates/webpages/admin/user_migration_done_master.html index 9e16d4841..dd7b32ae6 100644 --- a/templates/webpages/admin/user_migration_done_master.html +++ b/templates/webpages/admin/user_migration_done_master.html @@ -7,7 +7,7 @@

The following users have been migrated into the authentication database:

-

[% FOREACH row = MEMBERS %][% row.login %] [% END %]

+

[% FOREACH row = MEMBERS %][% HTML.escape(row.login) %] [% END %]