Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://browser/content/places/places.css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/content/places/organizer.css"?> |
michael@0 | 9 | |
michael@0 | 10 | <?xml-stylesheet href="chrome://global/skin/"?> |
michael@0 | 11 | <?xml-stylesheet href="chrome://browser/skin/places/places.css"?> |
michael@0 | 12 | <?xml-stylesheet href="chrome://browser/skin/places/organizer.css"?> |
michael@0 | 13 | |
michael@0 | 14 | <?xul-overlay href="chrome://browser/content/places/editBookmarkOverlay.xul"?> |
michael@0 | 15 | |
michael@0 | 16 | #ifdef XP_MACOSX |
michael@0 | 17 | <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?> |
michael@0 | 18 | #else |
michael@0 | 19 | <?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?> |
michael@0 | 20 | <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
michael@0 | 21 | <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
michael@0 | 22 | #endif |
michael@0 | 23 | |
michael@0 | 24 | <!DOCTYPE window [ |
michael@0 | 25 | <!ENTITY % placesDTD SYSTEM "chrome://browser/locale/places/places.dtd"> |
michael@0 | 26 | %placesDTD; |
michael@0 | 27 | <!ENTITY % editMenuOverlayDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd"> |
michael@0 | 28 | %editMenuOverlayDTD; |
michael@0 | 29 | <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd"> |
michael@0 | 30 | %browserDTD; |
michael@0 | 31 | ]> |
michael@0 | 32 | |
michael@0 | 33 | <window id="places" |
michael@0 | 34 | title="&places.library.title;" |
michael@0 | 35 | windowtype="Places:Organizer" |
michael@0 | 36 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 37 | xmlns:html="http://www.w3.org/1999/xhtml" |
michael@0 | 38 | onload="PlacesOrganizer.init();" |
michael@0 | 39 | onunload="PlacesOrganizer.destroy();" |
michael@0 | 40 | width="&places.library.width;" height="&places.library.height;" |
michael@0 | 41 | screenX="10" screenY="10" |
michael@0 | 42 | toggletoolbar="true" |
michael@0 | 43 | persist="width height screenX screenY sizemode"> |
michael@0 | 44 | |
michael@0 | 45 | <script type="application/javascript" |
michael@0 | 46 | src="chrome://browser/content/places/places.js"/> |
michael@0 | 47 | <script type="application/javascript" |
michael@0 | 48 | src="chrome://browser/content/utilityOverlay.js"/> |
michael@0 | 49 | <script type="application/javascript" |
michael@0 | 50 | src="chrome://browser/content/places/editBookmarkOverlay.js"/> |
michael@0 | 51 | |
michael@0 | 52 | <stringbundleset id="placesStringSet"> |
michael@0 | 53 | <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/> |
michael@0 | 54 | </stringbundleset> |
michael@0 | 55 | |
michael@0 | 56 | |
michael@0 | 57 | #ifdef XP_MACOSX |
michael@0 | 58 | #include ../../../base/content/browserMountPoints.inc |
michael@0 | 59 | #else |
michael@0 | 60 | <commandset id="editMenuCommands"/> |
michael@0 | 61 | <commandset id="placesCommands"/> |
michael@0 | 62 | #endif |
michael@0 | 63 | |
michael@0 | 64 | <commandset id="organizerCommandSet"> |
michael@0 | 65 | <command id="OrganizerCommand_find:all" |
michael@0 | 66 | oncommand="PlacesSearchBox.findAll();"/> |
michael@0 | 67 | <command id="OrganizerCommand_export" |
michael@0 | 68 | oncommand="PlacesOrganizer.exportBookmarks();"/> |
michael@0 | 69 | <command id="OrganizerCommand_import" |
michael@0 | 70 | oncommand="PlacesOrganizer.importFromFile();"/> |
michael@0 | 71 | <command id="OrganizerCommand_browserImport" |
michael@0 | 72 | oncommand="PlacesOrganizer.importFromBrowser();"/> |
michael@0 | 73 | <command id="OrganizerCommand_backup" |
michael@0 | 74 | oncommand="PlacesOrganizer.backupBookmarks();"/> |
michael@0 | 75 | <command id="OrganizerCommand_restoreFromFile" |
michael@0 | 76 | oncommand="PlacesOrganizer.onRestoreBookmarksFromFile();"/> |
michael@0 | 77 | <command id="OrganizerCommand_search:save" |
michael@0 | 78 | oncommand="PlacesOrganizer.saveSearch();"/> |
michael@0 | 79 | <command id="OrganizerCommand_search:moreCriteria" |
michael@0 | 80 | oncommand="PlacesQueryBuilder.addRow();"/> |
michael@0 | 81 | <command id="OrganizerCommand:Back" |
michael@0 | 82 | oncommand="PlacesOrganizer.back();"/> |
michael@0 | 83 | <command id="OrganizerCommand:Forward" |
michael@0 | 84 | oncommand="PlacesOrganizer.forward();"/> |
michael@0 | 85 | </commandset> |
michael@0 | 86 | |
michael@0 | 87 | |
michael@0 | 88 | <keyset id="placesOrganizerKeyset"> |
michael@0 | 89 | <!-- Instantiation Keys --> |
michael@0 | 90 | <key id="placesKey_close" key="&cmd.close.key;" modifiers="accel" |
michael@0 | 91 | oncommand="close();"/> |
michael@0 | 92 | |
michael@0 | 93 | <!-- Command Keys --> |
michael@0 | 94 | <key id="placesKey_find:all" |
michael@0 | 95 | command="OrganizerCommand_find:all" |
michael@0 | 96 | key="&cmd.find.key;" |
michael@0 | 97 | modifiers="accel"/> |
michael@0 | 98 | |
michael@0 | 99 | <!-- Back/Forward Keys Support --> |
michael@0 | 100 | #ifndef XP_MACOSX |
michael@0 | 101 | <key id="placesKey_goBackKb" |
michael@0 | 102 | keycode="VK_LEFT" |
michael@0 | 103 | command="OrganizerCommand:Back" |
michael@0 | 104 | modifiers="alt"/> |
michael@0 | 105 | <key id="placesKey_goForwardKb" |
michael@0 | 106 | keycode="VK_RIGHT" |
michael@0 | 107 | command="OrganizerCommand:Forward" |
michael@0 | 108 | modifiers="alt"/> |
michael@0 | 109 | #else |
michael@0 | 110 | <key id="placesKey_goBackKb" |
michael@0 | 111 | keycode="VK_LEFT" |
michael@0 | 112 | command="OrganizerCommand:Back" |
michael@0 | 113 | modifiers="accel"/> |
michael@0 | 114 | <key id="placesKey_goForwardKb" |
michael@0 | 115 | keycode="VK_RIGHT" |
michael@0 | 116 | command="OrganizerCommand:Forward" |
michael@0 | 117 | modifiers="accel"/> |
michael@0 | 118 | #endif |
michael@0 | 119 | #ifdef XP_UNIX |
michael@0 | 120 | <key id="placesKey_goBackKb2" |
michael@0 | 121 | key="&goBackCmd.commandKey;" |
michael@0 | 122 | command="OrganizerCommand:Back" |
michael@0 | 123 | modifiers="accel"/> |
michael@0 | 124 | <key id="placesKey_goForwardKb2" |
michael@0 | 125 | key="&goForwardCmd.commandKey;" |
michael@0 | 126 | command="OrganizerCommand:Forward" |
michael@0 | 127 | modifiers="accel"/> |
michael@0 | 128 | #endif |
michael@0 | 129 | </keyset> |
michael@0 | 130 | |
michael@0 | 131 | <keyset id="editMenuKeys"> |
michael@0 | 132 | #ifdef XP_MACOSX |
michael@0 | 133 | <key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/> |
michael@0 | 134 | #endif |
michael@0 | 135 | </keyset> |
michael@0 | 136 | |
michael@0 | 137 | <popupset id="placesPopupset"> |
michael@0 | 138 | <menupopup id="placesContext"/> |
michael@0 | 139 | <menupopup id="placesColumnsContext" |
michael@0 | 140 | onpopupshowing="ViewMenu.fillWithColumns(event, null, null, 'checkbox', null);" |
michael@0 | 141 | oncommand="ViewMenu.showHideColumn(event.target); event.stopPropagation();"/> |
michael@0 | 142 | </popupset> |
michael@0 | 143 | |
michael@0 | 144 | <toolbox id="placesToolbox"> |
michael@0 | 145 | <toolbar class="chromeclass-toolbar" id="placesToolbar" align="center"> |
michael@0 | 146 | <toolbarbutton id="back-button" |
michael@0 | 147 | command="OrganizerCommand:Back" |
michael@0 | 148 | tooltiptext="&backButton.tooltip;" |
michael@0 | 149 | disabled="true"/> |
michael@0 | 150 | |
michael@0 | 151 | <toolbarbutton id="forward-button" |
michael@0 | 152 | command="OrganizerCommand:Forward" |
michael@0 | 153 | tooltiptext="&forwardButton.tooltip;" |
michael@0 | 154 | disabled="true"/> |
michael@0 | 155 | |
michael@0 | 156 | #ifdef XP_MACOSX |
michael@0 | 157 | <toolbarbutton type="menu" class="tabbable" |
michael@0 | 158 | onpopupshowing="document.getElementById('placeContent').focus()" |
michael@0 | 159 | #else |
michael@0 | 160 | <menubar id="placesMenu"> |
michael@0 | 161 | <menu accesskey="&organize.accesskey;" class="menu-iconic" |
michael@0 | 162 | #endif |
michael@0 | 163 | id="organizeButton" label="&organize.label;" |
michael@0 | 164 | tooltiptext="&organize.tooltip;"> |
michael@0 | 165 | <menupopup id="organizeButtonPopup"> |
michael@0 | 166 | <menuitem id="newbookmark" |
michael@0 | 167 | command="placesCmd_new:bookmark" |
michael@0 | 168 | label="&cmd.new_bookmark.label;" |
michael@0 | 169 | accesskey="&cmd.new_bookmark.accesskey;"/> |
michael@0 | 170 | <menuitem id="newfolder" |
michael@0 | 171 | command="placesCmd_new:folder" |
michael@0 | 172 | label="&cmd.new_folder.label;" |
michael@0 | 173 | accesskey="&cmd.new_folder.accesskey;"/> |
michael@0 | 174 | <menuitem id="newseparator" |
michael@0 | 175 | command="placesCmd_new:separator" |
michael@0 | 176 | label="&cmd.new_separator.label;" |
michael@0 | 177 | accesskey="&cmd.new_separator.accesskey;"/> |
michael@0 | 178 | |
michael@0 | 179 | #ifndef XP_MACOSX |
michael@0 | 180 | <menuseparator id="orgUndoSeparator"/> |
michael@0 | 181 | |
michael@0 | 182 | <menuitem id="orgUndo" |
michael@0 | 183 | command="cmd_undo" |
michael@0 | 184 | label="&undoCmd.label;" |
michael@0 | 185 | key="key_undo" |
michael@0 | 186 | accesskey="&undoCmd.accesskey;"/> |
michael@0 | 187 | <menuitem id="orgRedo" |
michael@0 | 188 | command="cmd_redo" |
michael@0 | 189 | label="&redoCmd.label;" |
michael@0 | 190 | key="key_redo" |
michael@0 | 191 | accesskey="&redoCmd.accesskey;"/> |
michael@0 | 192 | |
michael@0 | 193 | <menuseparator id="orgCutSeparator"/> |
michael@0 | 194 | |
michael@0 | 195 | <menuitem id="orgCut" |
michael@0 | 196 | command="cmd_cut" |
michael@0 | 197 | label="&cutCmd.label;" |
michael@0 | 198 | key="key_cut" |
michael@0 | 199 | accesskey="&cutCmd.accesskey;" |
michael@0 | 200 | selection="separator|link|folder|mixed"/> |
michael@0 | 201 | <menuitem id="orgCopy" |
michael@0 | 202 | command="cmd_copy" |
michael@0 | 203 | label="©Cmd.label;" |
michael@0 | 204 | key="key_copy" |
michael@0 | 205 | accesskey="©Cmd.accesskey;" |
michael@0 | 206 | selection="separator|link|folder|mixed"/> |
michael@0 | 207 | <menuitem id="orgPaste" |
michael@0 | 208 | command="cmd_paste" |
michael@0 | 209 | label="&pasteCmd.label;" |
michael@0 | 210 | key="key_paste" |
michael@0 | 211 | accesskey="&pasteCmd.accesskey;" |
michael@0 | 212 | selection="mutable"/> |
michael@0 | 213 | <menuitem id="orgDelete" |
michael@0 | 214 | command="cmd_delete" |
michael@0 | 215 | label="&deleteCmd.label;" |
michael@0 | 216 | key="key_delete" |
michael@0 | 217 | accesskey="&deleteCmd.accesskey;"/> |
michael@0 | 218 | |
michael@0 | 219 | <menuseparator id="selectAllSeparator"/> |
michael@0 | 220 | |
michael@0 | 221 | <menuitem id="orgSelectAll" |
michael@0 | 222 | command="cmd_selectAll" |
michael@0 | 223 | label="&selectAllCmd.label;" |
michael@0 | 224 | key="key_selectAll" |
michael@0 | 225 | accesskey="&selectAllCmd.accesskey;"/> |
michael@0 | 226 | |
michael@0 | 227 | #endif |
michael@0 | 228 | <menuseparator id="orgMoveSeparator"/> |
michael@0 | 229 | |
michael@0 | 230 | <menuitem id="orgMoveBookmarks" |
michael@0 | 231 | command="placesCmd_moveBookmarks" |
michael@0 | 232 | label="&cmd.moveBookmarks.label;" |
michael@0 | 233 | accesskey="&cmd.moveBookmarks.accesskey;"/> |
michael@0 | 234 | #ifdef XP_MACOSX |
michael@0 | 235 | <menuitem id="orgDelete" |
michael@0 | 236 | command="cmd_delete" |
michael@0 | 237 | label="&deleteCmd.label;" |
michael@0 | 238 | key="key_delete" |
michael@0 | 239 | accesskey="&deleteCmd.accesskey;"/> |
michael@0 | 240 | #else |
michael@0 | 241 | <menuseparator id="orgCloseSeparator"/> |
michael@0 | 242 | |
michael@0 | 243 | <menuitem id="orgClose" |
michael@0 | 244 | key="placesKey_close" |
michael@0 | 245 | label="&file.close.label;" |
michael@0 | 246 | accesskey="&file.close.accesskey;" |
michael@0 | 247 | oncommand="close();"/> |
michael@0 | 248 | #endif |
michael@0 | 249 | </menupopup> |
michael@0 | 250 | #ifdef XP_MACOSX |
michael@0 | 251 | </toolbarbutton> |
michael@0 | 252 | <toolbarbutton type="menu" class="tabbable" |
michael@0 | 253 | #else |
michael@0 | 254 | </menu> |
michael@0 | 255 | <menu accesskey="&views.accesskey;" class="menu-iconic" |
michael@0 | 256 | #endif |
michael@0 | 257 | id="viewMenu" label="&views.label;" |
michael@0 | 258 | tooltiptext="&views.tooltip;"> |
michael@0 | 259 | <menupopup id="viewMenuPopup"> |
michael@0 | 260 | |
michael@0 | 261 | <menu id="viewColumns" |
michael@0 | 262 | label="&view.columns.label;" accesskey="&view.columns.accesskey;"> |
michael@0 | 263 | <menupopup onpopupshowing="ViewMenu.fillWithColumns(event, null, null, 'checkbox', null);" |
michael@0 | 264 | oncommand="ViewMenu.showHideColumn(event.target); event.stopPropagation();"/> |
michael@0 | 265 | </menu> |
michael@0 | 266 | |
michael@0 | 267 | <menu id="viewSort" label="&view.sort.label;" |
michael@0 | 268 | accesskey="&view.sort.accesskey;"> |
michael@0 | 269 | <menupopup onpopupshowing="ViewMenu.populateSortMenu(event);" |
michael@0 | 270 | oncommand="ViewMenu.setSortColumn(event.target.column, null);"> |
michael@0 | 271 | <menuitem id="viewUnsorted" type="radio" name="columns" |
michael@0 | 272 | label="&view.unsorted.label;" accesskey="&view.unsorted.accesskey;" |
michael@0 | 273 | oncommand="ViewMenu.setSortColumn(null, null);"/> |
michael@0 | 274 | <menuseparator id="directionSeparator"/> |
michael@0 | 275 | <menuitem id="viewSortAscending" type="radio" name="direction" |
michael@0 | 276 | label="&view.sortAscending.label;" accesskey="&view.sortAscending.accesskey;" |
michael@0 | 277 | oncommand="ViewMenu.setSortColumn(null, 'ascending'); event.stopPropagation();"/> |
michael@0 | 278 | <menuitem id="viewSortDescending" type="radio" name="direction" |
michael@0 | 279 | label="&view.sortDescending.label;" accesskey="&view.sortDescending.accesskey;" |
michael@0 | 280 | oncommand="ViewMenu.setSortColumn(null, 'descending'); event.stopPropagation();"/> |
michael@0 | 281 | </menupopup> |
michael@0 | 282 | </menu> |
michael@0 | 283 | </menupopup> |
michael@0 | 284 | #ifdef XP_MACOSX |
michael@0 | 285 | </toolbarbutton> |
michael@0 | 286 | <toolbarbutton type="menu" class="tabbable" |
michael@0 | 287 | #else |
michael@0 | 288 | </menu> |
michael@0 | 289 | <menu accesskey="&maintenance.accesskey;" class="menu-iconic" |
michael@0 | 290 | #endif |
michael@0 | 291 | id="maintenanceButton" label="&maintenance.label;" |
michael@0 | 292 | tooltiptext="&maintenance.tooltip;"> |
michael@0 | 293 | <menupopup id="maintenanceButtonPopup"> |
michael@0 | 294 | <menuitem id="backupBookmarks" |
michael@0 | 295 | command="OrganizerCommand_backup" |
michael@0 | 296 | label="&cmd.backup.label;" |
michael@0 | 297 | accesskey="&cmd.backup.accesskey;"/> |
michael@0 | 298 | <menu id="fileRestoreMenu" label="&cmd.restore2.label;" |
michael@0 | 299 | accesskey="&cmd.restore2.accesskey;"> |
michael@0 | 300 | <menupopup id="fileRestorePopup" onpopupshowing="PlacesOrganizer.populateRestoreMenu();"> |
michael@0 | 301 | <menuitem id="restoreFromFile" |
michael@0 | 302 | command="OrganizerCommand_restoreFromFile" |
michael@0 | 303 | label="&cmd.restoreFromFile.label;" |
michael@0 | 304 | accesskey="&cmd.restoreFromFile.accesskey;"/> |
michael@0 | 305 | </menupopup> |
michael@0 | 306 | </menu> |
michael@0 | 307 | <menuseparator/> |
michael@0 | 308 | <menuitem id="fileImport" |
michael@0 | 309 | command="OrganizerCommand_import" |
michael@0 | 310 | label="&importBookmarksFromHTML.label;" |
michael@0 | 311 | accesskey="&importBookmarksFromHTML.accesskey;"/> |
michael@0 | 312 | <menuitem id="fileExport" |
michael@0 | 313 | command="OrganizerCommand_export" |
michael@0 | 314 | label="&exportBookmarksToHTML.label;" |
michael@0 | 315 | accesskey="&exportBookmarksToHTML.accesskey;"/> |
michael@0 | 316 | <menuseparator/> |
michael@0 | 317 | <menuitem id="browserImport" |
michael@0 | 318 | command="OrganizerCommand_browserImport" |
michael@0 | 319 | label="&importOtherBrowser.label;" |
michael@0 | 320 | accesskey="&importOtherBrowser.accesskey;"/> |
michael@0 | 321 | </menupopup> |
michael@0 | 322 | #ifdef XP_MACOSX |
michael@0 | 323 | </toolbarbutton> |
michael@0 | 324 | #else |
michael@0 | 325 | </menu> |
michael@0 | 326 | </menubar> |
michael@0 | 327 | #endif |
michael@0 | 328 | |
michael@0 | 329 | <spacer id="libraryToolbarSpacer" flex="1"/> |
michael@0 | 330 | |
michael@0 | 331 | <textbox id="searchFilter" |
michael@0 | 332 | clickSelectsAll="true" |
michael@0 | 333 | type="search" |
michael@0 | 334 | aria-controls="placeContent" |
michael@0 | 335 | oncommand="PlacesSearchBox.search(this.value);" |
michael@0 | 336 | collection="bookmarks"> |
michael@0 | 337 | </textbox> |
michael@0 | 338 | </toolbar> |
michael@0 | 339 | </toolbox> |
michael@0 | 340 | |
michael@0 | 341 | <hbox flex="1" id="placesView"> |
michael@0 | 342 | <tree id="placesList" |
michael@0 | 343 | class="plain placesTree" |
michael@0 | 344 | type="places" |
michael@0 | 345 | hidecolumnpicker="true" context="placesContext" |
michael@0 | 346 | onselect="PlacesOrganizer.onPlaceSelected(true);" |
michael@0 | 347 | onclick="PlacesOrganizer.onPlacesListClick(event);" |
michael@0 | 348 | onfocus="PlacesOrganizer.updateDetailsPane(event);" |
michael@0 | 349 | seltype="single" |
michael@0 | 350 | persist="width" |
michael@0 | 351 | width="200" |
michael@0 | 352 | minwidth="100" |
michael@0 | 353 | maxwidth="400"> |
michael@0 | 354 | <treecols> |
michael@0 | 355 | <treecol anonid="title" flex="1" primary="true" hideheader="true"/> |
michael@0 | 356 | </treecols> |
michael@0 | 357 | <treechildren flex="1"/> |
michael@0 | 358 | </tree> |
michael@0 | 359 | <splitter collapse="none" persist="state"></splitter> |
michael@0 | 360 | <vbox id="contentView" flex="4"> |
michael@0 | 361 | <deck id="placesViewsDeck" |
michael@0 | 362 | selectedIndex="0" |
michael@0 | 363 | flex="1"> |
michael@0 | 364 | <tree id="placeContent" |
michael@0 | 365 | class="plain placesTree" |
michael@0 | 366 | context="placesContext" |
michael@0 | 367 | hidecolumnpicker="true" |
michael@0 | 368 | flex="1" |
michael@0 | 369 | type="places" |
michael@0 | 370 | flatList="true" |
michael@0 | 371 | selectfirstnode="true" |
michael@0 | 372 | enableColumnDrag="true" |
michael@0 | 373 | onfocus="PlacesOrganizer.updateDetailsPane(event)" |
michael@0 | 374 | onselect="PlacesOrganizer.updateDetailsPane(event)" |
michael@0 | 375 | onkeypress="ContentTree.onKeyPress(event);" |
michael@0 | 376 | onopenflatcontainer="PlacesOrganizer.openFlatContainer(aContainer);"> |
michael@0 | 377 | <treecols id="placeContentColumns" context="placesColumnsContext"> |
michael@0 | 378 | <treecol label="&col.name.label;" id="placesContentTitle" anonid="title" flex="5" primary="true" ordinal="1" |
michael@0 | 379 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 380 | <splitter class="tree-splitter"/> |
michael@0 | 381 | <treecol label="&col.tags.label;" id="placesContentTags" anonid="tags" flex="2" |
michael@0 | 382 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 383 | <splitter class="tree-splitter"/> |
michael@0 | 384 | <treecol label="&col.url.label;" id="placesContentUrl" anonid="url" flex="5" |
michael@0 | 385 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 386 | <splitter class="tree-splitter"/> |
michael@0 | 387 | <treecol label="&col.mostrecentvisit.label;" id="placesContentDate" anonid="date" flex="1" hidden="true" |
michael@0 | 388 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 389 | <splitter class="tree-splitter"/> |
michael@0 | 390 | <treecol label="&col.visitcount.label;" id="placesContentVisitCount" anonid="visitCount" flex="1" hidden="true" |
michael@0 | 391 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 392 | <splitter class="tree-splitter"/> |
michael@0 | 393 | <treecol label="&col.keyword.label;" id="placesContentKeyword" anonid="keyword" flex="1" hidden="true" |
michael@0 | 394 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 395 | <splitter class="tree-splitter"/> |
michael@0 | 396 | <treecol label="&col.description.label;" id="placesContentDescription" anonid="description" flex="1" hidden="true" |
michael@0 | 397 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 398 | <splitter class="tree-splitter"/> |
michael@0 | 399 | <treecol label="&col.dateadded.label;" id="placesContentDateAdded" anonid="dateAdded" flex="1" hidden="true" |
michael@0 | 400 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 401 | <splitter class="tree-splitter"/> |
michael@0 | 402 | <treecol label="&col.lastmodified.label;" id="placesContentLastModified" anonid="lastModified" flex="1" hidden="true" |
michael@0 | 403 | persist="width hidden ordinal sortActive sortDirection"/> |
michael@0 | 404 | </treecols> |
michael@0 | 405 | <treechildren flex="1" onclick="ContentTree.onClick(event);"/> |
michael@0 | 406 | </tree> |
michael@0 | 407 | </deck> |
michael@0 | 408 | <deck id="detailsDeck" style="height: 11em;"> |
michael@0 | 409 | <vbox id="itemsCountBox" align="center"> |
michael@0 | 410 | <spacer flex="3"/> |
michael@0 | 411 | <label id="itemsCountText"/> |
michael@0 | 412 | <spacer flex="1"/> |
michael@0 | 413 | <description id="selectItemDescription"> |
michael@0 | 414 | &detailsPane.selectAnItemText.description; |
michael@0 | 415 | </description> |
michael@0 | 416 | <spacer flex="3"/> |
michael@0 | 417 | </vbox> |
michael@0 | 418 | <vbox id="infoBox" minimal="true"> |
michael@0 | 419 | <vbox id="editBookmarkPanelContent" flex="1"/> |
michael@0 | 420 | <hbox id="infoBoxExpanderWrapper" align="center"> |
michael@0 | 421 | |
michael@0 | 422 | <button type="image" id="infoBoxExpander" |
michael@0 | 423 | class="expander-down" |
michael@0 | 424 | oncommand="PlacesOrganizer.toggleAdditionalInfoFields();" |
michael@0 | 425 | observes="paneElementsBroadcaster"/> |
michael@0 | 426 | |
michael@0 | 427 | <label id="infoBoxExpanderLabel" |
michael@0 | 428 | lesslabel="&detailsPane.less.label;" |
michael@0 | 429 | lessaccesskey="&detailsPane.less.accesskey;" |
michael@0 | 430 | morelabel="&detailsPane.more.label;" |
michael@0 | 431 | moreaccesskey="&detailsPane.more.accesskey;" |
michael@0 | 432 | value="&detailsPane.more.label;" |
michael@0 | 433 | accesskey="&detailsPane.more.accesskey;" |
michael@0 | 434 | control="infoBoxExpander"/> |
michael@0 | 435 | |
michael@0 | 436 | </hbox> |
michael@0 | 437 | </vbox> |
michael@0 | 438 | </deck> |
michael@0 | 439 | </vbox> |
michael@0 | 440 | </hbox> |
michael@0 | 441 | </window> |