aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-02 22:24:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-02 22:24:08 +0000
commitc4e0e8c36c89fa26e76bb21dbdb8263ee88d5143 (patch)
tree7c0d1f0c584ffd5e30152145fd5c7154d76fbc44 /templates
parent2942d580a112f7fc0985cb61503387856bbb81fc (diff)
downloadikiwiki-c4e0e8c36c89fa26e76bb21dbdb8263ee88d5143.tar
ikiwiki-c4e0e8c36c89fa26e76bb21dbdb8263ee88d5143.tar.gz
- add <base> to cgi output, this is especially useful for output containing
wikilinks since the urls should work now in more situations - drop --limit from svn log run, since a) it needs a fairly new svn and b) in some cases, it would limit it to too few entries to display the requested number of changes - Use driver:DB_File and not driver:db_file for better compatability with old versions of CGI::Session. - Note that HTML::Template 3.02.02 is needed.
Diffstat (limited to 'templates')
-rw-r--r--templates/editpage.tmpl3
-rw-r--r--templates/misc.tmpl3
-rw-r--r--templates/recentchanges.tmpl3
3 files changed, 9 insertions, 0 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 1733483d3..4724cd65f 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -2,6 +2,9 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
+<TMPL_IF NAME="BASEURL">
+<base href="<TMPL_VAR BASEURL>" />
+</TMPL_IF>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR FORM-TITLE></title>
<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
diff --git a/templates/misc.tmpl b/templates/misc.tmpl
index 442db8c21..1f724d3cd 100644
--- a/templates/misc.tmpl
+++ b/templates/misc.tmpl
@@ -2,6 +2,9 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
+<TMPL_IF NAME="BASEURL">
+<base href="<TMPL_VAR BASEURL>" />
+</TMPL_IF>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR TITLE></title>
<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl
index 9836e1f2a..f9e7541da 100644
--- a/templates/recentchanges.tmpl
+++ b/templates/recentchanges.tmpl
@@ -2,6 +2,9 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
+<TMPL_IF NAME="BASEURL">
+<base href="<TMPL_VAR BASEURL>" />
+</TMPL_IF>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR TITLE></title>
<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />