aboutsummaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:27:02 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:27:02 +0000
commitcf3021ef3f5cb839195585d601de76df519da510 (patch)
treee239dbfdec8b90f9aa7654b5bd0ce10cdb542611 /templates/editpage.tmpl
parent0dc0d8e3b5f2db006ac83d0d7f336c2fda51b4bb (diff)
downloadikiwiki-cf3021ef3f5cb839195585d601de76df519da510.tar
ikiwiki-cf3021ef3f5cb839195585d601de76df519da510.tar.gz
* Fixed a bug with previews of subpages having broken links to top-level
pages. * Change how the stylesheet url is determined in the templates: Remove STYLEURL and add BASEURL to all templates (some already had it). This new more general variable can be used to link to other things (eg, images) from the template, as well as stylesheets.
Diffstat (limited to 'templates/editpage.tmpl')
-rw-r--r--templates/editpage.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 1ee4c4947..27155f5cf 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -2,12 +2,10 @@
"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" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
</head>
<body>
<TMPL_IF NAME="PAGE_CONFLICT">