[exim-cvs] Fix resource references missing /static/

Top Pagina
Delete this message
Reply to this message
Auteur: Exim Git Commits Mailing List
Datum:  
Aan: exim-cvs
Onderwerp: [exim-cvs] Fix resource references missing /static/
Gitweb: http://git.exim.org/exim-website.git/commitdiff/ad0a6832081aee28ab128f93e881aa3b6c09659e
Commit:     ad0a6832081aee28ab128f93e881aa3b6c09659e
Parent:     fa1923456d030387391eb3c13a5e27c3021b9935
Author:     Phil Pennock <pdp@???>
AuthorDate: Thu Dec 6 09:51:33 2012 -0500
Committer:  Phil Pennock <pdp@???>
CommitDate: Thu Dec 6 09:51:33 2012 -0500


    Fix resource references missing /static/


    There's an old /doc/ on tahini, not created/managed by build.


    This seems to get things working for me.


    Testing on http://exim.spodhuis.org/
---
 templates/doc/chapter.xsl      |    2 +-
 templates/doc/index.xsl        |    4 ++--
 templates/static/doc/index.css |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)


diff --git a/templates/doc/chapter.xsl b/templates/doc/chapter.xsl
index bb0a337..52b47f9 100644
--- a/templates/doc/chapter.xsl
+++ b/templates/doc/chapter.xsl
@@ -32,7 +32,7 @@
       <xsl:variable name="html.body.outer.append">
          <div id="toc">
             <ul class="hidden"/>
-            <img src="../../../../doc/contents.png" width="16" height="155"/>
+            <img src="${staticroot}/doc/contents.png" width="16" height="155"/>
          </div>
       </xsl:variable>


diff --git a/templates/doc/index.xsl b/templates/doc/index.xsl
index 651cde7..6237269 100644
--- a/templates/doc/index.xsl
+++ b/templates/doc/index.xsl
@@ -42,8 +42,8 @@
             <xsl:apply-templates select="bookinfo"/>
          </div>
          <div id="options" class="hidden">
-            <img src="{$docroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
-            <img src="{$docroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
+            <img src="{$staticroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
+            <img src="{$staticroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
         <xsl:text>Expand/Collapse all Chapters</xsl:text>
          </div>
          <div id="index">
diff --git a/templates/static/doc/index.css b/templates/static/doc/index.css
index 63ea01f..708da46 100644
--- a/templates/static/doc/index.css
+++ b/templates/static/doc/index.css
@@ -48,7 +48,7 @@


 #chapters.expandable li.chapter .button {
     display:            block;
-    background-image:        url('../../../../doc/plus-12x12.png');
+    background-image:        url('../../../../static/doc/plus-12x12.png');
 }


#chapters.expandable li.chapter span.chapter_title.nosub {
@@ -60,7 +60,7 @@
}

 #chapters.expandable li.chapter.open .button {
-    background-image:        url('../../../../doc/minus-12x12.png');
+    background-image:        url('../../../../static/doc/minus-12x12.png');
 }


#chapters.expandable li.chapter.open ul.sections {