stas 2002/07/12 00:54:49 Modified: tmpl/custom/html head headers Log: <base href=""> must come as early as possible in the headers Revision Changes Path 1.14 +4 -3 modperl-docs/tmpl/custom/html/head Index: head =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/head,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- head 9 Jul 2002 19:40:54 -0000 1.13 +++ head 12 Jul 2002 07:54:49 -0000 1.14 @@ -7,7 +7,9 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> - <style type="text/css"> +[%- # these must come first because of the <base href=""> + INCLUDE headers -%] + <style type="text/css"> body { background-color: #ffffff; background-image: url([% doc.dir.abs_doc_root %]/images/bgline.gif); @@ -17,10 +19,9 @@ /* font-size: 1.0em; */ position: relative !important; /* needed for ie5*/ } - </style> + </style> <title>mod_perl: [%- doc.meta.title -%]</title> <link rel="shortcut icon" href="[% doc.dir.abs_doc_root %]/images/favicon.ico" type="image/x-icon"> -[%- INCLUDE headers -%] </head> <body class="body-margins"> 1.7 +5 -3 modperl-docs/tmpl/custom/html/headers Index: headers =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/headers,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- headers 25 Jun 2002 17:09:55 -0000 1.6 +++ headers 12 Jul 2002 07:54:49 -0000 1.7 @@ -18,6 +18,10 @@ -%] +[% IF doc.headers.base -%] + <base href="[% doc.headers.base | uri | html %]"> +[%- END -%] + [%- " $l\n" FOREACH l = [ doc.headers.link, default_headers.link ] -%] <meta name="description" content="mod_perl documentation: [% abstract | html %]"> [%- FOREACH m = ["name", "http-equiv"]; @@ -29,6 +33,4 @@ [%- END; END -%] -[% IF doc.headers.base -%] - <base href="[% doc.headers.base | uri | html %]"> -[%- END -%] +
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]