<?xml version="1.0"?>

<!-- ***** BEGIN LICENSE BLOCK *****
   - Version: MPL 1.1
   -
   - The contents of this file are subject to the Mozilla Public License Version
   - 1.1 (the "License"); you may not use this file except in compliance with
   - the License. You may obtain a copy of the License at
   - http://www.mozilla.org/MPL/
   -
   - Software distributed under the License is distributed on an "AS IS" basis,
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   - for the specific language governing rights and limitations under the
   - License.
   -
   - The Original Code is Adblock Plus.
   -
   - The Initial Developer of the Original Code is
   - Wladimir Palant.
   - Portions created by the Initial Developer are Copyright (C) 2006-2009
   - the Initial Developer. All Rights Reserved.
   -
   - Contributor(s):
   -
   - ***** END LICENSE BLOCK ***** -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://autoproxy/skin/subscription.css" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://autoproxy/locale/subscription.dtd">

<dialog
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  buttons="accept,cancel"
  title="&dialog.title;"
  newtitle="&dialog.newtitle;"
  id="aupEditSubscription"
  windowtype="aup:subscription"
  onload="init()"
  ondialogaccept="return saveSubscription()">

<script type="application/x-javascript;version=1.7" src="utils.js"/>
<script type="application/x-javascript;version=1.7" src="subscription.js"/>

<description id="new-description" hidden="true">&new.description; &autodownload.description;</description>
<description id="edit-description" hidden="true">&edit.description; &autodownload.description;</description>
<description id="external-description" hidden="true">&external.description;</description>

<grid>
  <columns>
    <column/>
    <column flex="1"/> 
  </columns>
  <rows>
    <row id="titleRow" align="center">
      <label value="&title.label;" accesskey="&title.accesskey;" control="title"/>
      <textbox id="title"/>
    </row>
    <row id="locationRow" align="center">
      <label value="&location.label;" accesskey="&location.accesskey;" control="location"/>
      <textbox id="location"/>
    </row>
    <row id="autodownloadRow">
      <spacer/>
      <checkbox id="autodownload" label="&autodownload.label;" accesskey="&autodownload.accesskey;"/>
    </row>
    <row id="enabledRow">
      <spacer/>
      <checkbox id="enabled" label="&enabled.label;" accesskey="&enabled.accesskey;"/>
    </row>
  </rows>
</grid>

</dialog>
