/toolkit/mozapps/extensions/content/blocklist.xul

http://github.com/zpao/v8monkey · Unknown · 81 lines · 75 code · 6 blank · 0 comment · 0 complexity · fe8b6fbf971ddbaa63047a1638084a6c MD5 · raw file

  1. <?xml version="1.0"?>
  2. # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  3. # ***** BEGIN LICENSE BLOCK *****
  4. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5. #
  6. # The contents of this file are subject to the Mozilla Public License Version
  7. # 1.1 (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. # http://www.mozilla.org/MPL/
  10. #
  11. # Software distributed under the License is distributed on an "AS IS" basis,
  12. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13. # for the specific language governing rights and limitations under the
  14. # License.
  15. #
  16. # The Original Code is the Extension List UI.
  17. #
  18. # The Initial Developer of the Original Code is Google Inc.
  19. # Portions created by the Initial Developer are Copyright (C) 2005
  20. # the Initial Developer. All Rights Reserved.
  21. #
  22. # Contributor(s):
  23. # Ben Goodger <ben@mozilla.org>
  24. # Robert Strong <robert.bugzilla@gmail.com>
  25. # Dave Townsend <dtownsend@oxymoronical.com>
  26. #
  27. # Alternatively, the contents of this file may be used under the terms of
  28. # either the GNU General Public License Version 2 or later (the "GPL"), or
  29. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30. # in which case the provisions of the GPL or the LGPL are applicable instead
  31. # of those above. If you wish to allow use of your version of this file only
  32. # under the terms of either the GPL or the LGPL, and not to allow others to
  33. # use your version of this file under the terms of the MPL, indicate your
  34. # decision by deleting the provisions above and replace them with the notice
  35. # and other provisions required by the GPL or the LGPL. If you do not delete
  36. # the provisions above, a recipient may use your version of this file under
  37. # the terms of any one of the MPL, the GPL or the LGPL.
  38. #
  39. # ***** END LICENSE BLOCK *****
  40. <?xml-stylesheet href="chrome://global/skin/"?>
  41. <?xml-stylesheet href="chrome://mozapps/skin/extensions/blocklist.css"?>
  42. <?xml-stylesheet href="chrome://mozapps/content/extensions/blocklist.css"?>
  43. <!DOCTYPE dialog [
  44. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  45. %brandDTD;
  46. <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/blocklist.dtd">
  47. %extensionsDTD;
  48. ]>
  49. <dialog windowtype="Addons:Blocklist" title="&blocklist.title;" align="stretch"
  50. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  51. onload="init();" ondialogaccept="return finish(true)"
  52. ondialogcancel="return finish(false)"
  53. buttons="accept,cancel" style="&blocklist.style;"
  54. buttonlabelaccept="&blocklist.accept.label;"
  55. buttonaccesskeyaccept="&blocklist.accept.accesskey;">
  56. <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  57. <script type="application/javascript" src="chrome://mozapps/content/extensions/blocklist.js"/>
  58. <hbox align="stretch" flex="1">
  59. <vbox pack="start">
  60. <image class="error-icon"/>
  61. </vbox>
  62. <vbox flex="1">
  63. <label>&blocklist.summary;</label>
  64. <separator class="thin"/>
  65. <richlistbox id="addonList" flex="1"/>
  66. <separator class="thin"/>
  67. <description id="bothMessage" hidden="true" class="bold">&blocklist.softandhard;</description>
  68. <description id="hardBlockMessage" hidden="true" class="bold">&blocklist.hardblocked;</description>
  69. <description id="softBlockMessage" hidden="true" class="bold">&blocklist.softblocked;</description>
  70. <hbox pack="start">
  71. <label id="moreInfo" class="text-link" value="&blocklist.moreinfo;"/>
  72. </hbox>
  73. </vbox>
  74. </hbox>
  75. </dialog>