Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 168 lines (137 sloc) 6.502 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
{% 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>
Something went wrong with that request. Please try again.