Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

169 lines (137 sloc) 6.502 kb
{% set_lang_files "main" %}
<!doctype html>
{# Note the "windows" class, without javascript platform-specific
assets default to windows #}
<html class="windows no-js" lang="{{ LANG }}" dir="{{ DIR }}">
<head>
<meta charset="utf-8">
<title>{% block page_title_prefix %}Mozilla — {% endblock %}{% block page_title %}{% endblock %}{% block page_title_suffix %} — mozilla.org{% endblock %}</title>
<meta name="description" content="{% block description %}{% endblock %}">
<link href="/tabzilla/media/css/tabzilla.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="/media/js/libs/html5shiv.js"></script>
<![endif]-->
{% block site_css %}
{{ css('common') }}
{% endblock %}
{% block extrahead %}{% endblock %}
{% block favicon %}<link rel="shortcut icon" type="image/png" href="{{ MEDIA_URL }}img/favicon.png">{% endblock %}
{{ js('site') }}
</head>
<body id="{% block body_id %}{% endblock %}" class="html-{{ DIR }} {% block body_class %}{% endblock %}"{% block body_attrs %}{% endblock %}>
<div id="outer-wrapper">
<div id="wrapper">
{% block site_header %}
<header id="masthead">
<a href="http://www.mozilla.org/" id="tabzilla">{{ _('Mozilla') }}</a>
{% block site_header_nav %}
<nav id="nav-main" role="navigation">
<ul>
<li><a href="{{ url('mozorg.mission') }}">{{_('Mission')}}</a></li>
<li><a href="{{ url('mozorg.about') }}">{{_('About')}}</a></li>
<li><a href="{{ url('mozorg.products') }}">{{_('Products')}}</a></li>
<li><a href="{{ url('mozorg.contribute') }}">{{_('Get Involved')}}</a></li>
</ul>
</nav>
{% endblock %}
{% block site_header_logo %}
<h2><a href="{{ url('mozorg.home') }}"><img src="/media/img/sandstone/header-mozilla-stone.png" alt="mozilla"></a></h2>
{% endblock %}
{% block breadcrumbs %}{% endblock %}
</header>
{% endblock %}
{% block content %}{% endblock %}
{% block email_form %}
{% if LANG.startswith('en') %}
{% if not request.newsletter_success %}
{% if request.newsletter_form.errors %}
<div id="footer-email-errors">
{{ request.newsletter_form.non_field_errors()|safe }}
<ul class="errorlist">
{% if request.newsletter_form.email.errors %}
<li>{{_('Please enter a valid email address')}}</li>
{% endif %}
{% if request.newsletter_form.privacy.errors %}
<li>{{_('You must agree to the privacy policy')}}</li>
{% endif %}
</ul>
</div>
{% endif %}
<form class="billboard{% if request.newsletter_form.errors %} has-errors{% endif%}"
id="footer-email-form" action="#footer-email-form" method="post"
onsubmit="dcsMultiTrack('DCS.dcsuri','/signmeup.button','WT.ti','Sign%20Me%20Up','WT.dl','26');">
<input type="hidden" name="newsletter-footer" value="Y" />
<input type="hidden" name="newsletter"
value="{% block email_form_newsletter %}mozilla-and-you{% endblock %}" />
<h3>{% block email_form_title %}{{_('Get Firefox news')}}{% endblock %}</h3>
<div class="form-contents">
<div class="field field-email {% if request.newsletter_form.email.errors %}field-error{% endif %}">
{{ field_with_attrs(request.newsletter_form.email, placeholder=_('YOUR EMAIL HERE'))|safe }}
</div>
<div id="form-details">
<div class="field field-format">
{{ request.newsletter_form.fmt|safe }}
</div>
<div class="field field-privacy {% if request.newsletter_form.privacy.errors%}field-error{% endif %}">
{{ request.newsletter_form.privacy|safe }}
</div>
</div>
</div>
<div class="form-submit">
<input type="submit" id="footer_email_submit" value="Sign me up »" class="button">
<p class="form-details"><small>{{_('We will only send you Mozilla-related information.')}}</small></p>
</div>
</form>
{% else %}
<div id="footer-email-form" class="thank billboard">
<h3>{{_('Thank you for signing up!')}}</h3>
</div>
{% endif %}
{% endif %}
{% endblock %}
</div><!-- close #wrapper -->
{% block site_footer %}
<footer id="colophon">
<div class="row">
<div class="footer-logo">
<a href="{{ php_url('/') }}"><img src="{{ media('img/sandstone/footer-mozilla.png') }}" alt="mozilla"></a>
</div>
<div class="footer-license">
<p>
{% trans url='/foundation/licensing/website-content.html' %}
Portions of this content are ©1998–{{ current_year }} by individual
mozilla.org contributors. Content available under
a <a href="{{ url }}">Creative Commons license</a>.
{% endtrans %}
</p>
<p>
<a href="{{ url('mozorg.contribute_page') }}">{{_('Contribute to this page')}}</a>
</p>
</div>
<ul class="footer-nav">
<li><a href="{{ php_url('/about/contact.html#map-mountain_view') }}">{{_('Contact Us')}}</a></li>
<li><a href="{{ php_url('/privacy-policy.html') }}">{{_('Privacy Policy')}}</a></li>
<li><a href="{{ php_url('/about/legal.html') }}">{{_('Legal Notices')}}</a></li>
<li><a href="{{ php_url('/legal/fraud-report/index.html') }}">{{_('Report Trademark Abuse')}}</a></li>
</ul>
{% block social %}
<ul class="footer-nav">
<li><a href="http://twitter.com/firefox">{{_('Twitter')}}</a></li>
<li><a href="http://facebook.com/Firefox">{{_('Facebook')}}</a></li>
<li><a href="https://affiliates.mozilla.org/">{{_('Firefox Affiliates')}}</a></li>
</ul>
{% endblock %}
</div>
</footer>
{% endblock %}
<script src="/tabzilla/media/js/tabzilla.js"></script>
</div><!-- close #outer-wrapper -->
{% block site_js %}
{{ js('common') }}
{% endblock %}
{% block js %}{% endblock %}
{% block webtrends %}
{% include "includes/webtrends.html" %}
{% endblock %}
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.