gecko-dev/suite/common/pref/pref-smartupdate.xul

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

1999-08-11 04:32:22 +04:00
<?xml version="1.0"?>
2006-05-17 06:24:36 +04:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 06:24:27 +04:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
1999-08-11 04:32:22 +04:00
2006-05-17 06:24:35 +04:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-smartupdate.dtd" >
<window xmlns:html="http://www.w3.org/1999/xhtml"
1999-08-11 04:32:22 +04:00
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
2006-05-17 06:24:52 +04:00
class="color-dialog"
align="vertical"
title="&title.label;"
2006-05-17 06:24:52 +04:00
onload="parent.initPanel('chrome://communicator/content/pref/pref-smartupdate.xul');">
<script language="JavaScript">
<![CDATA[
var _elementIDs = ["XPInstallEnabled"];
2006-05-17 06:24:52 +04:00
]]>
</script>
<box class="box-smallheader" title="&lHeader;"/>
<titledbox orient="vertical" autostretch="never">
<title><text value="&smartTitle.label;"/></title>
2006-05-17 06:24:52 +04:00
<checkbox id="XPInstallEnabled" value="&enableSU.label;" accesskey="&enableSU.accesskey;"
pref="true" preftype="bool" prefstring="xpinstall.enabled"
prefattribute="checked"/>
</titledbox>
1999-08-11 04:32:22 +04:00
2006-05-17 06:26:46 +04:00
<!--
<titledbox orient="vertical" autostretch="never">
<title><text value="Installed Packages"/></title>
<script>
<![CDATA[
function InstallPackage()
{
var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"].getService();
if ( chromeRegistry )
chromeRegistry = chromeRegistry.QueryInterface( Components.interfaces.nsIChromeRegistry );
var packageURI = prompt('give the resource uri of the package to install','');
if (packageURI)
chromeRegistry.installPackage(packageURI, false);
}
]]>
</script>
<button value="Install Package" oncommand="InstallPackage();"/>
</titledbox>
2006-05-17 06:26:46 +04:00
-->
2006-05-17 06:23:00 +04:00
<!--
2006-05-17 06:22:58 +04:00
<html:fieldset style="width: 100%; height: 100%">
<html:div class="hspace-both">&selectUninstall.label;</html:div>
<box class="hspace-both vspace" align="horizontal" flex="100%" style="width: 93%; height: 100%">
<tree id="smartUpdatePackages" class="inset" flex="100%" style="height: 40%;">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren flex="1">
2006-05-17 06:22:58 +04:00
<treeitem>
<treerow>
<treeitem/>
</treerow>
</treeitem>
</treechildren>
</tree>
<spring flex="5%"/>
<box align="vertical">
<button class="dialog push" id="pref:0:bool:smartupdate" value="&uninstallButton.label;" accesskey="&uninstallButton.accesskey;"/>
2006-05-17 06:22:58 +04:00
<spring flex="100%"/>
</box>
2006-05-17 06:22:58 +04:00
</box>
<spring style="height: 28px;"/>
</html:fieldset>
2006-05-17 06:23:00 +04:00
-->
1999-08-11 04:32:22 +04:00
</window>