pjs/rdf/resources/bookmarks.xul

93 строки
3.6 KiB
Plaintext
Исходник Обычный вид История

1999-02-26 22:58:17 +03:00
<?xml version="1.0"?>
<?xml-stylesheet href="bookmarks.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY menu.file.label "File">
<!ENTITY menuitem.newWindow.label "New Window">
<!ENTITY menuitem.newBookmark.label "New Bookmark...">
<!ENTITY menuitem.newFolder.label "New Folder...">
<!ENTITY menuitem.newSeparator.label "New Separator">
<!ENTITY menuitem.close.label "Close">
<!ENTITY menu.edit.label "Edit">
<!ENTITY menuitem.undo.label "Undo">
<!ENTITY menuitem.redo.label "Redo">
<!ENTITY menuitem.cut.label "Cut">
<!ENTITY menuitem.copy.label "Copy">
<!ENTITY menuitem.paste.label "Paste">
<!ENTITY menuitem.delete.label "Delete">
<!ENTITY menuitem.selectAll.label "Select All">
<!ENTITY menuitem.find.label "Find in Bookmarks...">
<!ENTITY menuitem.findAgain.label "Find Again">
<!ENTITY menuitem.properties.label "Bookmark Properties...">
<!ENTITY tree.header.name.label "Name">
<!ENTITY tree.header.url.label "URL">
<!ENTITY tree.header.shortcut.label "Shortcut URL">
]>
1999-02-26 22:58:17 +03:00
<xul:window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1999-02-26 22:58:17 +03:00
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
1999-05-11 22:22:35 +04:00
<html:script src="bookmarks.js"/>
1999-02-26 22:58:17 +03:00
<menubar>
<menu name="&menu.file.label;">
<menuitem name="&menuitem.newWindow.label;"
onclick="BookmarksNewWindow();"/>
<menuitem name="x&menuitem.newBookmark.label;"/>
<menuitem name="x&menuitem.newFolder.label;"/>
<menuitem name="x&menuitem.newSeparator.label;"/>
1999-02-26 22:58:17 +03:00
<separator/>
<menuitem name="x&menuitem.close.label;"/>
1999-02-26 22:58:17 +03:00
</menu>
<menu name="&menu.edit.label;">
<menuitem name="x&menuitem.undo.label;"/>
<menuitem name="x&menuitem.redo.label;"/>
1999-02-26 22:58:17 +03:00
<separator/>
<menuitem name="x&menuitem.cut.label;"/>
<menuitem name="x&menuitem.copy.label;"/>
<menuitem name="x&menuitem.paste.label;"/>
<menuitem name="x&menuitem.delete.label;"/>
<menuitem name="x&menuitem.selectAll.label;"/>
1999-02-26 22:58:17 +03:00
<separator/>
<menuitem name="x&menuitem.find.label;"/>
<menuitem name="x&menuitem.findAgain.label;"/>
1999-04-07 08:26:43 +04:00
<separator/>
<menuitem name="&menuitem.properties.label;"
onclick="return BookmarkProperties();"/>
1999-02-26 22:58:17 +03:00
</menu>
</menubar>
<tree id="bookmarksTree"
datasources="rdf:bookmarks"
ondblclick="return OpenURL(event,event.target.parentNode);"
flex="100%">
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="URLColumn" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
<treecol id="ShortcutURLColumn" rdf:resource="http://home.netscape.com/NC-rdf#ShortcutURL"/>
1999-02-26 22:58:17 +03:00
<treehead>
<treeitem>
<treecell onclick="return doSort('NameColumn');">
<xul:observes element="NameColumn" attribute="sortActive"/>
<xul:observes element="NameColumn" attribute="sortDirection"/>
&tree.header.name.label;</treecell>
<treecell onclick="return doSort('URLColumn');">
<xul:observes element="URLColumn" attribute="sortActive"/>
<xul:observes element="URLColumn" attribute="sortDirection"/>
&tree.header.url.label;</treecell>
<treecell onclick="return doSort('ShortcutURLColumn');">
<xul:observes element="ShortcutURLColumn" attribute="sortActive"/>
<xul:observes element="ShortcutURLColumn" attribute="sortDirection"/>
&tree.header.shortcut.label;</treecell>
1999-02-26 22:58:17 +03:00
</treeitem>
</treehead>
1999-03-06 03:07:23 +03:00
<treebody id="NC:BookmarksRoot">
1999-02-26 22:58:17 +03:00
</treebody>
</tree>
</xul:window>