Move ads to top of page
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 26 Nov 2007 02:41:47 +0000 (21:41 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 26 Nov 2007 02:41:47 +0000 (21:41 -0500)
xsl/media.xsl

index 30a8926..95b0dde 100644 (file)
           <xsl:with-param name="title" select="@title" />
           <xsl:with-param name="href" select="concat(@title, $suffix, '.html')" />
         </xsl:call-template>
-       <xsl:call-template name="donate-now" />
+        <xsl:call-template name="donate-now" />
+        <xsl:if test="$ads">
+          <xsl:call-template name="inline-ads" />
+        </xsl:if>
         <xsl:if test="abstract">
           <h2>Abstract</h2>
           <div>
             <xsl:text> </xsl:text>
           </script>
         </p>
-       <xsl:call-template name="donate-now" />
-        <xsl:if test="$ads">
-          <xsl:call-template name="inline-ads" />
-        </xsl:if>
+        <xsl:call-template name="donate-now" />
         <xsl:call-template name="footer" />
       </div></body>
     </html>