2012-08-11 00:20:25 +04:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2007-08-16 05:15:50 +04:00
|
|
|
|
|
|
|
<!DOCTYPE overlay [
|
2008-03-14 03:52:21 +03:00
|
|
|
<!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://browser/locale/places/editBookmarkOverlay.dtd">
|
|
|
|
%editBookmarkOverlayDTD;
|
2007-08-16 05:15:50 +04:00
|
|
|
]>
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/places/editBookmarkOverlay.css"?>
|
2007-11-20 05:01:53 +03:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
|
2007-08-16 05:15:50 +04:00
|
|
|
|
|
|
|
<overlay id="editBookmarkOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2014-01-13 17:38:59 +04:00
|
|
|
<vbox id="editBookmarkPanelContent" flex="1">
|
2015-05-11 21:26:30 +03:00
|
|
|
<hbox id="editBMPanel_selectionCount" pack="center">
|
2009-01-13 13:48:26 +03:00
|
|
|
<label id="editBMPanel_itemsCountText"/>
|
|
|
|
</hbox>
|
|
|
|
|
2007-08-16 05:15:50 +04:00
|
|
|
<grid id="editBookmarkPanelGrid" flex="1">
|
2009-06-12 16:59:32 +04:00
|
|
|
<columns id="editBMPanel_columns">
|
|
|
|
<column id="editBMPanel_labelColumn" />
|
|
|
|
<column flex="1" id="editBMPanel_editColumn" />
|
2007-08-16 05:15:50 +04:00
|
|
|
</columns>
|
2009-06-12 16:59:32 +04:00
|
|
|
<rows id="editBMPanel_rows">
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_nameRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
2007-08-16 05:15:50 +04:00
|
|
|
<label value="&editBookmarkOverlay.name.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2008-01-15 01:37:12 +03:00
|
|
|
accesskey="&editBookmarkOverlay.name.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_namePicker"/>
|
2015-04-23 16:34:55 +03:00
|
|
|
<textbox id="editBMPanel_namePicker"
|
2017-07-10 17:13:55 +03:00
|
|
|
onchange="gEditItemOverlay.onNamePickerChange().catch(Components.utils.reportError);"/>
|
2007-08-16 05:15:50 +04:00
|
|
|
</row>
|
2007-08-29 01:47:43 +04:00
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_locationRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
2007-08-22 18:42:37 +04:00
|
|
|
<label value="&editBookmarkOverlay.location.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2008-01-15 01:37:12 +03:00
|
|
|
accesskey="&editBookmarkOverlay.location.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_locationField"/>
|
2007-08-22 18:42:37 +04:00
|
|
|
<textbox id="editBMPanel_locationField"
|
2015-04-23 16:34:55 +03:00
|
|
|
class="uri-element"
|
|
|
|
onchange="gEditItemOverlay.onLocationFieldChange();"/>
|
2007-08-22 18:42:37 +04:00
|
|
|
</row>
|
2007-08-29 01:47:43 +04:00
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_folderRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
2007-08-16 05:15:50 +04:00
|
|
|
<label value="&editBookmarkOverlay.folder.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_folderMenuList"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
<hbox flex="1" align="center">
|
|
|
|
<menulist id="editBMPanel_folderMenuList"
|
|
|
|
class="folder-icon"
|
|
|
|
flex="1"
|
2017-07-10 17:13:55 +03:00
|
|
|
oncommand="gEditItemOverlay.onFolderMenuListCommand(event).catch(Components.utils.reportError);">
|
2009-01-13 13:48:26 +03:00
|
|
|
<menupopup>
|
|
|
|
<!-- Static item for special folders -->
|
|
|
|
<menuitem id="editBMPanel_toolbarFolderItem"
|
|
|
|
class="menuitem-iconic folder-icon"/>
|
|
|
|
<menuitem id="editBMPanel_bmRootItem"
|
|
|
|
class="menuitem-iconic folder-icon"/>
|
|
|
|
<menuitem id="editBMPanel_unfiledRootItem"
|
|
|
|
class="menuitem-iconic folder-icon"/>
|
|
|
|
<menuseparator id="editBMPanel_chooseFolderSeparator"/>
|
|
|
|
<menuitem id="editBMPanel_chooseFolderMenuItem"
|
|
|
|
label="&editBookmarkOverlay.choose.label;"
|
|
|
|
class="menuitem-iconic folder-icon"/>
|
|
|
|
<menuseparator id="editBMPanel_foldersSeparator" hidden="true"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
<button id="editBMPanel_foldersExpander"
|
|
|
|
class="expander-down"
|
|
|
|
tooltiptext="&editBookmarkOverlay.foldersExpanderDown.tooltip;"
|
|
|
|
tooltiptextdown="&editBookmarkOverlay.foldersExpanderDown.tooltip;"
|
|
|
|
tooltiptextup="&editBookmarkOverlay.expanderUp.tooltip;"
|
2014-09-23 10:01:04 +04:00
|
|
|
oncommand="gEditItemOverlay.toggleFolderTreeVisibility();"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
</hbox>
|
2007-08-16 05:15:50 +04:00
|
|
|
</row>
|
2007-08-29 01:47:43 +04:00
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_folderTreeRow"
|
|
|
|
collapsed="true"
|
|
|
|
flex="1">
|
2009-01-13 13:48:26 +03:00
|
|
|
<spacer/>
|
|
|
|
<vbox flex="1">
|
|
|
|
<tree id="editBMPanel_folderTree"
|
2014-01-13 17:38:59 +04:00
|
|
|
flex="1"
|
2009-01-13 13:48:26 +03:00
|
|
|
class="placesTree"
|
|
|
|
type="places"
|
|
|
|
height="150"
|
2014-01-13 17:38:59 +04:00
|
|
|
minheight="150"
|
2009-01-13 13:48:26 +03:00
|
|
|
editable="true"
|
|
|
|
onselect="gEditItemOverlay.onFolderTreeSelect();"
|
2014-09-23 10:01:04 +04:00
|
|
|
hidecolumnpicker="true">
|
2009-01-13 13:48:26 +03:00
|
|
|
<treecols>
|
|
|
|
<treecol anonid="title" flex="1" primary="true" hideheader="true"/>
|
|
|
|
</treecols>
|
|
|
|
<treechildren flex="1"/>
|
|
|
|
</tree>
|
|
|
|
|
|
|
|
<hbox id="editBMPanel_newFolderBox">
|
|
|
|
<button label="&editBookmarkOverlay.newFolderButton.label;"
|
|
|
|
id="editBMPanel_newFolderButton"
|
|
|
|
accesskey="&editBookmarkOverlay.newFolderButton.accesskey;"
|
2015-04-23 16:34:55 +03:00
|
|
|
oncommand="gEditItemOverlay.newFolder().catch(Components.utils.reportError);"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
</hbox>
|
2008-09-30 10:10:47 +04:00
|
|
|
</vbox>
|
|
|
|
</row>
|
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_tagsRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
2007-08-16 05:15:50 +04:00
|
|
|
<label value="&editBookmarkOverlay.tags.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2008-01-15 01:37:12 +03:00
|
|
|
accesskey="&editBookmarkOverlay.tags.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_tagsField"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
<hbox flex="1" align="center">
|
|
|
|
<textbox id="editBMPanel_tagsField"
|
|
|
|
type="autocomplete"
|
|
|
|
class="padded"
|
|
|
|
flex="1"
|
|
|
|
autocompletesearch="places-tag-autocomplete"
|
|
|
|
completedefaultindex="true"
|
|
|
|
tabscrolling="true"
|
|
|
|
showcommentcolumn="true"
|
2015-04-23 16:34:55 +03:00
|
|
|
placeholder="&editBookmarkOverlay.tagsEmptyDesc.label;"
|
|
|
|
onchange="gEditItemOverlay.onTagsFieldChange();"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
<button id="editBMPanel_tagsSelectorExpander"
|
|
|
|
class="expander-down"
|
|
|
|
tooltiptext="&editBookmarkOverlay.tagsExpanderDown.tooltip;"
|
|
|
|
tooltiptextdown="&editBookmarkOverlay.tagsExpanderDown.tooltip;"
|
|
|
|
tooltiptextup="&editBookmarkOverlay.expanderUp.tooltip;"
|
2014-09-23 10:01:04 +04:00
|
|
|
oncommand="gEditItemOverlay.toggleTagsSelector();"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
</hbox>
|
2007-08-16 05:15:50 +04:00
|
|
|
</row>
|
|
|
|
|
2009-01-13 13:48:26 +03:00
|
|
|
<row id="editBMPanel_tagsSelectorRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
|
|
|
<spacer/>
|
|
|
|
<listbox id="editBMPanel_tagsSelector"
|
2014-09-23 10:01:04 +04:00
|
|
|
height="150"/>
|
2009-01-13 13:48:26 +03:00
|
|
|
</row>
|
2007-09-22 02:57:18 +04:00
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_keywordRow"
|
|
|
|
align="center"
|
|
|
|
collapsed="true">
|
2009-09-11 17:25:42 +04:00
|
|
|
<observes element="additionalInfoBroadcaster" attribute="hidden"/>
|
2007-09-22 02:57:18 +04:00
|
|
|
<label value="&editBookmarkOverlay.keyword.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2008-01-15 01:37:12 +03:00
|
|
|
accesskey="&editBookmarkOverlay.keyword.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_keywordField"/>
|
2015-04-23 16:34:55 +03:00
|
|
|
<textbox id="editBMPanel_keywordField"
|
|
|
|
onchange="gEditItemOverlay.onKeywordFieldChange();"/>
|
2007-09-22 02:57:18 +04:00
|
|
|
</row>
|
2007-08-16 05:15:50 +04:00
|
|
|
|
2015-09-02 17:41:05 +03:00
|
|
|
<row id="editBMPanel_descriptionRow"
|
|
|
|
collapsed="true">
|
2009-09-11 17:25:42 +04:00
|
|
|
<observes element="additionalInfoBroadcaster" attribute="hidden"/>
|
2007-08-16 05:15:50 +04:00
|
|
|
<label value="&editBookmarkOverlay.description.label;"
|
2009-10-23 19:28:14 +04:00
|
|
|
class="editBMPanel_rowLabel"
|
2008-01-15 01:37:12 +03:00
|
|
|
accesskey="&editBookmarkOverlay.description.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
control="editBMPanel_descriptionField"/>
|
2007-08-22 18:42:37 +04:00
|
|
|
<textbox id="editBMPanel_descriptionField"
|
2015-04-16 11:16:15 +03:00
|
|
|
multiline="true"
|
2015-04-23 16:34:55 +03:00
|
|
|
rows="4"
|
|
|
|
onchange="gEditItemOverlay.onDescriptionFieldChange();"/>
|
2007-08-16 05:15:50 +04:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2009-01-13 13:48:26 +03:00
|
|
|
|
|
|
|
<checkbox id="editBMPanel_loadInSidebarCheckbox"
|
2015-09-02 17:41:05 +03:00
|
|
|
collapsed="true"
|
2009-01-13 13:48:26 +03:00
|
|
|
label="&editBookmarkOverlay.loadInSidebar.label;"
|
|
|
|
accesskey="&editBookmarkOverlay.loadInSidebar.accesskey;"
|
2014-09-23 10:01:04 +04:00
|
|
|
oncommand="gEditItemOverlay.onLoadInSidebarCheckboxCommand();">
|
2009-09-11 17:25:42 +04:00
|
|
|
<observes element="additionalInfoBroadcaster" attribute="hidden"/>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<!-- If the ids are changing or additional fields are being added, be sure
|
|
|
|
to sync the values in places.js -->
|
|
|
|
<broadcaster id="additionalInfoBroadcaster"/>
|
2007-08-16 05:15:50 +04:00
|
|
|
</vbox>
|
|
|
|
</overlay>
|