pjs/xpfe/components/search/resources/search.xul

44 строки
1.7 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/xul.css" type="text/css"?>
<?xml-stylesheet href="search.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY window.title.label "Super Search">
<!ENTITY find.title.label "Find Local Data">
<!ENTITY internet.title.label "Search Internet">
<!ENTITY mailnews.title.label "Search Mail/News">
<!ENTITY addressbook.title.label "Search Addressbook">
]>
<window title="&window.title.label;" style="width: 100%; height: 100%" align="vertical"
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="search.js" />
<box id="sidebox" align="vertical" flex="100%" style="height: 100%; width: 100%;" >
<box class="sidebartitle" align="horizontal" style="width: 100%;" >
<titledbutton value="&find.title.label;" onclick="return loadPage('find');" />
<spring align="horizontal" flex="5%"/>
<titledbutton value="&internet.title.label;" onclick="return loadPage('internet');" />
<spring align="horizontal" flex="5%"/>
<titledbutton value="&mailnews.title.label;" onclick="return loadPage('mailnews');" />
<spring align="horizontal" flex="5%"/>
<titledbutton value="&addressbook.title.label;" onclick="return loadPage('addressbook');" />
<spring align="horizontal" flex="100%" />
</box>
<html:iframe style="height: 50%; width: 100%;" flex="100%" id="content" src="about:blank" />
<html:iframe style="height: 50%; width: 100%;" flex="100%" id="results" src="about:blank" />
</box>
<html:script>
// load initial page
loadPage('find');
</html:script>
</window>