~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/toolkit/components/filepicker/content/filepicker.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
 
2
#  The contents of this file are subject to the Mozilla Public
 
3
#  License Version 1.1 (the "License"); you may not use this file
 
4
#  except in compliance with the License. You may obtain a copy of
 
5
#  the License at http://www.mozilla.org/MPL/
 
6
 
7
#  Software distributed under the License is distributed on an "AS
 
8
#  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
9
#  implied. See the License for the specific language governing
 
10
#  rights and limitations under the License.
 
11
#   
 
12
#  The Original Code is mozilla.org code.
 
13
#  
 
14
#  The Initial Developer of the Original Code is Netscape
 
15
#  Communications Corporation. Portions created by Netscape are
 
16
#  Copyright (C) 2000 Netscape Communications Corporation.
 
17
#  All Rights Reserved.
 
18
#  
 
19
#  Contributor(s): 
 
20
#   Stuart Parmenter <pavlov@netscape.com>
 
21
#   Brian Ryner <bryner@brianryner.com>
 
22
#   Jan Varga <varga@nixcorp.com>
 
23
#   Peter Annema <disttsc@bart.nl>
 
24
#   Johann Petrak <johann@ai.univie.ac.at>
 
25
 
 
26
<?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
 
27
 
 
28
<!DOCTYPE dialog SYSTEM "chrome://global/locale/filepicker.dtd" >
 
29
 
 
30
<dialog id="main-window"
 
31
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
32
  xmlns:nc="http://home.netscape.com/NC-rdf#"
 
33
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
34
  onload="filepickerLoad();"
 
35
  width="426" height="300"
 
36
  ondialogaccept="return selectOnOK();"
 
37
  ondialogcancel="return onCancel();"
 
38
  persist="screenX screenY width height">
 
39
 
 
40
<stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
 
41
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
 
42
 
 
43
<hbox align="center">
 
44
  <label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
 
45
  <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
 
46
    <menupopup id="lookInMenu"/>
 
47
  </menulist>
 
48
  <button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/>
 
49
  <button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/>
 
50
  <button id="newDirButton" hidden="true" class="new-dir-button" tooltiptext="&folderNew.tooltiptext;" oncommand="newDir();"/>
 
51
</hbox>
 
52
 
 
53
<hbox flex="1">
 
54
  <deck id="errorShower" flex="1">
 
55
    <tree id="directoryTree" flex="1" class="focusring" seltype="single"
 
56
              onclick="onClick(event);"
 
57
              ondblclick="onDblClick(event);"
 
58
              onkeypress="onKeypress(event);"
 
59
              onfocus="onTreeFocus(event);"
 
60
              onselect="onSelect(event);">
 
61
      <treecols>
 
62
        <treecol id="FilenameColumn" label="&name.label;" flex="1"
 
63
                     class="sortDirectionIndicator"/>
 
64
        <splitter class="tree-splitter"/>
 
65
        <treecol id="FileSizeColumn" label="&size.label;" flex="1"
 
66
                     class="sortDirectionIndicator"/>
 
67
        <splitter class="tree-splitter"/>
 
68
        <treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
 
69
                     class="sortDirectionIndicator"/>
 
70
      </treecols>
 
71
      <treechildren/>
 
72
    </tree>
 
73
    <label>&noPermissionError.label;</label>
 
74
  </deck>
 
75
</hbox>
 
76
 
 
77
<grid style="margin-top: 5px">
 
78
  <columns>
 
79
    <column/>
 
80
    <column flex="1"/>
 
81
  </columns>
 
82
 
 
83
  <rows>
 
84
    <row align="center">
 
85
      <label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
 
86
      <textbox id="textInput" flex="1" oninput="doEnabling()" 
 
87
               onfocus="onTextFieldFocus();"/>
 
88
    </row>
 
89
    <row id="filterBox" hidden="true" align="center">
 
90
      <label value="&filterMenuList.label;"  control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
 
91
      <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
 
92
    </row>
 
93
  </rows>
 
94
</grid>
 
95
<hbox class="dialog-button-box" align="center">
 
96
  <checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
 
97
            flex="1" align="left"  accesskey="&showHiddenFiles.accesskey;"/>
 
98
  <button dlgtype="cancel" class="dialog-button"/>
 
99
  <button dlgtype="accept" class="dialog-button"/>
 
100
</hbox>
 
101
</dialog>