| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l
     tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> | 2 <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "l
     tr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> | 
| 3   <head> | 3   <head> | 
| 4     <title>{{title|translate}}</title> | 4     <title>{{title|translate}}</title> | 
| 5 | 5 | 
| 6     <meta name="viewport" content="width=device-width, initial-scale=1"> | 6     <meta name="viewport" content="width=device-width, initial-scale=1"> | 
| 7     <link rel="stylesheet" href="/css/main.css" class="cssfx"> | 7     <link rel="stylesheet" href="/css/main.css" class="cssfx"> | 
| 8     <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5e
     m)" class="cssfx"> | 8     <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5e
     m)" class="cssfx"> | 
| 9     <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-wi
     dth: 40.5em)"> | 9     <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-wi
     dth: 40.5em)"> | 
| 10     <noscript> | 10     <noscript> | 
| 11       <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width:
      40.5em)"/> | 11       <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width:
      40.5em)"/> | 
| 12       <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and (
     max-width: 40.5em)"/> | 12       <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and (
     max-width: 40.5em)"/> | 
| 13     </noscript> | 13     </noscript> | 
| 14 | 14 | 
| 15     <link rel="canonical" href="https://adblockplus.org/{{page}}"> | 15     <link rel="canonical" href="https://adblockplus.org/{{localefile != "index" 
     and page or ""}}"> | 
| 16 | 16 | 
| 17     <!--[if lt IE 7]> | 17     <!--[if lt IE 7]> | 
| 18       <script src="/js/vendor/DD_belatedPNG.js"></script> | 18       <script src="/js/vendor/DD_belatedPNG.js"></script> | 
| 19       <script>DD_belatedPNG.fix(".sprite");</script> | 19       <script>DD_belatedPNG.fix(".sprite");</script> | 
| 20     <![endif]--> | 20     <![endif]--> | 
| 21     <!--[if lt IE 9]> | 21     <!--[if lt IE 9]> | 
| 22       <script src="/js/vendor/html5shiv.js"></script> | 22       <script src="/js/vendor/html5shiv.js"></script> | 
| 23       <script src="/js/vendor/respond.min.js"></script> | 23       <script src="/js/vendor/respond.min.js"></script> | 
| 24     <![endif]--> | 24     <![endif]--> | 
| 25     <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]--
     > | 25     <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]--
     > | 
| 26     <!-- Fixes cssfx issues in IE8. --> | 26     <!-- Fixes cssfx issues in IE8. --> | 
| 27     <!--[if IE 8]> | 27     <!--[if IE 8]> | 
| 28       <link rel="stylesheet" href="/css/empty.css" class="cssfx"/> | 28       <link rel="stylesheet" href="/css/empty.css" class="cssfx"/> | 
| 29     <![endif]--> | 29     <![endif]--> | 
| 30 | 30 | 
|  | 31     {% block head %} | 
| 31     {{head|safe}} | 32     {{head|safe}} | 
|  | 33     {% endblock %} | 
| 32   </head> | 34   </head> | 
| 33 | 35 | 
| 34   <body> | 36   <body> | 
| 35     {% macro pageitem(name) %} | 37     {% macro pageitem(name) %} | 
| 36       {% if name == page %} | 38       {% if name == page %} | 
| 37         <li class="selected">{{"title"|translate(name)}}</li> | 39         <li class="selected">{{name|translate("menu")}}</li> | 
| 38       {% else %} | 40       {% else %} | 
| 39         <li>{{name|linkify}}{{"title"|translate(name)}}</a></li> | 41         <li>{{name|linkify}}{{name|translate("menu")}}</a></li> | 
| 40       {% endif %} | 42       {% endif %} | 
| 41     {% endmacro %} | 43     {% endmacro %} | 
| 42 | 44 | 
| 43     <header> | 45     <header> | 
| 44       <a id="logo" class="sprite" itemprop="image" href="/"></a> | 46       <a id="logo" class="sprite" itemprop="image" href="/"></a> | 
| 45       <nav> | 47       <nav> | 
| 46         <ul> | 48         <ul> | 
| 47           {% if localefile == "index" %} | 49           {% if localefile == "index" %} | 
| 48             <li class="selected first">{{"installation"|translate("menu")}}</li> | 50             <li class="selected first">{{"installation"|translate("menu")}}</li> | 
| 49           {% else %} | 51           {% else %} | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 75                     <div id="flag-{{lang}}" class="flag sprite"></div>{{config.g
     et("langnames", lang)}} | 77                     <div id="flag-{{lang}}" class="flag sprite"></div>{{config.g
     et("langnames", lang)}} | 
| 76                   </a> | 78                   </a> | 
| 77                 </li> | 79                 </li> | 
| 78               {% endfor %} | 80               {% endfor %} | 
| 79             </ul> | 81             </ul> | 
| 80           </li> | 82           </li> | 
| 81         </ul> | 83         </ul> | 
| 82       </nav> | 84       </nav> | 
| 83     </header> | 85     </header> | 
| 84 | 86 | 
| 85     <div id="content"> | 87     <div id="content" class="{{page}}"> | 
| 86       {% if not noheading %} | 88       {% if not noheading %} | 
| 87       <h1>{{title|translate}}</h1> | 89       <h1>{{title|translate}}</h1> | 
| 88       {% endif %} | 90       {% endif %} | 
| 89 | 91 | 
| 90       {% if not notoc %} | 92       {% if not notoc %} | 
| 91         {% macro toc(toclist) %} | 93         {% macro toc(toclist) %} | 
| 92           <ul> | 94           <ul> | 
| 93             {% for item in toclist %} | 95             {% for item in toclist %} | 
| 94               <li> | 96               <li> | 
| 95                 <a href="#{{item.anchor}}">{{item.title}}</a> | 97                 <a href="#{{item.anchor}}">{{item.title}}</a> | 
| 96                 {% if item.subitems %}{{toc(item.subitems)}}{% endif %} | 98                 {% if item.subitems %}{{toc(item.subitems)}}{% endif %} | 
| 97               </li> | 99               </li> | 
| 98             {% endfor %} | 100             {% endfor %} | 
| 99           </ul> | 101           </ul> | 
| 100         {% endmacro %} | 102         {% endmacro %} | 
| 101 | 103 | 
| 102         {% set toclist = body|toclist %} | 104         {% set toclist = body|toclist %} | 
| 103         {% if toclist %} | 105         {% if toclist %} | 
| 104           <div class="toc"> | 106           <div class="toc"> | 
| 105             {{toc(toclist)}} | 107             {{toc(toclist)}} | 
| 106           </div> | 108           </div> | 
| 107         {% endif %} | 109         {% endif %} | 
| 108       {% endif %} | 110       {% endif %} | 
| 109 | 111 | 
|  | 112       {% block body %} | 
| 110       {{body|safe}} | 113       {{body|safe}} | 
|  | 114       {% endblock %} | 
| 111     </div> | 115     </div> | 
| 112 | 116 | 
| 113     <footer> | 117     <footer> | 
| 114       <div id="footer-content"> | 118       <div id="footer-content"> | 
| 115         <nav> | 119         <nav> | 
| 116           <section class="first"> | 120           <section class="first"> | 
| 117             <h1>{{"resources"|translate("menu")}}</h1> | 121             <h1>{{"resources"|translate("menu")}}</h1> | 
| 118             <ul> | 122             <ul> | 
| 119               {% for name in ["screenshots", "documentation", "privacy", "impres
     sum"] %} | 123               {% for name in ["acceptable-ads", "documentation", "privacy", "imp
     ressum"] %} | 
| 120                 {{pageitem(name)}} | 124                 {{pageitem(name)}} | 
| 121               {% endfor %} | 125               {% endfor %} | 
| 122             </ul> | 126             </ul> | 
| 123           </section> | 127           </section> | 
| 124 | 128 | 
| 125           <section> | 129           <section> | 
| 126             <h1>{{"community"|translate("menu")}}</h1> | 130             <h1>{{"community"|translate("menu")}}</h1> | 
| 127             <ul> | 131             <ul> | 
| 128               <li><a href="/releases/" hreflang="en">{{"releases"|translate("men
     u")}}</a></li> | 132               <li><a href="/releases/" hreflang="en">{{"releases"|translate("men
     u")}}</a></li> | 
| 129               <li><a href="/blog/" hreflang="en">{{"blog"|translate("menu")}}</a
     ></li> | 133               <li><a href="/blog/" hreflang="en">{{"blog"|translate("menu")}}</a
     ></li> | 
| 130               <li><a href="/forum/" hreflang="en">{{"forum"|translate("menu")}}<
     /a></li> | 134               <li><a href="/forum/" hreflang="en">{{"forum"|translate("menu")}}<
     /a></li> | 
| 131               {{pageitem("development-builds")}} | 135               {{pageitem("development-builds")}} | 
| 132             </ul> | 136             </ul> | 
| 133           </section> | 137           </section> | 
| 134 | 138 | 
| 135           <section> | 139           <section> | 
| 136             <h1>{{"development"|translate("menu")}}</h1> | 140             <h1>{{"development"|translate("menu")}}</h1> | 
| 137             <ul> | 141             <ul> | 
| 138               {{pageitem("source")}} | 142               {{pageitem("source")}} | 
| 139               <li><a href="/forum/viewforum.php?f=11" hreflang="en">{{"bugs"|tra
     nslate("menu")}}</a></li> |  | 
| 140               <li><a href="/category/roadmap/" hreflang="en">{{"roadmap"|transla
     te("menu")}}</a></li> | 143               <li><a href="/category/roadmap/" hreflang="en">{{"roadmap"|transla
     te("menu")}}</a></li> | 
| 141               {{pageitem("tools")}} | 144               {{pageitem("tools")}} | 
| 142             </ul> | 145             </ul> | 
| 143           </section> | 146           </section> | 
| 144         </nav> | 147         </nav> | 
| 145 | 148 | 
| 146         <section id="social"> | 149         <section id="social"> | 
| 147           <h1>{{"follow-us"|translate("menu")}}</h1> | 150           <h1>{{"follow-us"|translate("menu")}}</h1> | 
| 148           <ul id="social-list"> | 151           <ul id="social-list"> | 
| 149             <li class="social-entry"> | 152             <li class="social-entry"> | 
| 150               <a rel="nofollow" id="social-facebook" class="sprite" href="https:
     //www.facebook.com/adblockplus"></a> | 153               <a rel="nofollow" id="social-facebook" class="sprite" href="https:
     //www.facebook.com/adblockplus"></a> | 
| 151             </li> | 154             </li> | 
| 152             <li class="social-entry"> | 155             <li class="social-entry"> | 
| 153               <a rel="nofollow" id="social-twitter" class="sprite" href="https:/
     /twitter.com/adblockplus"></a> | 156               <a rel="nofollow" id="social-twitter" class="sprite" href="https:/
     /twitter.com/adblockplus"></a> | 
| 154             </li> | 157             </li> | 
| 155             <li class="social-entry"> | 158             <li class="social-entry"> | 
| 156               <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
     lus.google.com/110020691898167279887"></a> | 159               <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
     lus.google.com/110020691898167279887"></a> | 
| 157             </li> | 160             </li> | 
| 158           </ul> | 161           </ul> | 
| 159         </section> | 162         </section> | 
| 160       </div> | 163       </div> | 
| 161     </footer> | 164     </footer> | 
| 162 | 165 | 
| 163     <script src="/js/main.js"></script> | 166     <script src="/js/main.js"></script> | 
| 164   </body> | 167   </body> | 
| 165 </html> | 168 </html> | 
| OLD | NEW | 
|---|