Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: anwiki/_override/global/global/global.tpl.php

Issue 9051084: Changed images to use CSS sprites (Closed)
Patch Set: Removed regression fix Created Dec. 21, 2012, 9:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « anwiki/_override/actions/action_view/action_view.tpl.php ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: anwiki/_override/global/global/global.tpl.php
===================================================================
--- a/anwiki/_override/global/global/global.tpl.php
+++ b/anwiki/_override/global/global/global.tpl.php
@@ -6,7 +6,7 @@
{
$HTML = <<<EOF
<!DOCTYPE html>
-<html lang="{$this->xQuote($sHtmlLang)}" dir="{$this->xQuote($sHtmlDir)}">
+<html lang="{$this->xQuote($sHtmlLang)}" dir="{$this->xQuote($sHtmlDir)}" itemscope="itemscope" itemtype="http://schema.org/WebPage">
<head>
<title>{$this->xText($sTitle)}</title>
$sHead
@@ -75,7 +75,10 @@
$sHeadCss
$sHeadJs
- <!--[if lt IE 7]><script src="$static/js/vendor/supersleight-min.js"></script><![endif]-->
+ <!--[if lt IE 7]>
+ <script src="$static/js/vendor/DD_belatedPNG.js"></script>
+ <script>DD_belatedPNG.fix(".sprite");</script>
+ <![endif]-->
<!--[if lt IE 9]>
<script src="$static/js/vendor/html5shiv.js"></script>
<script src="$static/js/vendor/respond.min.js"></script>
@@ -129,7 +132,7 @@
<nav>
$sMenu
</nav>
- <img id="logo" src="/_override-static/global/global/img/adblockplus_128.png" itemprop="image">
+ <div id="logo" class="sprite" itemprop="image"></div>
EOF;
return $HTML;
}
« no previous file with comments | « anwiki/_override/actions/action_view/action_view.tpl.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld