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 / editor / EditorPublish.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  6KB  |  141 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Netscape Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/NPL/
  8.    -  
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    -  
  14.    - The Original Code is Mozilla Communicator client code, released
  15.    - March 31, 1998.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation. Portions created by Netscape are
  19.    - Copyright (C) 2001 Netscape Communications Corporation. All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s): 
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  27.  
  28. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://editor/content/EditorPublishOverlay.xul"?> 
  30.  
  31. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorPublish.dtd">
  32.  
  33. <dialog title="&windowTitle.label;"
  34.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.         onload="Startup()"
  36.         buttons="accept,cancel,help"
  37.         ondialogaccept="return onAccept();"
  38.         ondialogcancel="return onCancel();"
  39.         ondialoghelp="return doHelpButton();">
  40.  
  41.   <!-- Methods common to all editor dialogs -->
  42.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  43.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  44.   <script type="application/x-javascript" src="chrome://editor/content/EditorPublish.js"/>
  45.   <script type="application/x-javascript" src="chrome://editor/content/publishprefs.js"/>
  46.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  47.  
  48.   <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
  49.   <broadcaster id="args" value=""/>
  50.  
  51.   <tabbox id="TabBox">
  52.     <tabs flex="1">
  53.       <tab id="PublishTab" oncommand="SelectPublishTab()" label="&publishTab.label;"/>
  54.       <tab id="SettingsTab" oncommand="SelectSettingsTab()" label="&settingsTab.label;"/>
  55.     </tabs>
  56.     <tabpanels>
  57.       <!-- PUBLISH PANEL -->
  58.       <vbox>
  59.         <spacer class="spacer"/>
  60.         <grid pack="start">
  61.           <columns><column/><column/><column/></columns>
  62.           <rows>
  63.             <row align="center">
  64.               <label value="&siteList.label;"/>
  65.               <!-- Contents filled in at runtime -->
  66.               <menulist id="SiteList" 
  67.                 style="min-width:18em; max-width:18em;" crop="right"
  68.                 oncommand="SelectSiteList();"/>
  69.               <hbox>
  70.                 <button label="&newSiteButton.label;" oncommand="AddNewSite();"/>
  71.                 <spacer flex="1"/>
  72.               </hbox>
  73.             </row>
  74.             <spacer class="spacer"/>
  75.             <row align="center">
  76.               <label value="&pageTitle.label;"/>
  77.               <textbox id="PageTitleInput" 
  78.                 tooltiptext="&pageTitle.tooltip;" class="minWidth15"/>
  79.               <label value="&pageTitleExample.label;"/>
  80.             </row>
  81.             <row align="center">
  82.               <label value="&filename.label;"/>
  83.               <textbox id="FilenameInput"
  84.                 tooltiptext="&filename.tooltip;" class="minWidth15 uri-element"/>
  85.               <label value="&filenameExample.label;"/>
  86.             </row>
  87.           </rows>
  88.         </grid>
  89.         <spacer class="spacer"/>
  90.         <label value="&docDirList.label;"/>
  91.         <hbox align="center">
  92.           <!-- Contents filled in at runtime -->
  93.           <menulist id="DocDirList" class="minWidth20 uri-element" editable="true"  flex="1"
  94.                     oninput="onInputSettings();"/>
  95. <!-- 
  96.           <button label="&chooseDirButton.label;" oncommand="ChooseDir(gDialog.DocDirList);" disabled="true"/>
  97. -->
  98.         </hbox>
  99.         <spacer class="spacer"/>
  100.         <groupbox>
  101.           <caption>
  102.             <checkbox id="OtherDirCheckbox" label="&publishImgCheckbox.label;" 
  103.               tooltiptext="&publishImgCheckbox.tooltip;" oncommand="doEnabling();"/>
  104.           </caption>
  105.           <vbox>
  106.           <radiogroup id="OtherDirRadiogroup">
  107.             <hbox>
  108.               <spacer class="checkbox-spacer"/>
  109.               <radio id="SameLocationRadio" label="&sameLocationRadio.label;"
  110.                 tooltiptext="&sameLocationRadio.tooltip;" oncommand="doEnabling();"/>
  111.             </hbox>
  112.             <hbox>
  113.               <spacer class="checkbox-spacer"/>
  114.               <radio id="UseSubdirRadio" label="&useSubdirRadio.label;"
  115.                 tooltiptext="&useSubdir.tooltip;" oncommand="doEnabling();"/>
  116.             </hbox>
  117.           </radiogroup>
  118.           </vbox>
  119.           <hbox>
  120.             <spacer class="checkbox-spacer"/>
  121.             <spacer class="radio-spacer"/>
  122.             <!-- Contents filled in at runtime -->
  123.             <menulist id="OtherDirList" class="minWidth20 uri-element" editable="true" flex="1"
  124.               tooltiptext="&useSubdir.tooltip;" oninput="onInputSettings();"/>
  125. <!-- 
  126.             <button label="&chooseDirButton.label;" oncommand="ChooseDir(gDialog.OtherDirList);" disabled="true"/>
  127. -->
  128.           </hbox>
  129.         </groupbox>
  130.         <spacer flex="1"/>
  131.       </vbox><!-- Publish Panel -->
  132.  
  133.       <!-- SETTINGS PANEL -->
  134.       <hbox id="SettingsPanel">
  135.         <!-- from EditorPublishOverlay.xul -->
  136.         <vbox id="PublishSettingsInputs" flex="1"/>
  137.       </hbox><!-- Settings Panel -->
  138.     </tabpanels> 
  139.   </tabbox>
  140. </dialog>
  141.