browser/base/content/newtab/newTab.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0" encoding="UTF-8"?>
     3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     4    - License, v. 2.0. If a copy of the MPL was not distributed with this
     5    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     8 <?xml-stylesheet href="chrome://browser/content/newtab/newTab.css" type="text/css"?>
     9 <?xml-stylesheet href="chrome://browser/skin/newtab/newTab.css" type="text/css"?>
    11 <!DOCTYPE window [
    12   <!ENTITY % newTabDTD SYSTEM "chrome://browser/locale/newTab.dtd">
    13   %newTabDTD;
    14   <!ENTITY % searchBarDTD SYSTEM "chrome://browser/locale/searchbar.dtd">
    15   %searchBarDTD;
    16 ]>
    18 <xul:window id="newtab-window" xmlns="http://www.w3.org/1999/xhtml"
    19             xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    20             title="&newtab.pageTitle;">
    22   <xul:panel id="sponsored-panel" orient="vertical" type="arrow">
    23     <xul:description id="sponsored-panel-release-descr">&newtab.sponsored.release.message;</xul:description>
    24     <xul:description id="sponsored-panel-trial-descr">&newtab.sponsored.trial.message;</xul:description>
    25     <xul:label class="text-link"
    26                href="https://support.mozilla.org/kb/how-do-sponsored-tiles-work"
    27                value="&newtab.panel.link.text;" />
    28   </xul:panel>
    30   <xul:panel id="newtab-search-panel" orient="vertical" type="arrow"
    31              noautohide="true">
    32     <xul:hbox id="newtab-search-manage" class="newtab-search-panel-engine">
    33       <xul:label>&cmd_engineManager.label;</xul:label>
    34     </xul:hbox>
    35   </xul:panel>
    37   <div id="newtab-scrollbox">
    39     <div id="newtab-vertical-margin">
    41       <div id="newtab-margin-top"/>
    43       <div id="newtab-margin-undo-container">
    44         <div id="newtab-undo-container" undo-disabled="true">
    45           <xul:label id="newtab-undo-label"
    46                      value="&newtab.undo.removedLabel;" />
    47           <xul:button id="newtab-undo-button" tabindex="-1"
    48                       label="&newtab.undo.undoButton;"
    49                       class="newtab-undo-button" />
    50           <xul:button id="newtab-undo-restore-button" tabindex="-1"
    51                       label="&newtab.undo.restoreButton;"
    52                       class="newtab-undo-button" />
    53           <xul:toolbarbutton id="newtab-undo-close-button" tabindex="-1"
    54                              class="close-icon tabbable"
    55                              tooltiptext="&newtab.undo.closeTooltip;" />
    56         </div>
    57       </div>
    59       <div id="newtab-search-container">
    60         <div class="newtab-side-margin"/>
    62         <form id="newtab-search-form" name="searchForm">
    63           <div id="newtab-search-logo"/>
    64           <input type="text" name="q" value="" id="newtab-search-text"
    65                  maxlength="256" dir="auto"/>
    66           <input id="newtab-search-submit" type="submit"
    67                  value="&searchEndCap.label;"/>
    68         </form>
    70         <div class="newtab-side-margin"/>
    71       </div>
    73       <div id="newtab-horizontal-margin">
    74         <div class="newtab-side-margin"/>
    76         <div id="newtab-grid">
    77         </div>
    79         <div class="newtab-side-margin"/>
    80       </div>
    82       <div id="newtab-margin-bottom"/>
    84     </div>
    85     <input id="newtab-toggle" type="button"/>
    86   </div>
    88   <xul:script type="text/javascript;version=1.8"
    89               src="chrome://browser/content/newtab/newTab.js"/>
    90 </xul:window>

mercurial