Replace compiled .html with .wml source from the db.d.o cvs repository
[mirror/userdir-ldap-cgi.git] / html / template / footer.wml
1 #use wml::ctime
2 #use wml::common_tags
3
4 <define-tag sendcomments whitespace=delete>
5   <gettext>To report a problem with the web site, e-mail <a href="mailto:debian-www@lists.debian.org">debian-www@lists.debian.org</a>.  For other contact information, see the Debian <a href="m4_HOME/contact">contact page</a>.</gettext>
6 </define-tag>
7 <define-tag lastmodified whitespace=delete>
8   <gettext>Last Modified</gettext>
9 </define-tag>
10 <define-tag copyright whitespace=delete>
11   <gettext>Copyright</gettext>
12 </define-tag>
13 <define-tag seelicense whitespace=delete>
14   <gettext>See <a href="m4_HOME/license" rel="copyright">license terms</a></gettext>
15 </define-tag>
16 <define-tag trademark whitespace=delete>
17   <gettext>Debian is a registered trademark of Software in the Public Interest, Inc.</gettext>
18 </define-tag>
19
20 # Do NOT translate anything below this line. If you feel something needs
21 # to be modified, first write to debian-www list.
22
23 <define-tag copyrightyears whitespace=delete>
24 <perl>
25 $file = $WML_SRC_DIRNAME."/".$WML_SRC_FILENAME;
26 if ($file =~ m,/(\d{4})/,) {
27   $first = $1;
28 } else {
29   $first = "1997";
30 }
31
32 # the below code taken from ctime.wml:webwml_ctime
33 if (defined $(GEN_TIME)) {
34   $timevar = $WML_GEN_ISOTIME;
35 } else {
36   $timevar = $WML_SRC_ISOTIME;
37 }
38 $timevar =~ /^(\d+)-(..)-(\d+)/;
39 if ($1 <= 31) { # for WML 1.x
40   $second = $3;
41 } else { # for WML 2.x
42   $second = $1;
43 }
44
45 # warn "$first $second\n";
46
47 if ($first eq $second) {
48   print $first;
49 } else {
50   print $first."-".$second;
51 }
52 </perl>
53 </define-tag>
54
55 <when <string-eq "$(NOCOMMENTS)" "" />>
56   <p><small><sendcomments/></small></p>
57 </when>
58 <p><small>
59 <lastmodified/>: <:= webwml_ctime () :>
60 <when <string-eq "$(NOCOPYRIGHT)" "" />>
61   <br />
62   <copyright/> &copy; <copyrightyears/> <a href="http://www.spi-inc.org/">SPI</a>; <seelicense/><br />
63   <trademark />
64 </when>
65 </small></p>
66
67 {#post_footer#}
68 </body>
69 :}
70 </html>