browser/components/search/content/searchReset.xhtml
author Florian Quèze <florian@queze.net>
Fri, 27 May 2016 13:41:29 +0200
changeset 338297 08053d1e2cc1f3b6e6901e4aedaf122c4e1de27b
child 338505 00dccad34edae14b16de663c884a36ef2ec575b4
permissions -rw-r--r--
Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw.

<?xml version="1.0" encoding="UTF-8"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html [
  <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
  %htmlDTD;
  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  %globalDTD;
  <!ENTITY % searchresetDTD SYSTEM "chrome://browser/locale/aboutSearchReset.dtd">
  %searchresetDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <title>&searchreset.tabtitle;</title>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://global/skin/in-content/info-pages.css"/>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://browser/skin/searchReset.css"/>
    <link rel="icon" type="image/png"
          href="chrome://browser/skin/favicon-search-16.svg"/>

    <script type="application/javascript;version=1.8"
            src="chrome://browser/content/search/searchReset.js"/>
  </head>

  <body dir="&locale.dir;">

    <div class="container">
      <div class="title">
        <h1 class="title-text">&searchreset.pageTitle;</h1>
      </div>

      <div class="description">
        <p>&searchreset.pageInfo1;</p>
        <p>&searchreset.selector.label;
          <select id="defaultEngine"></select>
        </p>

        <p>&searchreset.beforelink.pageInfo2;<a id="linkSettingsPage" href="about:preferences#search">&searchreset.link.pageInfo2;</a>&searchreset.afterlink.pageInfo2;</p>
      </div>

      <div class="button-container">
        <xul:button id="searchResetKeepCurrent"
                    label="&searchreset.noChangeButton;"
                    accesskey="&searchreset.noChangeButton.access;"
                    oncommand="keepCurrentEngine();"/>
        <xul:button class="primary"
                    id="searchResetChangeEngine"
                    label="&searchreset.changeEngineButton;"
                    accesskey="&searchreset.changeEngineButton.access;"
                    oncommand="changeSearchEngine();"/>
      </div>
    </div>

  </body>
</html>