1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/newtab/newTab.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,90 @@ 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 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.11 +<?xml-stylesheet href="chrome://browser/content/newtab/newTab.css" type="text/css"?> 1.12 +<?xml-stylesheet href="chrome://browser/skin/newtab/newTab.css" type="text/css"?> 1.13 + 1.14 +<!DOCTYPE window [ 1.15 + <!ENTITY % newTabDTD SYSTEM "chrome://browser/locale/newTab.dtd"> 1.16 + %newTabDTD; 1.17 + <!ENTITY % searchBarDTD SYSTEM "chrome://browser/locale/searchbar.dtd"> 1.18 + %searchBarDTD; 1.19 +]> 1.20 + 1.21 +<xul:window id="newtab-window" xmlns="http://www.w3.org/1999/xhtml" 1.22 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.23 + title="&newtab.pageTitle;"> 1.24 + 1.25 + <xul:panel id="sponsored-panel" orient="vertical" type="arrow"> 1.26 + <xul:description id="sponsored-panel-release-descr">&newtab.sponsored.release.message;</xul:description> 1.27 + <xul:description id="sponsored-panel-trial-descr">&newtab.sponsored.trial.message;</xul:description> 1.28 + <xul:label class="text-link" 1.29 + href="https://support.mozilla.org/kb/how-do-sponsored-tiles-work" 1.30 + value="&newtab.panel.link.text;" /> 1.31 + </xul:panel> 1.32 + 1.33 + <xul:panel id="newtab-search-panel" orient="vertical" type="arrow" 1.34 + noautohide="true"> 1.35 + <xul:hbox id="newtab-search-manage" class="newtab-search-panel-engine"> 1.36 + <xul:label>&cmd_engineManager.label;</xul:label> 1.37 + </xul:hbox> 1.38 + </xul:panel> 1.39 + 1.40 + <div id="newtab-scrollbox"> 1.41 + 1.42 + <div id="newtab-vertical-margin"> 1.43 + 1.44 + <div id="newtab-margin-top"/> 1.45 + 1.46 + <div id="newtab-margin-undo-container"> 1.47 + <div id="newtab-undo-container" undo-disabled="true"> 1.48 + <xul:label id="newtab-undo-label" 1.49 + value="&newtab.undo.removedLabel;" /> 1.50 + <xul:button id="newtab-undo-button" tabindex="-1" 1.51 + label="&newtab.undo.undoButton;" 1.52 + class="newtab-undo-button" /> 1.53 + <xul:button id="newtab-undo-restore-button" tabindex="-1" 1.54 + label="&newtab.undo.restoreButton;" 1.55 + class="newtab-undo-button" /> 1.56 + <xul:toolbarbutton id="newtab-undo-close-button" tabindex="-1" 1.57 + class="close-icon tabbable" 1.58 + tooltiptext="&newtab.undo.closeTooltip;" /> 1.59 + </div> 1.60 + </div> 1.61 + 1.62 + <div id="newtab-search-container"> 1.63 + <div class="newtab-side-margin"/> 1.64 + 1.65 + <form id="newtab-search-form" name="searchForm"> 1.66 + <div id="newtab-search-logo"/> 1.67 + <input type="text" name="q" value="" id="newtab-search-text" 1.68 + maxlength="256" dir="auto"/> 1.69 + <input id="newtab-search-submit" type="submit" 1.70 + value="&searchEndCap.label;"/> 1.71 + </form> 1.72 + 1.73 + <div class="newtab-side-margin"/> 1.74 + </div> 1.75 + 1.76 + <div id="newtab-horizontal-margin"> 1.77 + <div class="newtab-side-margin"/> 1.78 + 1.79 + <div id="newtab-grid"> 1.80 + </div> 1.81 + 1.82 + <div class="newtab-side-margin"/> 1.83 + </div> 1.84 + 1.85 + <div id="newtab-margin-bottom"/> 1.86 + 1.87 + </div> 1.88 + <input id="newtab-toggle" type="button"/> 1.89 + </div> 1.90 + 1.91 + <xul:script type="text/javascript;version=1.8" 1.92 + src="chrome://browser/content/newtab/newTab.js"/> 1.93 +</xul:window>