PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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