From 70ccecab178f9768e989804198ac3bb9e0cfaa68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 29 Oct 2009 16:44:00 +0100 Subject: [PATCH] webdav ausgelagert in eigenes template --- bin/mozilla/is.pl | 1 + templates/webpages/is/form_footer_de.html | 22 +-------------- templates/webpages/is/form_footer_master.html | 27 +------------------ templates/webpages/webdav/_list_de.html | 22 +++++++++++++++ templates/webpages/webdav/_list_master.html | 22 +++++++++++++++ 5 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 templates/webpages/webdav/_list_de.html create mode 100644 templates/webpages/webdav/_list_master.html diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 024dce289..60d6f933e 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -444,6 +444,7 @@ sub form_footer { show_delete => ($form->current_date(\%myconfig) eq $form->{gldate}), }); ##print $form->parse_html_template('is/_payments'); # parser +##print $form->parse_html_template('webdav/_list'); # parser diff --git a/templates/webpages/is/form_footer_de.html b/templates/webpages/is/form_footer_de.html index 570e8a795..26c02ea6f 100644 --- a/templates/webpages/is/form_footer_de.html +++ b/templates/webpages/is/form_footer_de.html @@ -96,27 +96,7 @@ [%#--------------------------- WEB DAV BLOCK %] -[%- IF webdav %] - -
- - - Dokumente im Webdav-Repository - - - - - - - [%- FOREACH file = WEBDAV %] - - - - - [%- END %] -
DateinameWebdavlink
[% file.name %][% file.type %]
- -[% END %] +[% PROCESS 'webdav/_list_de.html' %] [%#--------------------------- WEB DAV BLOCK %] diff --git a/templates/webpages/is/form_footer_master.html b/templates/webpages/is/form_footer_master.html index c6326ee3f..f795faa1b 100644 --- a/templates/webpages/is/form_footer_master.html +++ b/templates/webpages/is/form_footer_master.html @@ -95,35 +95,10 @@ -[%#--------------------------- WEB DAV BLOCK %] -[%- IF webdav %] - -
- - - Dokumente im Webdav-Repository - - - - - - - [%- FOREACH file = WEBDAV %] - - - - - [%- END %] -
DateinameWebdavlink
[% file.name %][% file.type %]
- -[% END %] -[%#--------------------------- WEB DAV BLOCK %] - +[% PROCESS 'webdav/_list_master.html' %] [% PROCESS 'is/_payments_master.html' %] - -
diff --git a/templates/webpages/webdav/_list_de.html b/templates/webpages/webdav/_list_de.html new file mode 100644 index 000000000..3432fc614 --- /dev/null +++ b/templates/webpages/webdav/_list_de.html @@ -0,0 +1,22 @@ + +[%- IF webdav %] + +
+ + + Dokumente im Webdav-Repository + + + + + + + [%- FOREACH file = WEBDAV %] + + + + + [%- END %] +
DateinameWebdavlink
[% file.name %][% file.type %]
+ +[% END %] diff --git a/templates/webpages/webdav/_list_master.html b/templates/webpages/webdav/_list_master.html new file mode 100644 index 000000000..3432fc614 --- /dev/null +++ b/templates/webpages/webdav/_list_master.html @@ -0,0 +1,22 @@ + +[%- IF webdav %] + +
+ + + Dokumente im Webdav-Repository + + + + + + + [%- FOREACH file = WEBDAV %] + + + + + [%- END %] +
DateinameWebdavlink
[% file.name %][% file.type %]
+ +[% END %] -- 2.20.1