Add more CSS hooks to inlinepage.tmpl
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>
Sun, 13 Jul 2008 14:13:20 +0000 (15:13 +0100)
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>
Sun, 13 Jul 2008 14:13:20 +0000 (15:13 +0100)
* Wrap everything before the content in <div class="inlineheader">
* Wrap the inlined content itself in <div class="inlinecontent">
* Wrap everything after the content in <div class="inlinefooter">

templates/inlinepage.tmpl

index 71d57b00830fcdf821d87535f195e8add7d4e173..ffcb897a8d250b88fd1a3e22d1ab765329da39f6 100644 (file)
@@ -1,4 +1,7 @@
 <div class="inlinepage">
+
+<div class="inlineheader">
+
 <TMPL_IF NAME="AUTHOR">
 <span class="author">
 <TMPL_IF NAME="AUTHORURL">
 <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
 </TMPL_IF>
 </span>
+
+</div><!--.inlineheader-->
+
+<div class="inlinecontent">
 <TMPL_VAR CONTENT>
+</div><!--.inlinecontent-->
+
+<div class="inlinefooter">
 
 <span class="pagedate">
 Posted <TMPL_VAR CTIME>
@@ -52,7 +62,9 @@ License: <TMPL_VAR LICENSE>
 <li><TMPL_VAR DISCUSSIONLINK></li>
 </TMPL_IF>
 </ul>
-</div>
+</div><!--.actions-->
 </TMPL_IF>
 
-</div>
+</div><!--.inlinefooter-->
+
+</div><!--.inlinepage-->