home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / navigator / viewSource.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  82 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
  2. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?> 
  3.  
  4. <!--
  5.    - The contents of this file are subject to the Mozilla Public
  6.    - License Version 1.1 (the "License"); you may not use this file
  7.    - except in compliance with the License. You may obtain a copy of
  8.    - the License at http://www.mozilla.org/MPL/
  9.    - 
  10.    - Software distributed under the License is distributed on an "AS
  11.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  12.    - implied. See the License for the specific language governing
  13.    - rights and limitations under the License.
  14.    - 
  15.    - The Original Code is mozilla.org viewsource frontend.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation.  Portions created by Netscape are
  19.    - Copyright (C) 2000 Netscape Communications Corporation.  All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s):
  23.    -     Doron Rosenberg (doronr@naboonline.com)
  24.    -     Roger B. Sidje (rbs@maths.uq.edu.au)
  25.    -
  26.    - Alternatively, the contents of this file may be used under the
  27.    - terms of the GNU General Public License Version 2 or later (the
  28.    - "GPL"), in which case the provisions of the GPL are applicable 
  29.    - instead of those above.  If you wish to allow use of your 
  30.    - version of this file only under the terms of the GPL and not to
  31.    - allow others to use your version of this file under the MPL,
  32.    - indicate your decision by deleting the provisions above and
  33.    - replace them with the notice and other provisions required by
  34.    - the GPL.  If you do not delete the provisions above, a recipient
  35.    - may use your version of this file under either the MPL or the
  36.    - GPL.
  37.   -->
  38.  
  39. <?xul-overlay href="chrome://navigator/content/viewSourceOverlay.xul"?>
  40.  
  41. <!DOCTYPE window [
  42. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  43. %brandDTD;
  44. <!ENTITY % sourceDTD SYSTEM "chrome://navigator/locale/viewSource.dtd" >
  45. %sourceDTD;
  46. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  47. %navigatorDTD;
  48. <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
  49. %contentAreaCommandsDTD;
  50. ]>
  51.  
  52. <window id="main-window"
  53.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  54.         onload="onLoadViewSource();"
  55.         contenttitlesetting="true"
  56.         title="&mainWindow.title;" 
  57.         titlemodifier="&mainWindow.titlemodifier;" 
  58.         titlepreface="&mainWindow.preface;"
  59.         titlemenuseparator ="&mainWindow.titlemodifierseparator;"  
  60.         windowtype="navigator:view-source"
  61.         width="640" height="480"
  62.         screenX="10" screenY="10"
  63.         persist="screenX screenY width height sizemode">
  64.  
  65.   <commandset id="commands"/>
  66.   <keyset id="viewSourceKeys"/>
  67.   <stringbundleset id="viewSource-stringbundleset"/>
  68.   <popupset id="viewSourceContextSet" />
  69.   <popup id="contentAreaContextMenu"/>
  70.  
  71.   <toolbox id="viewSource-toolbox"/>
  72.  
  73.   <vbox id="appcontent" flex="1"
  74.        ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
  75.  
  76.     <browser id="content" type="content-primary" name="content" src="about:blank" flex="1"
  77.              context="viewSourceContextMenu"/>
  78.  
  79.   </vbox> 
  80.  
  81. </window>
  82.