aboutsummaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-26 01:10:58 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-26 01:10:58 +0000
commit5466a1daf99e8e4c67a19f871aaf558312569652 (patch)
treeaac6347ea7eb762fad92857ba69ef2c7a839dd74 /templates/editpage.tmpl
parent7f64dd4f6688149306282f1a2a951535b9493300 (diff)
downloadikiwiki-5466a1daf99e8e4c67a19f871aaf558312569652.tar
ikiwiki-5466a1daf99e8e4c67a19f871aaf558312569652.tar.gz
* The page name and parent links has switched from using a <h1> to a styled
<span>, so pages can use <h1> internally instead of needing to use <h2>. * Updated all of ikiwiki's own wiki pages for that. * Add pagetemplate hook, which can be used by plugins that want to mess around with adding new stuff to the page template. * Remove headercontent; the search plugin now adds the search box to the header by registering a pagetemplate hook, and other plugins should do similarly.
Diffstat (limited to 'templates/editpage.tmpl')
-rw-r--r--templates/editpage.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 4724cd65f..b7ec3fa2b 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -20,7 +20,9 @@ confict and commit again to save your changes.
</p>
</TMPL_IF>
<TMPL_VAR FORM-START>
-<h1><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></h1>
+<div id="header">
+<span><TMPL_VAR INDEXLINK>/ <TMPL_VAR FORM-TITLE></span>
+</div>
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-FROM>
<TMPL_VAR FIELD-RCSINFO>
@@ -39,7 +41,7 @@ Optional comment about this change:<br />
<hr />
<TMPL_IF NAME="PAGE_PREVIEW">
<div id="header">
-<h1>Page preview:</h1>
+<span>Page preview:</span>
</div>
<div id="content">
<TMPL_VAR PAGE_PREVIEW>