advancedSearch.inc
Go to the documentation of this file.
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 #
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
8 #
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
13 #
14 # The Original Code is the Places Organizer Query Builder.
15 #
16 # The Initial Developer of the Original Code is Google Inc.
17 # Portions created by the Initial Developer are Copyright (C) 2006
18 # the Initial Developer. All Rights Reserved.
19 #
20 # Contributor(s):
21 # Annie Sullivan <annie.sullivan@gmail.com>
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 GPL or the LGPL. 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 <vbox id="advancedSearch">
38  <hbox align="center">
39  <label value="&advancedSearch.match.label;" control="advancedSearchType"/>
40  <menulist id="advancedSearchType"
41  oncommand="PlacesQueryBuilder.doSearch();">
42  <menupopup>
43  <menuitem value="and" label="&advancedSearch.all.label;"/>
44  <menuitem value="or" label="&advancedSearch.any.label;"/>
45  </menupopup>
46  </menulist>
47  <label value="&advancedSearch.rules.label;"/>
48  </hbox>
49  <grid flex="1">
50  <columns>
51  <column flex="1"/>
52  <column flex="1"/>
53  <column flex="0"/>
54  <column flex="0"/>
55  </columns>
56  <rows id="advancedSearchRows">
57  <row id="advancedSearch0Row" flex="1" hidden="true">
58  <menulist id="advancedSearch0Subject" flex="1">
59  <menupopup>
60  <menuitem value="keyword"
61  label="&advancedSearch.subj_keyword.label;"
62  selected="true"
63  rowid="1"
64  id="advancedSearch0SubjectKeyword"
65  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._keywordSearch);"/>
66  <menuitem value="visited"
67  label="&advancedSearch.subj_visited.label;"
68  rowid="1"
69  id="advancedSearch0SubjectVisited"
70  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._timeSearch);"/>
71  <menuitem value="location"
72  label="&advancedSearch.subj_location.label;"
73  rowid="1"
74  id="advancedSearch0SubjectLocation"
75  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._locationSearch);"/>
76  </menupopup>
77  </menulist>
78 
79  <hbox flex="1" align="center">
80  <menulist id="advancedSearch0LocationMenulist"
81  oncommand="PlacesQueryBuilder.doSearch();"
82  hidden="true">
83  <menupopup>
84  <menuitem id="advancedSearch0LocationMenuSelected"
85  value="startswith"
86  label="&advancedSearch.location_startswith.label;"
87  selected="true"/>
88  <menuitem value="is"
89  label="&advancedSearch.location_is.label;"/>
90  <menuitem value="onsite"
91  label="&advancedSearch.location_onsite.label;"/>
92  </menupopup>
93  </menulist>
94 
95  <menulist id="advancedSearch0TimeMenulist" hidden="true">
96  <menupopup>
97  <menuitem value="on"
98  id="advancedSearch0TimeDefault"
99  label="&advancedSearch.time_is.label;"
100  selected="true"
101  rowid="1"
102  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._timeSearch);"/>
103  <menuitem value="before"
104  label="&advancedSearch.time_before.label;"
105  rowid="1"
106  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._timeSearch);"/>
107  <menuitem value="after"
108  label="&advancedSearch.time_after.label;"
109  rowid="1"
110  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._timeSearch);"/>
111  <menuitem value="inLast"
112  label="&advancedSearch.time_inlast.label;"
113  rowid="1"
114  oncommand="PlacesQueryBuilder.showSearch(this.getAttribute('rowid'), PlacesQueryBuilder._timeInLastSearch);"/>
115  </menupopup>
116  </menulist>
117  <textbox type="search"
118  timeout="50"
119  id="advancedSearch0Textbox"
120  flex="1"
121  oncommand="PlacesQueryBuilder.doSearch();"/>
122 
123  <textbox type="search"
124  timeout="50"
125  id="advancedSearch0TimePicker"
126  hidden="true" flex="1"
127  rowid="1"
128  oncommand="PlacesQueryBuilder.onDateTyped(event, this.getAttribute('rowid'));"
129  onclick="PlacesQueryBuilder.handleTimePickerClick(event, this.getAttribute('rowid'));"/>
130  <popup id="advancedSearch0DatePopup"
131  onpopupshowing="this.setAttribute('showing', true);"
132  onpopuphidden="this.removeAttribute('showing');">
133  <vbox id="advancedSearch0Calendar"
134  class="history-calendar"
135  rowid="1"
136  onselectionchanged="return PlacesQueryBuilder.onCalendarChanged(event, event.target.getAttribute('rowid'));"/>
137  </popup>
138 
139  <menulist id="advancedSearch0TimeMenulist2"
140  oncommand="PlacesQueryBuilder.doSearch();"
141  hidden="true">
142  <menupopup>
143  <menuitem value="days"
144  label="&advancedSearch.last_days.label;"
145  selected="true"/>
146  <menuitem value="weeks"
147  label="&advancedSearch.last_weeks.label;"/>
148  <menuitem value="months"
149  label="&advancedSearch.last_months.label;"/>
150  </menupopup>
151  </menulist>
152 
153  </hbox>
154  <button id="advancedSearch0Minus"
155  label="&advancedSearch.minus.label;"
156  class="small advancedSearchMinus"
157  oncommand="PlacesQueryBuilder.removeRow(event.target.parentNode);"/>
158  <button id="advancedSearch0Plus"
159  label="&advancedSearch.plus.label;"
160  class="small advancedSearchPlus"
161  command="OrganizerCommand_search:moreCriteria"/>
162  </row>
163  </rows>
164  </grid>
165 </vbox>
this _contentSandbox label
Definition: FeedWriter.js:814
var columns
countRef value
Definition: FeedWriter.js:1423
var hidden