зеркало из https://github.com/mozilla/pjs.git
76 строки
2.6 KiB
XML
76 строки
2.6 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin/xul.css" type="text/css"?>
|
|
|
|
|
|
<!DOCTYPE window
|
|
[
|
|
<!ENTITY window.title.label "Find Local Data">
|
|
|
|
<!ENTITY bookmarks.label "Bookmarks">
|
|
<!ENTITY history.label "History">
|
|
|
|
<!ENTITY name.label "Name">
|
|
<!ENTITY url.label "URL">
|
|
<!ENTITY shortcut.label "Shortcut URL">
|
|
<!ENTITY description.label "Description">
|
|
|
|
<!ENTITY contains.label "contains">
|
|
<!ENTITY startswith.label "starts with">
|
|
<!ENTITY endswith.label "ends with">
|
|
<!ENTITY is.label "is">
|
|
<!ENTITY isnot.label "is not">
|
|
<!ENTITY doesntcontain.label "doesn't contain">
|
|
]>
|
|
|
|
|
|
<window title="&window.title.label;" style="width:100%; height:100%; background-color:white" align="horizontal" flex="100%"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<html:script src="find.js" />
|
|
|
|
<html:table>
|
|
<html:tr>
|
|
<html:td>
|
|
Find items in
|
|
<html:select id="datasource">
|
|
<html:option value="rdf:bookmarks">&bookmarks.label;</html:option>
|
|
<html:option value="rdf:history">&history.label;</html:option>
|
|
</html:select>
|
|
whose
|
|
<html:p />
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
<html:td>
|
|
<html:select id="match">
|
|
<html:option value="http://home.netscape.com/NC-rdf#Name">&name.label;</html:option>
|
|
<html:option value="http://home.netscape.com/NC-rdf#URL">&url.label;</html:option>
|
|
<html:option value="http://home.netscape.com/NC-rdf#ShortcutURL">&shortcut.label;</html:option>
|
|
<html:option value="http://home.netscape.com/NC-Description">&description.label;</html:option>
|
|
</html:select>
|
|
<html:select id="method">
|
|
<html:option value="contains">&contains.label;</html:option>
|
|
<html:option value="startswith">&startswith.label;</html:option>
|
|
<html:option value="endswith">&endswith.label;</html:option>
|
|
<html:option value="is">&is.label;</html:option>
|
|
<html:option value="isnot">&isnot.label;</html:option>
|
|
<html:option value="doesntcontain">&doesntcontain.label;</html:option>
|
|
</html:select>
|
|
<html:input id="findtext" type="text" width="20" onkeyup="if (event.which == 13) { doFind(); }" />
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
<html:td align="right">
|
|
<html:input type="button" value="Find" onclick="return doFind();" />
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
<html:p />
|
|
<spring flex="100%" align="horizontal" />
|
|
|
|
</window>
|