You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.7 KiB

<?xml version="1.0"?>
<!-- This Source Code is subject to the terms of the Mozilla Public License
- version 2.0 (the "License"). You can obtain a copy of the License at
- http://mozilla.org/MPL/2.0/. -->
#filter substitution
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://@ADDON_CHROME_NAME@/skin/subscriptionSelection.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://@ADDON_CHROME_NAME@/locale/subscriptionSelection.dtd">
<dialog
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel"
buttonlabelaccept="&addSubscription.label;"
title="&dialog.title;"
id="abpSubscriptionSelection"
windowtype="abp:subscriptionSelection"
onload="init();"
ondialogaccept="return addSubscription();">
<script type="application/x-javascript;version=1.7" src="utils.js"/>
<script type="application/x-javascript;version=1.7" src="subscriptionSelection.js"/>
<deck id="all-subscriptions-container" selectedIndex="0" flex="1">
<vbox pack="center">
<progressmeter id="all-subscriptions-loading" mode="undetermined"/>
</vbox>
<vbox>
<richlistbox id="all-subscriptions" onselect="onSelectionChange()" flex="1"/>
<hbox id="subscriptionInfo" invisible="true">
<label id="view-list" class="text-link" value="&viewList.label;" onclick="Utils.loadInBrowser(this.getAttribute('_url'))"/>
<spacer flex="1"/>
<label id="visit-homepage" class="text-link" value="&visitHomepage.label;" onclick="Utils.loadInBrowser(this.getAttribute('_url'))"/>
</hbox>
</vbox>
<vbox pack="center" align="center">
<description value="&list.download.failed;"/>
<hbox>
<button label="&list.download.retry;" oncommand="reloadSubscriptionList()"/>
<button label="&list.download.website;" oncommand="Utils.loadDocLink('subscriptions')"/>
</hbox>
</vbox>
</deck>
<description id="fromWebText" hidden="true">&fromWeb.description;</description>
<groupbox id="differentSubscription">
<label value="&title.label;" accesskey="&title.accesskey;" control="title"/>
<textbox id="title"/>
<label value="&location.label;" accesskey="&location.accesskey;" control="location"/>
<textbox id="location"/>
</groupbox>
<description id="supplementMessage" invisible="true" _textTemplate="&supplementMessage;">
&supplementMessage;
<label class="text-link" oncommand="">dummy dummy dummy dummy dummy dummy dummy dummy dummy dummy</label>
</description>
<checkbox id="addMainSubscription" invisible="true" checked="true" _labelTemplate="&addMain.label;" label="&addMain.label;" accesskey="&addMain.accesskey;"/>
</dialog>