home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / comm.jar / content / communicator / popupManager.xul < prev    next >
Extensible Markup Language  |  2003-10-08  |  4KB  |  101 lines

  1. <?xml version="1.0"?>
  2.  
  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 mozilla.org code.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corporation.
  20.    - Portions created by the Initial Developer are Copyright (C) 2002
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Alternatively, the contents of this file may be used under the terms of
  24.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  25.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.    - in which case the provisions of the GPL or the LGPL are applicable instead
  27.    - of those above. If you wish to allow use of your version of this file only
  28.    - under the terms of either the GPL or the LGPL, and not to allow others to
  29.    - use your version of this file under the terms of the MPL, indicate your
  30.    - decision by deleting the provisions above and replace them with the notice
  31.    - and other provisions required by the LGPL or the GPL. If you do not delete
  32.    - the provisions above, a recipient may use your version of this file under
  33.    - the terms of any one of the MPL, the GPL or the LGPL.
  34.    -
  35.    - ***** END LICENSE BLOCK ***** -->
  36.  
  37. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?> 
  38.  
  39. <!DOCTYPE dialog SYSTEM "chrome://communicator/locale/popupManager.dtd" >
  40.  
  41. <dialog id="popupManager"
  42.         buttons="accept,cancel,help"
  43.         title="&windowtitle.label;"        
  44.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  45.         style="width:32em; height:42em;"
  46.         persist="width height screenX screenY"
  47.         onload="Startup();"        
  48.         ondialogaccept="return onAccept();"
  49.         ondialoghelp="return doHelpButton();">
  50.  
  51.   <script type="application/x-javascript" src="chrome://communicator/content/popupManager.js"/>
  52.   <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  53.   <script type="application/x-javascript" src="chrome://communicator/content/wallet/nsWalletTreeUtils.js"/>
  54.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  55.  
  56.   <keyset id="dialogKeys"/>
  57.   <stringbundle id="popupStringBundle"
  58.                 src="chrome://communicator/locale/popupManager.properties"/>
  59.  
  60.   <vbox id="servers" flex="1">
  61.   
  62.       <description id="allowPopups" value="&allowPopups.label;"/>
  63.  
  64.       <separator class="thin"/>
  65.  
  66.       <hbox align="center">
  67.         <vbox flex="1">
  68.           <textbox id="addSiteBox" flex="1"/>
  69.         </vbox>
  70.         <button id="addSiteButton"
  71.                 label="&addSite.label;" accesskey="&addSite.accesskey;"
  72.                 oncommand="addPermission();"/>
  73.       </hbox>
  74.  
  75.       <separator class="thin"/>
  76.  
  77.       <tree id="permissionsTree" flex="1"
  78.             hidecolumnpicker="true"
  79.             onkeypress="handlePermissionKeyPress(event)"
  80.             onselect="permissionSelected();"
  81.             sortAscending="false"
  82.             persist="sortAscending">
  83.         <treecols>
  84.           <treecol id="siteCol" label="&treehead.sitename.label;" flex="1"
  85.                    onclick="permissionColumnSort();"/>
  86.         </treecols>
  87.         <treechildren/>
  88.       </tree>
  89.  
  90.       <hbox>
  91.         <button id="removePermission" disabled="true" 
  92.                 label="&remove.label;" accesskey="&remove.accesskey;"
  93.                 oncommand="deletePermissions();"/>
  94.         <button id="removeAllPermissions"
  95.                 label="&removeAll.label;" accesskey="&removeAll.accesskey;"
  96.                 oncommand="deleteAllPermissions();"/>
  97.       </hbox>
  98.   </vbox>
  99.  
  100. </dialog>
  101.