Skip to content

Commit

Permalink
[FIX] IE8 standards mode forced
Browse files Browse the repository at this point in the history
 - it wasn't working due to the order of the META tags;
 - fixes #50;
  • Loading branch information
pferreir committed Feb 4, 2010
1 parent f6c76f1 commit 9161a38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
17 changes: 11 additions & 6 deletions indico/MaKaC/webinterface/stylesheets/include/indico.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,17 @@
</xsl:call-template>
</em>
</xsl:if>

<xsl:if
test="count(./location) != 0 and normalize-space(string(../location)) != normalize-space(string(./location))"
>
<span style="margin-left: 15px;">(
<xsl:apply-templates select="./location">
<xsl:with-param name="span"/>
</xsl:apply-templates>)</span>
</xsl:if>


</span>

<xsl:if test="string-length(./abstract) > 1">
Expand Down Expand Up @@ -325,12 +336,6 @@
</tr>
</xsl:if>

<xsl:if
test="count(./location) != 0 and normalize-space(string(../location)) != normalize-space(string(./location))"
> (<xsl:apply-templates select="./location">
<xsl:with-param name="span"/>
</xsl:apply-templates>) </xsl:if>

</tbody>
</table>

Expand Down
6 changes: 4 additions & 2 deletions indico/MaKaC/webinterface/tpls/HTMLHeader.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<% declareTemplate(newTemplateStyle=True) %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><%= page._getTitle() %><%= area %></title>
<meta http-equiv="X-UA-Compatible" content="IE=8" />

<link rel="shortcut icon" type="image/x-icon" href="<%= systemIcon('addressBarIcon') %>">
<link rel="stylesheet" type="text/css" href="<%= baseurl %>/css/<%= stylesheet %>">
<link rel="stylesheet" type="text/css" href="<%= baseurl %>/css/calendar-blue.css" >

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=8" />

<script type="text/javascript">
var TextRoot = "<%= baseurl %>/js/indico/i18n/";
Expand Down

0 comments on commit 9161a38

Please sign in to comment.