This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'. git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@199880 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
24
mozilla/extensions/cck/browser/install.rdf
Executable file
24
mozilla/extensions/cck/browser/install.rdf
Executable file
@@ -0,0 +1,24 @@
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
|
||||
<em:id>cckwizard@extensions.mozilla.org</em:id>
|
||||
<em:name>CCK Wizard</em:name>
|
||||
<em:version>1.0.3</em:version>
|
||||
<em:description></em:description>
|
||||
<em:creator>Michael Kaply</em:creator>
|
||||
<em:homepageURL>http://www.mozilla.org/projects/cck/firefox</em:homepageURL>
|
||||
<em:iconURL>chrome://cckwizard/content/cckwizard.png</em:iconURL>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
|
||||
<em:minVersion>1.5</em:minVersion>
|
||||
<em:maxVersion>3.0</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
|
||||
</Description>
|
||||
|
||||
</RDF>
|
||||
256
mozilla/extensions/cck/browser/locales/en-US/chrome/cckWizard.dtd
Executable file
256
mozilla/extensions/cck/browser/locales/en-US/chrome/cckWizard.dtd
Executable file
@@ -0,0 +1,256 @@
|
||||
<!ENTITY cckWizard.title "Firefox Client Customization Kit (CCK)">
|
||||
<!ENTITY cckWizard.description "This tool helps you create an extension that customizes Firefox. This extension can either be installed by the user or included in an install package.">
|
||||
|
||||
<!ENTITY beforeYouBegin.label "Before You Begin">
|
||||
<!ENTITY beforeYouBegin.description "Decide which customizations you want to make and create/collect the customized files, such as:
|
||||
<html:ul>
|
||||
<html:li>Custom animation files for browser's animated logo</html:li>
|
||||
<html:li>Search engines (SRC files and the corresponding images)</html:li>
|
||||
<html:li>Browser plug-ins</html:li>
|
||||
<html:li>Extensions/themes</html:li>
|
||||
</html:ul>">
|
||||
|
||||
<!ENTITY configurePage.label "Extension Configurations">
|
||||
<!ENTITY selectConfig.label "Select an Existing Configuration or Create a New One">
|
||||
<!ENTITY selectConfig.description "Select an existing configuration, or click 'New' to create a new configuration and workspace in which to store your custom files. To edit an existing configuration without overwriting the original configuration, select it from the list and click 'Copy'.">
|
||||
<!ENTITY showConfig.label "Show Config Info">
|
||||
<!ENTITY newConfig.label "New">
|
||||
<!ENTITY copyConfig.label "Copy">
|
||||
<!ENTITY deleteConfig.label "Delete">
|
||||
|
||||
<!ENTITY createConfig.title "Create New Configuration">
|
||||
<!ENTITY copyConfig.title "Copy Existing Configuration">
|
||||
<!ENTITY configName.label "Name of configuration">
|
||||
<!ENTITY configLocation.label "Location of configuration">
|
||||
|
||||
<!ENTITY saveOnExit.label "Save configuration automatically on exit">
|
||||
<!ENTITY zipLocation.label "In order to create the XPI, we need to use ZIP. If ZIP is not in your path, you can specify it here:">
|
||||
|
||||
|
||||
|
||||
|
||||
<!ENTITY customizeExt.label "Customize Extension">
|
||||
<!ENTITY customizeExt.description "">
|
||||
|
||||
|
||||
<!ENTITY id.label "Unique ID:">
|
||||
<!ENTITY id.format "Format: companyname-cck@extensions.domainname.tld">
|
||||
<!ENTITY name.label "Name:">
|
||||
<!ENTITY version.label "Version:">
|
||||
<!ENTITY description.label "Description:">
|
||||
<!ENTITY creator.label "Creator:">
|
||||
<!ENTITY homepageURL.label "Homepage URL:">
|
||||
<!ENTITY updateURL.label "Update URL:">
|
||||
<!ENTITY icon.label "Icon:">
|
||||
<!ENTITY chooseFile.label "Choose File...">
|
||||
<!ENTITY chooseDir.label "Choose Dir...">
|
||||
|
||||
<!ENTITY filename.label "Filename:">
|
||||
|
||||
<!ENTITY hidden.label "Do not show this extension in the extension manager.">
|
||||
<!ENTITY locked.label "Prevent the uninstall of this extension (it can still be disabled).">
|
||||
<!ENTITY aboutconfig.label "Do not allow access to about:config">
|
||||
|
||||
|
||||
<!ENTITY customizePartOne.label "Customize the Browser - Part One">
|
||||
|
||||
<!ENTITY orgName.description "The Company Identifier is included as part of the browser's user agent string which appears when you open the Help menu and select About Mozilla Firefox. It is required.">
|
||||
<!ENTITY orgName.label "Enter Your Company Identifier (up to 10 characters; no spaces):">
|
||||
<!ENTITY orgName.caption "Company Identifier">
|
||||
|
||||
<!ENTITY homePage.caption "Home Pages">
|
||||
<!ENTITY homePage.label "Default Home Page URL:">
|
||||
<!ENTITY homePage.description "This page is displayed when users first start the Firefox browser, or when they click the Home button.">
|
||||
|
||||
<!ENTITY homePageOverride.label "Override Home Page URL:">
|
||||
<!ENTITY homePageOverride.description "This page is displayed on the very first invocation of Firefox after a new profile is created. It is optional.">
|
||||
|
||||
|
||||
<!ENTITY titleBar.caption "Browser Window's Title Bar Text">
|
||||
<!ENTITY titleBar.label "Custom Title Bar Text:">
|
||||
<!ENTITY titleBar.description "The text you enter (for example, your company name) appears after the page title in the title bar. It is recommended that you use the format
|
||||
<html:i>Mozilla Firefox: Companyname Edition</html:i>">
|
||||
|
||||
<!ENTITY customizePartTwo.label "Customize the Browser - Part Two">
|
||||
|
||||
<!ENTITY animLogo.caption "Animated Logo">
|
||||
<!ENTITY animLogoURL.label "Logo Button URL:">
|
||||
<!ENTITY animLogoURL.description "Enter the URL that users will go to when they click the animated logo button.">
|
||||
<!ENTITY animLogoTooltip.description "Enter the tooltip that users will see when they mouse over the animated logo button.">
|
||||
<!ENTITY animLogoTooltip.label "Logo Button Tooltip:">
|
||||
<!ENTITY animLogoAnim.description "Path to Your Animated GIF File (16x16 pixels):">
|
||||
<!ENTITY animLogoStill.description "Path to Your At Rest GIF or PNG File (16x16 pixels):">
|
||||
|
||||
<!ENTITY customizePartThree.label "Customize the Browser - Part Three">
|
||||
|
||||
<!ENTITY helpMenu.caption "Help Menu">
|
||||
<!ENTITY helpMenu.description "You can add an item to the Help Menu which provides a link to your online customer support page.">
|
||||
<!ENTITY helpMenuText.label "Menu Item Text:">
|
||||
<!ENTITY helpMenuURL.label "Help Menu Item URL:">
|
||||
<!ENTITY helpMenuAccesskey.label "Help Menu Item Accesskey:">
|
||||
|
||||
<!ENTITY customizePartFour.label "Customize the Browser - Part Four">
|
||||
<!ENTITY allowedSites.caption "Allowed Sites">
|
||||
<!ENTITY popupAllowedSites.label "You can specify domains for which popups are allowed. List the domains, separated by a comma.">
|
||||
<!ENTITY installAllowedSites.label "You can specify domains for which software installations (XPIs) are allowed. List the domains, separated by a comma.">
|
||||
|
||||
<!ENTITY customizeBrowserPlugins.label "Customize Browser Plug-ins">
|
||||
<!ENTITY browserPlugins.description "Use the buttons below to add browser plug-ins.">
|
||||
|
||||
<!ENTITY plugins.label "Browser Plug-ins">
|
||||
<!ENTITY plugins.description "Please select a browser plug-in and the platform it is written for.">
|
||||
|
||||
<!ENTITY customizeSearchEngines.label "Customize Search Engines">
|
||||
<!ENTITY searchEngines.description "Use the buttons below to add search engines.">
|
||||
|
||||
<!ENTITY engines.label "Search Engines">
|
||||
<!ENTITY engines.description "Please select a .src file and the corresponding image.">
|
||||
|
||||
<!ENTITY engine.label "SRC File">
|
||||
<!ENTITY engineIcon.label "Image File:">
|
||||
|
||||
<!ENTITY file.label "File:">
|
||||
|
||||
<!ENTITY folderTitle.label "Folder Title:">
|
||||
|
||||
<!ENTITY customizeToolbarOne.label "Customize the Bookmarks Toolbar - Part One">
|
||||
|
||||
<!ENTITY addToolbarFolder.caption "Add a folder to the bookmarks toolbar">
|
||||
<!ENTITY addToolbarFolder.description "Use the buttons below to add bookmarks to a folder on the bookmarks toolbar.">
|
||||
<!ENTITY addToolbarBookmark.caption "Add bookmarks to the bookmarks toolbar">
|
||||
<!ENTITY addToolbarBookmark.description "Use the buttons below to add bookmarks to the bookmarks toolbar.">
|
||||
|
||||
|
||||
|
||||
<!ENTITY customizeToolbarTwo.label "Customize the Bookmarks Toolbar - Part Two">
|
||||
|
||||
<!ENTITY customizeBookmarksOne.label "Customize Bookmarks - Part One">
|
||||
<!ENTITY customizeBookmarksTwo.label "Customize Bookmarks - Part Two">
|
||||
|
||||
<!ENTITY addBookmarkFolder.caption "Add a folder to bookmarks">
|
||||
<!ENTITY addBookmarkFolder.description "Use the buttons below to create a folder with boomarks.">
|
||||
<!ENTITY addBookmark.caption "Add bookmarks">
|
||||
<!ENTITY addBookmark.description "Use the buttons below to add bookmarks.">
|
||||
<!ENTITY toolbarLocation.label "Location of toolbar items">
|
||||
<!ENTITY toolbarLocationBegin.label "Place toolbar items at the beginning">
|
||||
<!ENTITY toolbarLocationEnd.label "Place toolbar items at the end">
|
||||
|
||||
<!ENTITY bookmarkLocation.label "Location of bookmark items">
|
||||
<!ENTITY bookmarkLocationBegin.label "Place bookmark items at the beginning">
|
||||
<!ENTITY bookmarkLocationEnd.label "Place bookmark items at the end">
|
||||
|
||||
|
||||
<!ENTITY bookmark.label "Bookmark">
|
||||
<!ENTITY bookmark.description "Enter a Bookmark">
|
||||
<!ENTITY bookmarkTitle.label "Title:">
|
||||
<!ENTITY bookmarkURL.label "URL:">
|
||||
|
||||
|
||||
<!ENTITY customizePrefs.label "Customize Preferences">
|
||||
<!ENTITY customizePrefs.description "Use the buttons below to add default preferences.">
|
||||
<!ENTITY prefs.label "Preferences">
|
||||
|
||||
<!ENTITY prefName.label "Preference Name:">
|
||||
<!ENTITY prefValue.label "Value: ">
|
||||
<!ENTITY prefLock.label "Lock Preference">
|
||||
|
||||
<!ENTITY newButton.label "New">
|
||||
<!ENTITY newButton.accesskey "W">
|
||||
<!ENTITY deleteButton.label "Delete">
|
||||
<!ENTITY deleteButton.accesskey "D">
|
||||
<!ENTITY editButton.label "Edit">
|
||||
<!ENTITY editButton.accesskey "E">
|
||||
<!ENTITY moveUpButton.label "Move Up">
|
||||
<!ENTITY moveUpButton.accesskey "U">
|
||||
<!ENTITY moveDownButton.label "Move Down">
|
||||
<!ENTITY moveDownButton.accesskey "O">
|
||||
|
||||
|
||||
<!ENTITY customizeRegistry.label "Customize Registry (Windows Only)">
|
||||
|
||||
<!ENTITY registry.label "Registry">
|
||||
<!ENTITY registry.description "Use the buttons below to add entries to the Windows registry. Note these items will be added/updated every time the browser starts.">
|
||||
|
||||
<!ENTITY regRootKey.label "Root Key">
|
||||
<!ENTITY regKey.label "Key">
|
||||
<!ENTITY regName.label "Name">
|
||||
<!ENTITY regNameValue.label "Name Value">
|
||||
<!ENTITY regType.label "Type">
|
||||
|
||||
|
||||
<!ENTITY customizeCerts.label "Customize Certificates">
|
||||
<!ENTITY customizeCerts.description "Use the buttons below to select certificates to be preinstalled (PEM format only).">
|
||||
<!ENTITY customizeCerts.warning "<html:b>IMPORTANT: If you add certificates to Firefox, you CANNOT
|
||||
ship a browser outside of your company or institution and call it Firefox.
|
||||
This feature is intended primarily for corporate and institutional users
|
||||
that will be deploying Firefox inside their organization.</html:b>">
|
||||
|
||||
<!ENTITY certs.label "Certificates">
|
||||
<!ENTITY cert.label "Certificate">
|
||||
|
||||
<!ENTITY cert.trustSSL "Trust this CA to identify web sites.">
|
||||
<!ENTITY cert.trustEmail "Trust this CA to identify email users.">
|
||||
<!ENTITY cert.trustObjSign "Trust this CA to identify software developers.">
|
||||
|
||||
<!ENTITY customizeBundles.label "Customize Extensions/Themes">
|
||||
<!ENTITY customizeBundles.description "Use the buttons below to select extensions and themes to be installed with your CCK.">
|
||||
<!ENTITY customizeBundles.warning "<html:b>IMPORTANT: If you add extensions and/or themes to your CCK,
|
||||
you can no longer install the CCK as part of a Firefox install. You must
|
||||
install through the browser or use the -install-global-extension mechanism.
|
||||
</html:b>">
|
||||
|
||||
<!ENTITY bundles.label "Extensions/Themes">
|
||||
|
||||
|
||||
<!ENTITY customizeProxy.label "Customize Proxy Configurations">
|
||||
|
||||
<!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
|
||||
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
|
||||
<!ENTITY directTypeRadio.accesskey "d">
|
||||
<!ENTITY WPADTypeRadio.label "Auto-detect proxy settings for this network">
|
||||
<!ENTITY WPADTypeRadio.accesskey "w">
|
||||
<!ENTITY manualTypeRadio.label "Manual proxy configuration:">
|
||||
<!ENTITY manualTypeRadio.accesskey "m">
|
||||
<!ENTITY autoTypeRadio.label "Automatic proxy configuration URL:">
|
||||
<!ENTITY autoTypeRadio.accesskey "a">
|
||||
<!ENTITY configAutoconfigText.label "Configuration location (URL):">
|
||||
<!ENTITY configAutoconfigText.accesskey "u">
|
||||
<!ENTITY reload.label "Reload">
|
||||
<!ENTITY reload.accesskey "l">
|
||||
<!ENTITY ftp.label "FTP Proxy:">
|
||||
<!ENTITY ftp.accesskey "f">
|
||||
<!ENTITY gopher.label "Gopher Proxy:">
|
||||
<!ENTITY gopher.accesskey "g">
|
||||
<!ENTITY http.label "HTTP Proxy:">
|
||||
<!ENTITY http.accesskey "h">
|
||||
<!ENTITY ssl.label "SSL Proxy:">
|
||||
<!ENTITY ssl.accesskey "s">
|
||||
<!ENTITY socks.label "SOCKS Host:">
|
||||
<!ENTITY socks.accesskey "c">
|
||||
<!ENTITY socks4.label "SOCKS v4">
|
||||
<!ENTITY socks4.accesskey "k">
|
||||
<!ENTITY socks5.label "SOCKS v5">
|
||||
<!ENTITY socks5.accesskey "v">
|
||||
<!ENTITY port.label "Port:">
|
||||
<!ENTITY HTTPport.accesskey "p">
|
||||
<!ENTITY SSLport.accesskey "o">
|
||||
<!ENTITY FTPport.accesskey "r">
|
||||
<!-- No accesskey for gopher (':' doesn't go well) - mpt's going to redesign the window -->
|
||||
<!ENTITY gopherPort.accesskey "">
|
||||
<!ENTITY SOCKSport.accesskey "t">
|
||||
<!ENTITY noproxy.label "No Proxy for:">
|
||||
<!ENTITY noproxy.accesskey "n">
|
||||
<!ENTITY noproxyExplain.label "Example: .mozilla.org, .net.nz, 192.168.1.0/24">
|
||||
<!ENTITY shareproxy.label "Use this proxy server for all protocols">
|
||||
<!ENTITY shareproxy.accesskey "x">
|
||||
|
||||
|
||||
<!ENTITY showConfig.title "Show Configuration">
|
||||
|
||||
|
||||
|
||||
<!ENTITY cckWizard.oncancel "All changed data will be saved">
|
||||
|
||||
<!ENTITY cckWizardFinish.description "Click Finish to create your CCK package.">
|
||||
|
||||
|
||||
22
mozilla/extensions/cck/browser/locales/en-US/chrome/cckwizard.properties
Executable file
22
mozilla/extensions/cck/browser/locales/en-US/chrome/cckwizard.properties
Executable file
@@ -0,0 +1,22 @@
|
||||
windowTitle=Firefox CCK
|
||||
deleteConfirm=Are you sure you want to delete this configuration?
|
||||
outputLocation=Firefox CCK Wizard is completed. XPI is available at:\n
|
||||
cancelConfirm=Do you want to save your changes?
|
||||
zipError=Unable to create JAR or XPI file. Please ensure that a command line version of ZIP is in your path or that you have specified a path to ZIP.
|
||||
intError=The value must be an integer
|
||||
lockError=You cannot set this value here, you can only lock it.
|
||||
prefExistsError=This preference already exists in the list.
|
||||
chooseFile=Choose File...
|
||||
chooseDirectory=Choose Directory...
|
||||
chooseImage=Choose Image...
|
||||
createDir=The following directory does not exist: %S\nWould you like to create it?
|
||||
createDirError=Could not create folder: %S\nMake sure you have access to create the folder.
|
||||
extensions.cckwizard@extensions.mozilla.org.description=XUL Wizard to create CCK Packages
|
||||
id.error=Unique ID is required and is of the format extensionname@organization.tld. It can only contain the letters a-z, the numbers 0-9, and the following symbols: . _ -
|
||||
name.error=Name is required
|
||||
version.error=Version is required
|
||||
orgName.error=Company Identifier is required and cannot contain any spaces.
|
||||
BookmarkFolder1.error=You must specify a folder name
|
||||
ToolbarFolder1.error=You must specify a folder name
|
||||
|
||||
|
||||
2582
mozilla/extensions/cck/browser/resources/content/cckwizard/cckwizard.js
Executable file
2582
mozilla/extensions/cck/browser/resources/content/cckwizard/cckwizard.js
Executable file
File diff suppressed because it is too large
Load Diff
516
mozilla/extensions/cck/browser/resources/content/cckwizard/cckwizard.xul
Executable file
516
mozilla/extensions/cck/browser/resources/content/cckwizard/cckwizard.xul
Executable file
@@ -0,0 +1,516 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- ***** BEGIN LICENSE BLOCK *****
|
||||
#if 0
|
||||
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
-
|
||||
- The contents of this file are subject to the Mozilla Public License Version
|
||||
- 1.1 (the "License"); you may not use this file except in compliance with
|
||||
- the License. You may obtain a copy of the License at
|
||||
- http://www.mozilla.org/MPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS IS" basis,
|
||||
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is the Client Customization Kit (CCK).
|
||||
-
|
||||
- The Initial Developer of the Original Code is IBM Corp.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2005
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s):
|
||||
- Brian King <brian@mozdev.org>
|
||||
-
|
||||
- Alternatively, the contents of this file may be used under the terms of
|
||||
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
- in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
- of those above. If you wish to allow use of your version of this file only
|
||||
- under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
- use your version of this file under the terms of the MPL, indicate your
|
||||
- decision by deleting the provisions above and replace them with the notice
|
||||
- and other provisions required by the LGPL or the GPL. If you do not delete
|
||||
- the provisions above, a recipient may use your version of this file under
|
||||
- the terms of any one of the MPL, the GPL or the LGPL.
|
||||
-
|
||||
#endif
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<!DOCTYPE wizard SYSTEM "chrome://cckwizard/locale/cckWizard.dtd">
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://cckwizard/content/ccklist.css" type="text/css"?>
|
||||
|
||||
<wizard id="example-window" title="&cckWizard.title;"
|
||||
height="550"
|
||||
width="640"
|
||||
onwizardcancel="return CloseCCKWizard();"
|
||||
onwizardfinish="CreateCCK();"
|
||||
onload="OpenCCKWizard();"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script src="chrome://cckwizard/content/cckwizard.js"/>
|
||||
<script type="application/x-javascript"
|
||||
src="chrome://global/content/dialogOverlay.js" />
|
||||
|
||||
<wizardpage onpageshow="document.getElementById('example-window').canAdvance = true;">
|
||||
<description>&cckWizard.description;</description>
|
||||
<groupbox>
|
||||
<caption label="&beforeYouBegin.label;"/>
|
||||
<description>&beforeYouBegin.description;</description>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&configurePage.label;" onpageshow="ShowMain();" onpageadvanced="return ValidateFile('zipLocation');">
|
||||
<groupbox>
|
||||
<caption label="&selectConfig.label;"/>
|
||||
<description>&selectConfig.description;</description>
|
||||
<hbox>
|
||||
<menulist flex="1" id="byb-configs" oncommand="setcurrentconfig(this.selectedItem.value);">
|
||||
<menupopup>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<button label="&showConfig.label;" id="showconfig" oncommand="ShowConfigInfo()"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button label="&newConfig.label;" id="newconfig" oncommand="CreateConfig();"/>
|
||||
<button label="©Config.label;" id="copyconfig" oncommand="CopyConfig();"/>/>
|
||||
<button label="&deleteConfig.label;" id="deleteconfig" oncommand="DeleteConfig();"/>
|
||||
</hbox>
|
||||
<checkbox id="saveOnExit" label="&saveOnExit.label;" oncommand="SetSaveOnExitPref();"/>
|
||||
</groupbox>
|
||||
<vbox>
|
||||
|
||||
<description>&zipLocation.label;</description>
|
||||
|
||||
<hbox align="center">
|
||||
<textbox flex="1" id="zipLocation"/>
|
||||
<button label="&chooseFile.label;" oncommand="choosefile('zipLocation');"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeExt.label;" description="&customizeExt.description;"
|
||||
onpageshow="initimage('iconURL','icon');"
|
||||
onpageadvanced="return (ValidateFile('iconURL') && Validate('id','name','version'));">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column flex="1"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row align="center" flex="1">
|
||||
<vbox align="right">
|
||||
<label control="id" pack="end">&id.label;</label>
|
||||
</vbox>
|
||||
<textbox id="id"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label/>
|
||||
</vbox>
|
||||
<label>&id.format;</label>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="name">&name.label;</label>
|
||||
</vbox>
|
||||
<textbox id="name"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="version">&version.label;</label>
|
||||
</vbox>
|
||||
<textbox id="version"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="description">&description.label;</label>
|
||||
</vbox>
|
||||
<textbox id="description"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="creator">&creator.label;</label>
|
||||
</vbox>
|
||||
<textbox id="creator"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="homepageURL">&homepageURL.label;</label>
|
||||
</vbox>
|
||||
<textbox id="homepageURL"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="updateURL">&updateURL.label;</label>
|
||||
</vbox>
|
||||
<textbox id="updateURL"/>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="iconURL">&icon.label;</label>
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<textbox flex="1" id="iconURL"/>
|
||||
<image id="icon" src='' width='32' height='32'/>
|
||||
<button label="&chooseFile.label;" oncommand="chooseimage('iconURL','icon');"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
<label control="filename">&filename.label;</label>
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<textbox id="filename"/>
|
||||
<label>.xpi</label>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<checkbox id="hidden" label="&hidden.label;"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<checkbox id="locked" label="&locked.label;"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<vbox align="right">
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<checkbox id="noaboutconfig" label="&aboutconfig.label;"/>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizePartOne.label;" onpageadvanced="return ValidateNoSpace('OrganizationName');">
|
||||
<groupbox>
|
||||
<caption label="&orgName.caption;"/>
|
||||
<description>&orgName.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="OrganizationName">&orgName.label;</label>
|
||||
<textbox id="OrganizationName" maxlength="10" flex="1"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
<groupbox>
|
||||
<caption label="&homePage.caption;"/>
|
||||
<description>&homePage.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="HomePageURL">&homePage.label;</label>
|
||||
<textbox id="HomePageURL" flex="1"/>
|
||||
</hbox>
|
||||
<description>&homePageOverride.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="HomePageOverrideURL">&homePageOverride.label;</label>
|
||||
<textbox id="HomePageOverrideURL" flex="1"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
<groupbox>
|
||||
<caption label="&titleBar.caption;"/>
|
||||
<description>&titleBar.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="CompanyName">&titleBar.label;</label>
|
||||
<textbox id="CompanyName" flex="1"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizePartTwo.label;" onpageshow="initimage('LargeStillPath','LargeStill');initimage('LargeAnimPath','LargeAnim');" onpageadvanced="return ValidateFile('LargeAnimPath','LargeStillPath');">
|
||||
<groupbox>
|
||||
<caption label="&animLogo.caption;"/>
|
||||
<description>&animLogoURL.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="AnimatedLogoURL">&animLogoURL.label;</label>
|
||||
<textbox flex="1" id="AnimatedLogoURL"/>
|
||||
</hbox>
|
||||
<description>&animLogoTooltip.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="AnimatedLogoTooltip">&animLogoTooltip.label;</label>
|
||||
<textbox flex="1" id="AnimatedLogoTooltip"/>
|
||||
</hbox>
|
||||
<description>&animLogoAnim.description;</description>
|
||||
<hbox align="center">
|
||||
<textbox id="LargeAnimPath" flex="1"/>
|
||||
<image id="LargeAnim" src='' width='16' height='16'/>
|
||||
<button label="&chooseFile.label;" oncommand="chooseimage('LargeAnimPath','LargeAnim');"/>
|
||||
</hbox>
|
||||
<description>&animLogoStill.description;</description>
|
||||
<hbox align="center">
|
||||
<textbox id="LargeStillPath" flex="1"/>
|
||||
<image id="LargeStill" src='' width='16' height='16'/>
|
||||
<button label="&chooseFile.label;" oncommand="chooseimage('LargeStillPath','LargeStill');"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizePartThree.label;">
|
||||
<groupbox>
|
||||
<caption label="&helpMenu.caption;"/>
|
||||
<description>&helpMenu.description;</description>
|
||||
<vbox>
|
||||
<label control="HelpMenuCommandName">&helpMenuText.label;</label>
|
||||
<textbox id="HelpMenuCommandName" flex="1"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<label control="HelpMenuCommandURL">&helpMenuURL.label;</label>
|
||||
<textbox id="HelpMenuCommandURL" flex="1"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<label control="HelpMenuCommandAccessKey">&helpMenuAccesskey.label;</label>
|
||||
<textbox id="HelpMenuCommandAccesskey" flex="1"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizePartFour.label;">
|
||||
<groupbox>
|
||||
<caption label="&allowedSites.caption;"/>
|
||||
<description control="PopupAllowedSites">&popupAllowedSites.label;</description>
|
||||
<vbox>
|
||||
<textbox id="PopupAllowedSites" flex="1"/>
|
||||
</vbox>
|
||||
<description control="InstallAllowedSites">&installAllowedSites.label;</description>
|
||||
<vbox>
|
||||
<textbox id="InstallAllowedSites" flex="1"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeBrowserPlugins.label;">
|
||||
<groupbox>
|
||||
<caption label="&plugins.label;"/>
|
||||
<description>&browserPlugins.description;</description>
|
||||
<box class="ccklist" id="browserPluginList" new="onNewBrowserPlugin();" edit="onEditBrowserPlugin();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
|
||||
<wizardpage label="&customizeSearchEngines.label;">
|
||||
<groupbox>
|
||||
<caption label="&engines.label;"/>
|
||||
<description>&searchEngines.description;</description>
|
||||
<box class="ccklist" id="searchEngineList" new="onNewSearchEngine();" edit="onEditSearchEngine();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeBundles.label;">
|
||||
<groupbox>
|
||||
<caption label="&bundles.label;"/>
|
||||
<description>&customizeBundles.description;</description>
|
||||
<description>&customizeBundles.warning;</description>
|
||||
<box class="ccklist" id="bundleList" new="onNewBundle();" edit="onEditBundle();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
|
||||
|
||||
<wizardpage id="tbFolder" label="&customizeToolbarOne.label;" onpageadvanced="if (document.getElementById('tbFolder.bookmarkList').getRowCount() > 0) return Validate('ToolbarFolder1');">
|
||||
<groupbox>
|
||||
<caption label="&addToolbarFolder.caption;"/>
|
||||
<description>&addToolbarFolder.description;</description>
|
||||
<hbox align="center">
|
||||
<label>&folderTitle.label;</label>
|
||||
<textbox id="ToolbarFolder1"/>
|
||||
</hbox>
|
||||
<box class="ccklist" id="tbFolder.bookmarkList" new="onNewBookmark();" edit="onEditBookmark();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage id="tb" label="&customizeToolbarTwo.label;">
|
||||
<groupbox>
|
||||
<caption label="&addToolbarBookmark.caption;"/>
|
||||
<description>&addToolbarBookmark.description;</description>
|
||||
<box class="ccklist" id="tb.bookmarkList" new="onNewBookmark();" edit="onEditBookmark();"/>
|
||||
</groupbox>
|
||||
<groupbox>
|
||||
<caption label="&toolbarLocation.label;"/>
|
||||
<radiogroup id="ToolbarLocation">
|
||||
<hbox>
|
||||
<radio value="Last" label="&toolbarLocationEnd.label;"/>
|
||||
<radio value="First" label="&toolbarLocationBegin.label;"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage id="bmFolder" label="&customizeBookmarksOne.label;" onpageadvanced="if (document.getElementById('bmFolder.bookmarkList').getRowCount() > 0) return Validate('BookmarkFolder1');">
|
||||
<groupbox>
|
||||
<caption label="&addBookmarkFolder.caption;"/>
|
||||
<description>&addBookmarkFolder.description;</description>
|
||||
<hbox align="center">
|
||||
<label control="BookmarkFolder1">&folderTitle.label;</label>
|
||||
<textbox id="BookmarkFolder1"/>
|
||||
</hbox>
|
||||
<box class="ccklist" id="bmFolder.bookmarkList" new="onNewBookmark();" edit="onEditBookmark();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage id="bm" label="&customizeBookmarksTwo.label;">
|
||||
<groupbox>
|
||||
<caption label="&addBookmark.caption;"/>
|
||||
<description>&addBookmark.description;</description>
|
||||
<box class="ccklist" id="bm.bookmarkList" new="onNewBookmark();" edit="onEditBookmark();"/>
|
||||
</groupbox>
|
||||
<groupbox>
|
||||
<caption label="&bookmarkLocation.label;"/>
|
||||
<radiogroup id="BookmarkLocation">
|
||||
<hbox>
|
||||
<radio value="Last" label="&bookmarkLocationEnd.label;"/>
|
||||
<radio value="First" label="&bookmarkLocationBegin.label;"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizePrefs.label;">
|
||||
<groupbox>
|
||||
<caption label="&prefs.label;"/>
|
||||
<description>&customizePrefs.description;</description>
|
||||
<box flex="1" class="ccklist" id="prefList" new="onNewPreference();" edit="onEditPreference();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeRegistry.label;">
|
||||
<groupbox>
|
||||
<caption label="®istry.label;"/>
|
||||
<description>®istry.description;</description>
|
||||
<box class="ccklist" id="regList" new="onNewRegKey();" edit="onEditRegKey();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeCerts.label;">
|
||||
<groupbox>
|
||||
<caption label="&certs.label;"/>
|
||||
<description>&customizeCerts.description;</description>
|
||||
<description>&customizeCerts.warning;</description>
|
||||
<box class="ccklist" id="certList" new="onNewCert();" edit="onEditCert();"/>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage label="&customizeProxy.label;">
|
||||
<groupbox>
|
||||
<caption label="&proxyTitle.label;"/>
|
||||
|
||||
<radiogroup id="ProxyType" preference="network.proxy.type"
|
||||
onpreferenceread="return gConnectionsDialog.readProxyType();">
|
||||
<radio value="0" label="&directTypeRadio.label;" accesskey="&directTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
||||
<radio value="4" label="&WPADTypeRadio.label;" accesskey="&WPADTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
||||
<radio value="1" label="&manualTypeRadio.label;" accesskey="&manualTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
||||
<grid class="indent" flex="1">
|
||||
<columns>
|
||||
<column/>
|
||||
<column flex="1"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row align="center">
|
||||
<hbox pack="end">
|
||||
<label value="&http.label;" accesskey="&http.accesskey;" control="HTTPproxyname"/>
|
||||
</hbox>
|
||||
<hbox align="center">
|
||||
<textbox id="HTTPproxyname" flex="1" preference="network.proxy.http"/>
|
||||
<label value="&port.label;" accesskey="&HTTPport.accesskey;" control="HTTPportno"/>
|
||||
<textbox id="HTTPportno" size="5" preference="network.proxy.http_port"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<hbox/>
|
||||
<hbox>
|
||||
<checkbox id="shareAllProxies" label="&shareproxy.label;" accesskey="&shareproxy.accesskey;"
|
||||
preference="network.proxy.share_proxy_settings" oncommand="toggleProxySettings()"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<hbox pack="end">
|
||||
<label value="&ssl.label;" accesskey="&ssl.accesskey;" control="SSLproxyname"/>
|
||||
</hbox>
|
||||
<hbox align="center">
|
||||
<textbox id="SSLproxyname" flex="1" preference="network.proxy.ssl"/>
|
||||
<label value="&port.label;" accesskey="&SSLport.accesskey;" control="SSLportno"/>
|
||||
<textbox id="SSLportno" size="5" preference="network.proxy.ssl_port"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<hbox pack="end">
|
||||
<label value="&ftp.label;" accesskey="&ftp.accesskey;" control="FTPproxyname"/>
|
||||
</hbox>
|
||||
<hbox align="center">
|
||||
<textbox id="FTPproxyname" flex="1" preference="network.proxy.ftp"/>
|
||||
<label value="&port.label;" accesskey="&FTPport.accesskey;" control="FTPportno"/>
|
||||
<textbox id="FTPportno" size="5" preference="network.proxy.ftp_port"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<hbox pack="end">
|
||||
<label value="&gopher.label;" accesskey="&gopher.accesskey;" control="Gopherproxyname"/>
|
||||
</hbox>
|
||||
<hbox align="center">
|
||||
<textbox id="Gopherproxyname" flex="1" preference="network.proxy.gopher"/>
|
||||
<label value="&port.label;" accesskey="&gopherPort.accesskey;" control="Gopherportno"/>
|
||||
<textbox id="Gopherportno" size="5" preference="network.proxy.gopher_port"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row align="center">
|
||||
<hbox pack="end">
|
||||
<label value="&socks.label;" accesskey="&socks.accesskey;" control="SOCKShostname"/>
|
||||
</hbox>
|
||||
<hbox align="center">
|
||||
<textbox id="SOCKShostname" flex="1" preference="network.proxy.socks"/>
|
||||
<label value="&port.label;" accesskey="&SOCKSport.accesskey;" control="SOCKSportno"/>
|
||||
<textbox id="SOCKSportno" size="5" preference="network.proxy.socks_port"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<spacer/>
|
||||
<radiogroup id="socksv" orient="horizontal"
|
||||
preference="network.proxy.socks_version">
|
||||
<radio id="SOCKSVersion4" value="4" label="&socks4.label;" accesskey="&socks4.accesskey;" />
|
||||
<radio id="SOCKSVersion5" value="5" label="&socks5.label;" accesskey="&socks5.accesskey;" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
|
||||
<row align="center">
|
||||
<hbox align="center" pack="end">
|
||||
<label value="&noproxy.label;" accesskey="&noproxy.accesskey;" control="networkProxyNone"/>
|
||||
</hbox>
|
||||
<textbox id="NoProxyname" preference="network.proxy.no_proxies_on"/>
|
||||
</row>
|
||||
<row>
|
||||
<spacer/>
|
||||
<label value="&noproxyExplain.label;" control="networkProxyNone"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<radio value="2" label="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
||||
<hbox class="indent" flex="1" align="center">
|
||||
<textbox id="autoproxyurl" flex="1" preference="network.proxy.autoconfig_url"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage>
|
||||
<description>&cckWizardFinish.description;</description>
|
||||
</wizardpage>
|
||||
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_cckwizard" src="chrome://cckwizard/locale/cckwizard.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
</wizard>
|
||||
Reference in New Issue
Block a user