2011-04-19 00:03:52 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ LANG }}" dir="{{ DIR }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
{% if not settings.ENGAGE_ROBOTS %}
|
|
|
|
<meta name="robots" content="noindex">
|
|
|
|
{% endif %}
|
|
|
|
{% block extrameta %}{% endblock %}
|
|
|
|
<title>{% block title %}{{ _('Mozilla Add-ons') }}{% endblock %}</title>
|
|
|
|
|
|
|
|
<link rel="shortcut icon" type="image/x-icon"
|
|
|
|
href="{{ MEDIA_URL}}img/favicon.ico">
|
|
|
|
|
|
|
|
{% block rss_feed %}{% endblock %}
|
|
|
|
|
|
|
|
{# L10n: {0} is an application, like Firefox. #}
|
|
|
|
<link title="{{ _('{0} Add-ons')|f(APP.pretty) }}"
|
|
|
|
rel="search" type="application/opensearchdescription+xml"
|
|
|
|
href="{{ url('amo.opensearch') }}" />
|
|
|
|
|
|
|
|
{% block site_css %}
|
|
|
|
{{ css('zamboni/impala') }}
|
2011-06-30 03:01:41 +04:00
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="{{ media('js/lib/iepp.min.js') }}"></script>
|
|
|
|
<![endif]-->
|
2011-04-19 00:03:52 +04:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extrahead %}{% endblock %}
|
2011-06-30 23:57:11 +04:00
|
|
|
<noscript><link rel="stylesheet" href="{{ media('css/impala/nojs.css') }}"></noscript>
|
2011-04-19 00:03:52 +04:00
|
|
|
|
|
|
|
{% if settings.DEBUG %}
|
|
|
|
{% if settings.LESS_LIVE_REFRESH %}
|
|
|
|
<meta id="live_refresh" name="live_refresh" value="1">
|
|
|
|
{% endif %}
|
|
|
|
{{ js('debug') }}
|
2011-08-04 03:54:08 +04:00
|
|
|
{% if settings.REMOTE_JS_DEBUG %}
|
|
|
|
<meta id="remote_debug_server" name="remote_debug_server" value="{{ settings.REMOTE_JS_DEBUG }}">
|
|
|
|
<script src="{{ media('js/debug/remote_debug.js') }}"></script>
|
|
|
|
{% endif %}
|
2011-04-19 00:03:52 +04:00
|
|
|
{% endif %}
|
|
|
|
|
2011-04-23 01:06:39 +04:00
|
|
|
{% if request.user.is_authenticated() %}
|
|
|
|
<meta name="csrf" content="{{ csrf_token }}">
|
|
|
|
{% endif %}
|
2011-04-19 00:03:52 +04:00
|
|
|
</head>
|
2011-08-27 02:29:10 +04:00
|
|
|
<body class="html-{{ DIR }} {{ request.APP.short }} moz-header-slim {% block bodyclass %}{% endblock %} is-impala"
|
2011-04-19 00:03:52 +04:00
|
|
|
data-app="{{ request.APP.short }}"
|
|
|
|
data-appname="{{ request.APP.pretty }}"
|
|
|
|
data-appid="{{ request.APP.id }}"
|
|
|
|
data-min-beta-version="{{ settings.MIN_BETA_VERSION }}"
|
2011-09-01 04:12:58 +04:00
|
|
|
data-nightly-version="{{ settings.NIGHTLY_VERSION }}"
|
2011-04-19 00:03:52 +04:00
|
|
|
data-anonymous="{{ (not request.user.is_authenticated())|json }}"
|
|
|
|
data-readonly="{{ settings.READ_ONLY|json }}"
|
|
|
|
data-media-url="{{ MEDIA_URL }}"
|
|
|
|
{% block bodyattrs %}{% endblock %}>
|
|
|
|
|
|
|
|
<div id="page">
|
|
|
|
{% block site_header %}
|
|
|
|
{# Well that's an awful tiny mozilla header #}
|
|
|
|
<div id="global-header-tab">
|
|
|
|
<a href="http://mozilla.org/"><img src="{{ media('img/zamboni/mozilla-tab.png') }}"></a>
|
|
|
|
</div>
|
|
|
|
<div class="amo-header">
|
2011-05-05 02:01:16 +04:00
|
|
|
<nav id="aux-nav" role="navigation" class="menu-nav">
|
|
|
|
<ul class="c">
|
|
|
|
{% if not settings.READ_ONLY %}
|
|
|
|
{% include "impala/user_login.html" %}
|
|
|
|
{% endif %}
|
|
|
|
{% block aux_nav %}
|
|
|
|
<li>
|
2011-07-28 22:31:27 +04:00
|
|
|
<a href="#" id="other-apps" title="{{ _('Find add-ons for other applications') }}">{{ _('Other Applications') }}</a>
|
2011-07-26 02:51:54 +04:00
|
|
|
<ul class="other-apps">
|
2011-05-05 02:01:16 +04:00
|
|
|
{% for app in amo.APP_USAGE %}
|
|
|
|
{% if app != request.APP %}
|
|
|
|
<li id="app-{{ app.short }}" class="{{ app.short }}">
|
|
|
|
<a href="{{ locale_url(app.short) }}">{{ app.pretty }}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endblock aux_nav %}
|
2011-04-19 00:03:52 +04:00
|
|
|
</ul>
|
2011-05-05 02:01:16 +04:00
|
|
|
</nav>
|
2011-04-19 00:03:52 +04:00
|
|
|
<div class="header-search" role="search">
|
|
|
|
{% block search_form %}
|
|
|
|
{% include 'impala/search.html' %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div id="masthead">
|
|
|
|
{% block site_header_title %}
|
|
|
|
{% include "impala/header_title.html" %}
|
|
|
|
{{ site_nav() }}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2011-08-25 01:24:29 +04:00
|
|
|
{% if ADMIN_MESSAGE or settings.READ_ONLY %}
|
|
|
|
<div class="site-balloon" id="site-notice">
|
|
|
|
{% if ADMIN_MESSAGE %}
|
|
|
|
<p>{{ ADMIN_MESSAGE|safe }}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% if settings.READ_ONLY %}
|
|
|
|
<p>{% trans %}
|
|
|
|
Some features are temporarily disabled while we perform
|
|
|
|
website maintenance. We'll be back to full capacity shortly.
|
|
|
|
{% endtrans %}</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2011-05-17 00:37:08 +04:00
|
|
|
<div class="site-balloon" id="site-nonfx">
|
|
|
|
<p>
|
2011-05-28 05:54:27 +04:00
|
|
|
{% trans url='http://mozilla.org/firefox/?src=amo' %}
|
2011-06-28 09:40:32 +04:00
|
|
|
To try the thousands of add-ons available here, download
|
|
|
|
<a href="{{ url }}">Mozilla Firefox</a>,
|
|
|
|
a fast, free way to surf the Web!
|
2011-05-17 01:22:56 +04:00
|
|
|
{% endtrans %}
|
2011-05-17 00:37:08 +04:00
|
|
|
</p>
|
2011-05-17 01:22:56 +04:00
|
|
|
<a href="#" class="close">{{ _('Close') }}</a>
|
2011-05-17 00:37:08 +04:00
|
|
|
</div>
|
2011-05-21 03:24:29 +04:00
|
|
|
<div class="site-balloon" id="site-welcome">
|
2011-09-02 08:53:01 +04:00
|
|
|
{# L10n: {0} is an application, such as Firefox. #}
|
2011-05-21 03:24:29 +04:00
|
|
|
<h3>{{ _('Welcome to {0} Add-ons.')|f(APP.pretty) }}</h3>
|
|
|
|
<p>
|
2011-09-08 01:24:18 +04:00
|
|
|
{% if APP == amo.FIREFOX %}
|
|
|
|
{% trans %}
|
|
|
|
Choose from thousands of extra features and styles to make
|
|
|
|
Firefox your own.
|
|
|
|
{% endtrans %}
|
|
|
|
{% else %}
|
|
|
|
{% trans app=APP.pretty %}
|
|
|
|
Add extra features and styles to make {{ app }} your own.
|
|
|
|
{% endtrans %}
|
|
|
|
{% endif %}
|
2011-05-21 03:24:29 +04:00
|
|
|
</p>
|
|
|
|
<a href="#" class="close">{{ _('Close') }}</a>
|
|
|
|
</div>
|
2011-05-21 03:43:26 +04:00
|
|
|
<div class="site-balloon" id="mobile-banner">
|
|
|
|
<h3>{{ _('On the go?') }}</h3>
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
|
|
|
Check out our
|
|
|
|
<a class="mobile-link" href="#">Mobile Add-ons site</a>.
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
<a href="#" class="close">{{ _('Close') }}</a>
|
|
|
|
</div>
|
2011-09-01 21:32:55 +04:00
|
|
|
<div class="site-tip" id="acr-pitch">
|
|
|
|
<p>
|
|
|
|
{% trans url=url('addons.detail', 'add-on-compatibility-reporter')|urlparams(src='prerelease-banner') %}
|
|
|
|
Thanks for testing a pre-release version of Firefox! To try out
|
|
|
|
add-ons not yet compatible, grab the
|
|
|
|
<a href="{{ url }}">Add-on Compatibility Reporter</a>.
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
<a href="#" class="close">{{ _('Close') }}</a>
|
|
|
|
</div>
|
2011-04-19 00:03:52 +04:00
|
|
|
</div>
|
|
|
|
{% endblock site_header %}
|
|
|
|
|
|
|
|
{# Overridden in base_side_categories, which expands categories
|
|
|
|
on the side of the page. #}
|
|
|
|
{% block main_content %}
|
|
|
|
{% block navbar %}
|
|
|
|
{% endblock %}
|
|
|
|
{# outer_content is for something you want above content on every page. #}
|
|
|
|
{% block outer_content %}{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
{% endblock %}
|
2011-09-09 23:52:02 +04:00
|
|
|
<div class="bump"></div>
|
2011-04-19 00:03:52 +04:00
|
|
|
</div>
|
|
|
|
<div id="tooltip">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
<div id="popup-staging">
|
2011-05-28 05:30:41 +04:00
|
|
|
{{ sharing_box() }}
|
|
|
|
<div id="add-to-collection" class="popup">
|
|
|
|
<div class="collection-add-login">
|
|
|
|
<p>{% trans %}
|
|
|
|
To create your own collections, you must have a Mozilla Add-ons account.
|
|
|
|
{% endtrans %}</p>
|
|
|
|
<p class="register-button">
|
|
|
|
<a class="button" href="{{ remora_url('users/register') }}">{{ _('Create an Add-ons Account') }}</a>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{% trans login=login_link() %}
|
|
|
|
or <a href="{{ login }}">log in to your current account</a>
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-04-19 00:03:52 +04:00
|
|
|
{% block popups %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
{# js #}
|
|
|
|
{% block site_js %}
|
2011-05-03 20:48:25 +04:00
|
|
|
<script src="{{ static(url('jsi18n')) }}"></script>
|
2011-04-27 02:58:20 +04:00
|
|
|
{{ js('impala') }}
|
2011-05-03 20:48:25 +04:00
|
|
|
<script async defer src="{{ static(url('addons.buttons.js')) }}"></script>
|
2011-07-20 01:56:30 +04:00
|
|
|
<script async defer src="{{ settings.PAYPAL_JS_URL }}"></script>
|
2011-04-19 00:03:52 +04:00
|
|
|
{% endblock %}
|
|
|
|
{% block js %}{% endblock %}
|
|
|
|
{% block footer %}
|
|
|
|
<div id="footer" role="contentinfo">
|
|
|
|
<div class="section">
|
|
|
|
{% block footer_extras %}
|
|
|
|
<img class="footerlogo" src="{{ media('img/zamboni/footer-logo-med.png') }}" alt="">
|
|
|
|
{% endblock %}
|
|
|
|
{% include "footer.html" %}
|
|
|
|
</div> {# section #}
|
|
|
|
</div> {# footer #}
|
|
|
|
{% endblock %}
|
|
|
|
{# Webtrends Stats Tracking #}
|
|
|
|
<script defer src="{{ media('js/webtrends/webtrends-v0.1.js') }}"></script>
|
2011-09-21 03:20:31 +04:00
|
|
|
<noscript class="hidden">
|
2011-04-19 00:03:52 +04:00
|
|
|
<img id="DCSIMG" width="1" height="1"
|
|
|
|
src="https://statse.webtrendslive.com/dcso6de4r0000082npfcmh4rf_4b1e/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.6.2" />
|
|
|
|
</noscript>
|
|
|
|
{# End Webtrends #}
|
|
|
|
</body>
|
|
|
|
</html>
|