browser/base/content/abouthome/aboutHome.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/abouthome/aboutHome.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,72 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<!DOCTYPE html [
    1.11 +  <!ENTITY % htmlDTD
    1.12 +    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    1.13 +    "DTD/xhtml1-strict.dtd">
    1.14 +  %htmlDTD;
    1.15 +  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
    1.16 +  %globalDTD;
    1.17 +  <!ENTITY % aboutHomeDTD SYSTEM "chrome://browser/locale/aboutHome.dtd">
    1.18 +  %aboutHomeDTD;
    1.19 +  <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
    1.20 +  %browserDTD;
    1.21 +]>
    1.22 +
    1.23 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.24 +  <head>
    1.25 +    <title>&abouthome.pageTitle;</title>
    1.26 +
    1.27 +    <link rel="icon" type="image/png" id="favicon"
    1.28 +          href="chrome://branding/content/icon32.png"/>
    1.29 +    <link rel="stylesheet" type="text/css" media="all"
    1.30 +          href="chrome://browser/content/abouthome/aboutHome.css"/>
    1.31 +
    1.32 +    <script type="text/javascript;version=1.8"
    1.33 +            src="chrome://browser/content/abouthome/aboutHome.js"/>
    1.34 +  </head>
    1.35 +
    1.36 +  <body dir="&locale.dir;">
    1.37 +    <div class="spacer"/>
    1.38 +    <div id="topSection">
    1.39 +      <div id="brandLogo"></div>
    1.40 +
    1.41 +      <div id="searchContainer">
    1.42 +        <form name="searchForm" id="searchForm" onsubmit="onSearchSubmit(event)">
    1.43 +          <div id="searchLogoContainer"><img id="searchEngineLogo"/></div>
    1.44 +          <input type="text" name="q" value="" id="searchText" maxlength="256"
    1.45 +                 autofocus="autofocus" dir="auto"/>
    1.46 +          <input id="searchSubmit" type="submit" value="&abouthome.searchEngineButton.label;"/>
    1.47 +        </form>
    1.48 +      </div>
    1.49 +
    1.50 +      <div id="snippetContainer">
    1.51 +        <div id="defaultSnippets" hidden="true">
    1.52 +          <span id="defaultSnippet1">&abouthome.defaultSnippet1.v1;</span>
    1.53 +          <span id="defaultSnippet2">&abouthome.defaultSnippet2.v1;</span>
    1.54 +        </div>
    1.55 +        <span id="rightsSnippet" hidden="true">&abouthome.rightsSnippet;</span>
    1.56 +        <div id="snippets"/>
    1.57 +      </div>
    1.58 +    </div>
    1.59 +    <div class="spacer"/>
    1.60 +
    1.61 +    <div id="launcher">
    1.62 +      <button class="launchButton" id="downloads">&abouthome.downloadsButton.label;</button>
    1.63 +      <button class="launchButton" id="bookmarks">&abouthome.bookmarksButton.label;</button>
    1.64 +      <button class="launchButton" id="history">&abouthome.historyButton.label;</button>
    1.65 +      <button class="launchButton" id="apps" hidden="true">&abouthome.appsButton.label;</button>
    1.66 +      <button class="launchButton" id="addons">&abouthome.addonsButton.label;</button>
    1.67 +      <button class="launchButton" id="sync">&abouthome.syncButton.label;</button>
    1.68 +      <button class="launchButton" id="settings">&abouthome.settingsButton.label;</button>
    1.69 +      <div id="restorePreviousSessionSeparator"/>
    1.70 +      <button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
    1.71 +    </div>
    1.72 +
    1.73 +    <a id="aboutMozilla" href="https://www.mozilla.org/about/?utm_source=about-home&amp;utm_medium=Referral"/>
    1.74 +  </body>
    1.75 +</html>

mercurial