aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/past_event.wml
diff options
context:
space:
mode:
authorMartin Schulze <joey>2001-05-19 18:52:54 +0000
committerMartin Schulze <joey>2001-05-19 18:52:54 +0000
commit591b67e77440c7fea28eba91c5248845247e1022 (patch)
tree664e7fbd07997c9a068ecc7c43aee1bc0eecf57b /english/template/debian/past_event.wml
parent119007f577069291054262af0e3b8c0914fbf110 (diff)
Added some uncool hack to work around the problem of displaying
"Related Links" but not displaying links actually. With this addition, there are either links and a headline, or no headline at all. CVS version numbers english/template/debian/event.wml: 1.55 -> 1.56 english/template/debian/past_event.wml: 1.12 -> 1.13
Diffstat (limited to 'english/template/debian/past_event.wml')
-rw-r--r--english/template/debian/past_event.wml20
1 files changed, 20 insertions, 0 deletions
diff --git a/english/template/debian/past_event.wml b/english/template/debian/past_event.wml
index d8fd9282fac..2681e2aa8ee 100644
--- a/english/template/debian/past_event.wml
+++ b/english/template/debian/past_event.wml
@@ -42,10 +42,30 @@
#
#<hrline>
+<:
+ if (open (PAGE, "$WML_SRC_FILENAME")) {
+ $go = 0;
+ $use = 0;
+ while (<PAGE>) {
+ next until ($use || /^#use wml::debian::past_event/);
+ $use = 1;
+ next if (/^#/ || /^\s*$/);
+ $go =1;
+ }
+ close (PAGE);
+ } else {
+ $go = 1;
+ }
+
+ if ($go) {
+:>
+
<H2><relatedlinks></H2>
{#mainbody#}
+<: } :>
+
<:= languages() :>
<hrline>

© 2014-2024 Faster IT GmbH | imprint | privacy policy