<?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 mozCC.
   -
   - The Initial Developer of the Original Code is
   - Nathan R. Yergler.
   - Portions created by the Initial Developer are Copyright (C) 2003-2004
   - the Initial Developer. All Rights Reserved.
   -
   - Contributor(s):
   - Nathan R. Yergler <nathan@yergler.net>
   -
   - ***** END LICENSE BLOCK *****
   -
   - $Id: license.xul,v 1.3 2004/07/27 16:55:11 nathan Exp $
   -
   -->

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

<!DOCTYPE window SYSTEM "chrome://mozcc/locale/mozcc.dtd">

<window id="xul_license"
        title="&mozcc.license.title;"
        orient="vertical"
        onload="onLoadLicense(event);"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	xmlns:cc="http://web.resource.org/cc"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        >

  <script type="application/x-javascript" 
          src="chrome://mozcc/content/ccrdf.js" />
  <script type="application/x-javascript" 
          src="chrome://mozcc/content/mozcc.js" />
  <script type="application/x-javascript"
          src="chrome://mozcc/content/mozthread.js" />
  <script type="application/x-javascript"
          src="chrome://mozcc/content/license.js" />

  <stringbundleset id="stringbundleset">
     <stringbundle id="mozcc-string-bundle" 
                   src="chrome://mozcc/locale/mozcc.properties" />
  </stringbundleset>

<vbox flex="1" align="stretch">

<vbox>
<image id="cc_header"
       onclick="openUrl('http://creativecommons.org');"/>

<description id="rdf_status" value="Parsed x RDF segments from"/>
<description id="rdf_url"    value="url"/>
</vbox>

<vbox flex="1" align="stretch">

<tabbox id="parsed_info" flex="1">
  <tabs>
    <tab label="this page" />
    <tab label="works" />
    <tab label="licenses" />
  </tabs>
  <tabpanels>

    <tabpanel id="thispage" flex="1">
      <vbox id="thispage_container" 
	    class="block_container" flex="1" align="stretch">
      </vbox>

    </tabpanel>

    <tabpanel id="works"  flex="1">
      <vbox id="works_container" 
	    class="block_container" flex="1" align="stretch">
      </vbox>

    </tabpanel>

    <tabpanel id="licenses" flex="1">
      <vbox id="licenses_container" 
	    class="block_container" flex="1">
      </vbox>

    </tabpanel>

  </tabpanels>
 </tabbox>
</vbox>

<hbox align="start">
   <button label="&mozcc.license.done;" 
           oncommand="window.close();"/>
</hbox>

</vbox>

</window>