moving aviary help to the trunk.

This commit is contained in:
rlk%trfenv.com 2004-08-16 20:24:39 +00:00
parent e54d4234a2
commit 89d4cf05d6
18 changed files with 218 additions and 174 deletions

View File

@ -1,47 +0,0 @@
<!ENTITY printCmd.commandkey "p" >
<!ENTITY viewCustomizeToolbar.label "Customize Toolbar..." >
<!ENTITY viewCustomizeToolbar.accesskey "C" >
<!ENTITY findOnCmd.commandkey "F" >
<!ENTITY findAgainCmd.commandkey "G" >
<!ENTITY backCmd.label "Back" >
<!ENTITY backButton.tooltip "Go back one page">
<!ENTITY forwardCmd.label "Forward" >
<!ENTITY forwardButton.tooltip "Go forward one page">
<!ENTITY homeButton.label "Home">
<!ENTITY printButton.label "Print">
<!ENTITY printButton.tooltip "Print this page">
<!ENTITY throbberItem.title "Activity Indicator">
<!ENTITY throbber.tooltip "Go to the Help on Help section">
<!ENTITY toolbar.tooltip "Help Toolbar" >
<!ENTITY backBtn.label "Back" >
<!ENTITY fwdBtn.label "Forward" >
<!ENTITY homeBtn.label "Home" >
<!ENTITY findBtn.label "Find" >
<!ENTITY sidebarBtn.label "Toggle Sidebar" >
<!ENTITY textZoomReduceBtn.label "Shrink Text" >
<!ENTITY textZoomEnlargeBtn.label "Enlarge Text" >
<!ENTITY backBtn.tooltip "Back" >
<!ENTITY fwdBtn.tooltip "Forward" >
<!ENTITY homeBtn.tooltip "Help Home Page" >
<!ENTITY tab1.label "Contents">
<!ENTITY tab2.label "Index">
<!ENTITY searchtab.label "Search">
<!ENTITY searchbtn.label "Find">
<!ENTITY toctab.label "Contents">
<!ENTITY indextab.label "Index">
<!ENTITY ixname.label "Name">
<!ENTITY glossarytab.label "Glossary">
<!ENTITY glossname.label "Name">
<!ENTITY gobtn.label "Search">
<!ENTITY name.label "Item">
<!ENTITY textZoomReduceCmd.commandkey "-">
<!ENTITY textZoomEnlargeCmd.commandkey "+">

View File

@ -1,2 +0,0 @@
showSidebarLabel=Show Sidebar
hideSidebarLabel=Hide Sidebar

View File

@ -1,42 +0,0 @@
<!-- ***** BEGIN LICENSE BLOCK *****
- 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 Mozilla Application Suite.
-
- The Initial Developer of the Original Code is
- Ian Oeschger.
- Portions created by the Initial Developer are Copyright (C) 2003
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- brantgurganus2001@cherokeescouting.org
- rlk@trfenv.com
-
- 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.
-
- ***** END LICENSE BLOCK ***** -->
<!ENTITY helpContents.label "Help Contents">
<!ENTITY helpContents.accesskey "h">
<!ENTITY helpForIEUsers.label "For Internet Explorer Users">
<!ENTITY helpForIEUsers.accesskey "i">

View File

@ -203,9 +203,9 @@ function loadHelpRDF() {
// Cache Additional Datasources to Augment Search Datasources.
if (panelID == "search") {
emptySearchText = getAttribute(helpFileDS, panelDef,
NC_EMPTY_SEARCH_TEXT, "No search items found.");
NC_EMPTY_SEARCH_TEXT, null) || "No search items found.";
emptySearchLink = getAttribute(helpFileDS, panelDef,
NC_EMPTY_SEARCH_LINK, "about:blank");
NC_EMPTY_SEARCH_LINK, null) || "about:blank";
searchDatasources = datasources;
// Don't try to display them yet!
datasources = "rdf:null";
@ -459,6 +459,7 @@ nsHelpStatusHandler.prototype = {
},
onProgressChange : function(aWebProgress, aRequest, aCurSelfProgress,
aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress) {},
onStatusChange : function(aWebProgress, aRequest, aStatus, aMessage) {},
onSecurityChange : function(aWebProgress, aRequest, state) {},
onLocationChange : function(aWebProgress, aRequest, aLocation) {
UpdateBackForwardButtons();
@ -539,7 +540,6 @@ function showPanel(panelId) {
document.getElementById("help-toc-btn").removeAttribute("selected");
//add the selected style to the correct panel.
theButton.setAttribute("selected", "true");
document.commandDispatcher.advanceFocusIntoSubtree(theButton);
}
function findParentNode(node, parentNode)
@ -564,13 +564,15 @@ function findParentNode(node, parentNode)
}
function onselect_loadURI(tree) {
var row = tree.currentIndex;
if (row >= 0) {
var resource = tree.view.getResourceAtIndex(row);
try {
var resource = tree.view.getResourceAtIndex(tree.currentIndex);
var link = tree.database.GetTarget(resource, NC_LINK, true);
if (link instanceof Components.interfaces.nsIRDFLiteral && link.Value)
if (link) {
link = link.QueryInterface(Components.interfaces.nsIRDFLiteral);
loadURI(link.Value);
}
}
} catch (e) {
}// when switching between tabs a spurious row number is returned.
}
# doFind - Searches the help files for what is located in findText and outputs into
@ -745,8 +747,23 @@ function loadCompositeDS(datasources) {
function getAttribute(datasource, resource, attributeResourceName,
defaultValue) {
var literal = datasource.GetTarget(resource, attributeResourceName, true);
return literal instanceof Components.interfaces.nsIRDFLiteral ?
literal.Value : defaultValue;
if (!literal) {
return defaultValue;
}
return getLiteralValue(literal, defaultValue);
}
function getLiteralValue(literal, defaultValue) {
if (literal) {
literal = literal.QueryInterface(Components.interfaces.nsIRDFLiteral);
if (literal) {
return literal.Value;
}
}
if (defaultValue) {
return defaultValue;
}
return null;
}
# Write debug string to javascript console.
@ -791,3 +808,28 @@ function toggleSidebar()
}
}
// Shows the panel relative to the currently selected panel.
// Takes a boolean parameter - if true it will show the next panel,
// otherwise it will show the previous panel.
function showRelativePanel(goForward) {
var selectedIndex = -1;
var sidebarBox = document.getElementById("helpsidebar-box");
var sidebarButtons = new Array();
for (var i = 0; i < sidebarBox.childNodes.length; i++) {
var btn = sidebarBox.childNodes[i];
if (btn.nodeName == "toolbarbutton") {
if (btn.getAttribute("selected") == "true")
selectedIndex = sidebarButtons.length;
sidebarButtons.push(btn);
}
}
if (selectedIndex == -1)
return;
selectedIndex += goForward ? 1 : -1;
if (selectedIndex >= sidebarButtons.length)
selectedIndex = 0;
else if (selectedIndex < 0)
selectedIndex = sidebarButtons.length - 1;
sidebarButtons[selectedIndex].doCommand();
}

View File

@ -49,7 +49,7 @@
<window id="help"
windowtype="mozilla:help"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="640"
width="700"
height="550"
persist="width height screenX screenY"
onload="init();"
@ -87,6 +87,7 @@
<command id="Help:Find" oncommand="helpBrowser.find();"/>
<command id="Help:FindAgain" oncommand="helpBrowser.findAgain();"/>
<command id="Help:ToggleSidebar" oncommand="toggleSidebar();"/>
<command id="cmd_closeWindow" oncommand="close();"/>
<command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/>
<command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
<command id="cmd_CustomizeToolbars" oncommand="CustomizeToolbar('help-toolbox');"/>
@ -103,11 +104,17 @@
command="Help:Find" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;"
command="Help:FindAgain" modifiers="accel"/>
<key id="key_closeWindow" key="&closeWindow.commandkey;"
command="cmd_closeWindow" modifiers="accel"/>
<key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;"
command="cmd_textZoomEnlarge" modifiers="accel"/>
<key id="key_textZoomReduce" key="&textZoomReduceCmd.commandkey;"
command="cmd_textZoomReduce" modifiers="accel"/>
<key id="key_toggleSidebar" keycode="VK_F9" command="Help:ToggleSidebar"/>
<key id="key_viewNextHelpPanel" keycode="VK_TAB"
oncommand="showRelativePanel(true);" modifiers="control"/>
<key id="key_viewPrevHelpPanel" keycode="VK_TAB"
oncommand="showRelativePanel(false);" modifiers="control,shift"/>
</keyset>
<stringbundle id="bundle_viewZoom"/>
<stringbundle id="findBundle"
@ -117,7 +124,6 @@
<vbox flex="1">
# <!-- button bar -->
<toolbox id="help-toolbox" class="toolbox-top" mode="icons" iconsize="small" customizable="true">
<toolbarpalette id="HelpToolbarPalette">
@ -127,7 +133,7 @@
customizeable="true" label="&sidebarBtn.label;"
command="Help:ToggleSidebar"/>
<toolbarbutton id="help-back-button" type="menu-button"
class="toolbarbutton-1" label="&backButton.label;"
class="browserButton" label="&backButton.label;"
oncommand="if (event.target==this) goBack(); else gotoHistoryIndex(event);"
observes="canGoBack" context="backMenu"
tooltiptext="&backButton.tooltip;">
@ -135,7 +141,7 @@
onpopupshowing="createBackMenu(event);"/>
</toolbarbutton>
<toolbarbutton id="help-forward-button" type="menu-button"
class="toolbarbutton-1"
class="browserButton"
label="&forwardButton.label;"
oncommand="if (event.target==this) goForward(); else gotoHistoryIndex(event);"
tooltiptext="&forwardButton.tooltip;"
@ -144,7 +150,7 @@
onpopupshowing="createForwardMenu(event);"/>
</toolbarbutton>
<toolbarbutton id="help-home-button"
class="toolbarbutton-1" label="&homeButton.label;"
class="browserButton" label="&homeButton.label;"
command="Help:Home"/>
<toolbarbutton id="help-find-button"
class="toolbarbutton-1" label="&findBtn.label;"
@ -155,7 +161,7 @@
<toolbarbutton id="help-zoom-large-button"
class="toolbarbutton-1" label="&textZoomEnlargeBtn.label;"
command="cmd_textZoomEnlarge"/>
<toolbarbutton id="help-print-button" class="toolbarbutton-1"
<toolbarbutton id="help-print-button" class="browserButton"
label="&printButton.label;"
oncommand="print();"
tooltiptext="&printButton.tooltip;"/>
@ -178,16 +184,17 @@
<toolbarset id="customToolbars"/>
</toolbox>
# <!-- the two help panes (sidebar & content) -->
<hbox flex="1">
<vbox id="helpsidebar-box" persist="width">
<!-- glossary panel -->
<button id="help-glossary-btn"
<toolbarbutton id="help-glossary-btn"
class="box-texttab texttab-sidebar"
label="&glossarytab.label;"
oncommand="showPanel('help-glossary')"/>
<tree id="help-glossary-panel" flex="1" hidecolumnpicker="true"
oncommand="showPanel('help-glossary')"
accesskey="&glossarytab.accesskey;"/>
<tree id="help-glossary-panel" class="focusring"
flex="1" hidecolumnpicker="true"
hidden="true" datasources="rdf:null"
containment="http://home.netscape.com/NC-rdf#subheadings"
ref="urn:root" flags="dont-build-content"
@ -225,12 +232,13 @@
</treecols>
</tree>
# <!-- index panel -->
<button id="help-index-btn" class="box-texttab texttab-sidebar"
<toolbarbutton id="help-index-btn" class="box-texttab texttab-sidebar"
label="&indextab.label;"
oncommand="showPanel('help-index');expandAllIndexEntries();"/>
oncommand="showPanel('help-index');expandAllIndexEntries();"
accesskey="&indextab.accesskey;"/>
<tree id="help-index-panel" flex="1" datasources="rdf:null"
<tree id="help-index-panel" class="focusring"
flex="1" datasources="rdf:null"
hidecolumnpicker="true" hidden="true"
containment="http://home.netscape.com/NC-rdf#subheadings"
ref="urn:root"
@ -270,10 +278,10 @@
</treecols>
</tree>
# <!-- search panel -->
<button id="help-search-btn" class="box-texttab texttab-sidebar"
<toolbarbutton id="help-search-btn" class="box-texttab texttab-sidebar"
label="&searchtab.label;"
oncommand="showPanel('help-search')"/>
oncommand="showPanel('help-search')"
accesskey="&searchtab.accesskey;"/>
<vbox id="help-search-panel" hidden="true" flex="1">
<hbox align="center">
@ -286,7 +294,7 @@
label="&gobtn.label;" oncommand="doFind()"
flex="0"/>
</hbox>
<tree id="help-search-tree"
<tree id="help-search-tree" class="focusring"
flex="1" hidecolumnpicker="true"
datasources="rdf:null"
containment="http://home.netscape.com/NC-rdf#child"
@ -327,11 +335,12 @@
</tree>
</vbox>
# <!-- table of contents panel -->
<button id="help-toc-btn" class="box-texttab texttab-sidebar"
<toolbarbutton id="help-toc-btn" class="box-texttab texttab-sidebar"
label="&toctab.label;"
oncommand="showPanel('help-toc')"/>
<tree id="help-toc-panel" flex="1" hidecolumnpicker="true"
oncommand="showPanel('help-toc')"
accesskey="&toctab.accesskey;"/>
<tree id="help-toc-panel" class="focusring"
flex="1" hidecolumnpicker="true"
datasources="rdf:null"
containment="http://home.netscape.com/NC-rdf#subheadings"
ref="urn:root" flags="dont-build-content"
@ -373,7 +382,7 @@
</vbox>
<splitter id="helpsidebar-splitter" collapse="before"
persist="state hidden" state="open">
persist="state hidden" autostretch="never" state="open">
</splitter>
<vbox id="appcontent" flex="3">
@ -383,9 +392,7 @@
iframes intended to hold (html) content -->
<browser context="contentAreaContextMenu"
type="content-primary" id="help-content"
src="about:blank" flex="1"
ondraggesture="nsDragAndDrop.startDrag(event,
contentAreaDNDObserver);"/>
src="about:blank" flex="1"/>
</hbox>
</vbox>
</hbox>

View File

@ -90,4 +90,4 @@
#endif
#endif
</menupopup>
</overlay>
</overlay>

View File

@ -0,0 +1,49 @@
/* ***** BEGIN LICENSE BLOCK *****
* 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 Mozilla Help CSS
*
* The Initial Developer of the Original Code is R.J. Keller.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Jeff Walden <jwalden+code@mit.edu>
*
* 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 GPL or the LGPL. 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.
*
* ***** END LICENSE BLOCK ***** */
#ifdef XP_WIN
.noWin, .mac, .unix { display: none; }
#else
#ifdef XP_MACOSX
.noMac, .win, .unix { display: none; }
#else
#ifdef XP_OS2
.noWin, .mac, .unix { display: none; }
#else
.noUnix, .win, .mac { display: none; }
#endif
#endif
#endif

View File

@ -26,6 +26,7 @@
<rdf:li> <rdf:Description nc:name="encryption" nc:link="glossary.xhtml#encryption"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Extensible Stylesheet Language Transformation (XSLT)" nc:link="glossary.xhtml#XSLT"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Extensible Markup Language (XML)" nc:link="glossary.xhtml#XML"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="feed" nc:link="glossary.xhtml#feed"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="File Transfer Protocol (FTP)" nc:link="glossary.xhtml#File_Transfer_Protocol"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="FIPS PUBS 140-1" nc:link="glossary.xhtml#FIPS_PUBS_140-1"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="foreign cookie" nc:link="glossary.xhtml#foreign_cookie"/> </rdf:li>
@ -41,6 +42,7 @@
<rdf:li> <rdf:Description nc:name="JavaScript" nc:link="glossary.xhtml#JavaScript"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="key" nc:link="glossary.xhtml#key"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Lightweight Directory Access Protocol (LDAP)" nc:link="glossary.xhtml#LDAP_glossary"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="live bookmark" nc:link="glossary.xhtml#live_bookmark"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Location Bar" nc:link="glossary.xhtml#location_bar"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="master password" nc:link="glossary.xhtml#master_password"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Navigation Toolbar" nc:link="glossary.xhtml#navigation_toolbar"/> </rdf:li>
@ -55,6 +57,7 @@
<rdf:li> <rdf:Description nc:name="private key" nc:link="glossary.xhtml#private_key"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="proxy" nc:link="glossary.xhtml#proxy"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="search engine" nc:link="glossary.xhtml#search_engine"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="secure site" nc:link="glossary.xhtml#secure_site"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="Secure Sockets Layer (SSL)" nc:link="glossary.xhtml#Secure_Sockets_Layer"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="server" nc:link="glossary.xhtml#server"/> </rdf:li>
<rdf:li> <rdf:Description nc:name="SSL" nc:link="glossary.xhtml#SSL"/> </rdf:li>
@ -71,4 +74,4 @@
</nc:subheadings>
</rdf:Description>
</rdf:RDF>
</rdf:RDF>

View File

@ -128,6 +128,14 @@
see the online W3C document <a href="http://www.w3.org/XML/">Extensible
Markup Language (XML)</a>.</dd>
<dt id="feed">feed</dt>
<dd>An <a href="#XML">XML</a> web page that contains a list of links to
other web pages. Special programs can read feeds to create a list
of headlines from the links, automatically updating the list as it changes.
News web sites use feeds to quickly publish the latest headlines, and
personal online journals often use feeds to quickly notify visitors about
new entries. See also <a href="#live_bookmark">live bookmark</a>.</dd>
<dt id="File_Transfer_Protocol">File Transfer Protocol (FTP)</dt>
<dd>A standard that allows users to transfer files from one computer to
another over a network. You can use &brandShortName; to fetch files
@ -226,18 +234,21 @@
<dd>A standard protocol for accessing directory services, such as corporate
address books, across multiple platforms.</dd>
<dt id="live_bookmark">live bookmark</dt>
<dd>A special type of bookmark that acts as a folder to contain the links in a
<a href="#feed">feed</a>. You can create a live bookmark by visiting a site
with a feed, clicking on the live bookmark icon in the Status Bar, and
selecting the feed format you wish to use.</dd>
<dt id="location_bar">Location Bar</dt>
<dd>The field (and associated buttons) near the top of a &brandShortName; window
where you can type a <a href="#Uniform_Resource_Locator">URL</a> or search terms.</dd>
<dt id="master_password">master password</dt>
<dd>A password used by Certificate Manager to protect the master key and/or
private keys stored on a security device. Certificate Manager needs to
access your private keys, for example, when you sign email messages or
use one of your own certificates to identify yourself to a web site. It
needs to access your master key when Password Manager or Form Manager
reads or adds to your personal information. Each security device requires
a separate master password.</dd>
<dd>A password used to protect saved passwords and other private data.
&brandShortName; will prompt you for your master password when you wish to
access this data. If you have multiple security devices, each security device
will require a separate master password.</dd>
<dt id="navigation_toolbar">Navigation Toolbar</dt>
<dd>The toolbar near the top of the &brandShortName; window that includes
@ -309,6 +320,16 @@ corresponding public key.</dd>
search box, and the search engine displays links to relevant web
pages.</dd>
<dt id="secure_site">secure site</dt>
<dd>A site that uses <a href="#encryption">encryption</a> in connections
with &brandShortName; to prevent other malicious Internet users from
viewing transmitted data. When you visit secure sites, &brandShortName;
displays a lock icon in the <a href="#Status_Bar">Status Bar</a> and the
<a href="#location_bar">Location Bar</a>. &brandShortName; also
displays the site's domain name in the Status Bar (to prevent malicious
sites from stealing your data) and turns the background of the Location
Bar to yellow.</dd>
<dt id="Secure_Sockets_Layer">Secure Sockets Layer (SSL)</dt>
<dd>A protocol that allows mutual authentication between a
<a href="#client">client</a> and a <a href="#server">server</a>
@ -330,7 +351,7 @@ corresponding public key.</dd>
<dt id="Status_Bar">Status Bar</dt>
<dd>The toolbar that appears at the bottom of any &brandShortName; window. It
shows status icons on the left.</dd>
shows status icons on the right.</dd>
<dt id="TCP_IP">TCP</dt>
<dd>See <a href="#Transmission_Control_Protocol_Internet_Protocol">Transmission
@ -375,7 +396,7 @@ corresponding public key.</dd>
[&nbsp;<a href="#glossary">Return to beginning of Glossary</a>&nbsp;]
</p>
<div class="contentsBox"><em>26 November 2003</em></div>
<p>Copyright &copy; 2003 Contributors to the Firebird Help Project.</p>
<div class="contentsBox"><em>14 August 2004</em></div>
<p>Copyright &copy; 2003-2004 Contributors to the Mozilla Help Viewer Project.</p>
</body>
</html>

View File

@ -85,11 +85,11 @@
<li>Try to broaden your search - don't be too specific; terms
could be worded differently than your search.</li>
<li>Avoid being too broad with your search: words like &quot;&brandShortName;&quot;
and &quot;Mozilla&quot; could possibly return all of the pages in the help file.</li>
and &quot;&vendorShortName;&quot; could possibly return all of the pages in the help file.</li>
</ul>
<div class="contentsBox"><em>07 September 2003</em></div>
<p>Copyright &copy; 2003 Contributors to the Firebird Help Project.</p>
<p>Copyright &copy; 2003-2004 Contributors to the Mozilla Help Viewer Project.</p>
</body>
</html>

View File

@ -7,6 +7,7 @@ help.jar:
* content/help/helpContextOverlay.xul (content/helpContextOverlay.xul)
* content/help/customizeToolbar.xul (content/customizeToolbar.xul)
* content/help/toolbarCustomization.js (content/toolbarCustomization.js)
* content/help/platformClasses.css (content/platformClasses.css)
locale/en-US/help/contents.rdf (locale/en-US/contents.rdf)
locale/en-US/help/help.properties (locale/en-US/help.properties)
locale/en-US/help/help.dtd (locale/en-US/help.dtd)

View File

@ -28,6 +28,7 @@
<!ENTITY customizeButton.tooltip "Customize which buttons are shown on the Help toolbar.">
<!ENTITY reloadCmd.label "Reload">
<!ENTITY reloadCmd.accesskey "R">
<!ENTITY closeWindow.commandkey "W">
<!ENTITY throbberItem.title "Activity Indicator">
<!ENTITY throbber.tooltip "Go to the Help on Help section">

View File

@ -44,6 +44,12 @@
list-style-image: url("chrome://help/skin/Toolbar.png");
}
.browserButton {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://browser/skin/Toolbar.png");
}
#help-zoom-large-button,
#help-zoom-small-button,
#help-sidebar-button {
@ -57,13 +63,13 @@ menubutton:not([disabled="true"]):hover:active {
color: ButtonText !important;
}
#help-back-button { -moz-image-region: rect(0px 144px 24px 120px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(24px 144px 48px 120px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 144px 72px 120px); }
#help-back-button { -moz-image-region: rect(0px 32px 32px 0px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(32px 32px 64px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(64px 32px 96px 0px); }
#help-forward-button { -moz-image-region: rect(0px 168px 24px 144px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 168px 48px 144px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 168px 72px 144px); }
#help-forward-button { -moz-image-region: rect(0px 64px 32px 32px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(32px 64px 64px 32px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(64px 64px 96px 32px); }
#help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }
#help-find-button:hover { -moz-image-region: rect(0px 192px 24px 168px); }
@ -71,11 +77,11 @@ menubutton:not([disabled="true"]):hover:active {
#help-toolbar-customization { -moz-image-region: rect(0px 216px 24px 192px); }
#help-toolbar-customization:hover { -moz-image-region: rect(24px 216px 48px 192px); }
#help-home-button { -moz-image-region: rect(0px 120px 24px 96px); }
#help-home-button:hover { -moz-image-region: rect(24px 120px 48px 96px); }
#help-home-button { -moz-image-region: rect(0px 160px 32px 128px); }
#help-home-button:hover { -moz-image-region: rect(32px 160px 64px 128px); }
#help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
#help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); }
#help-print-button { -moz-image-region: rect(0px 288px 32px 256px); }
#help-print-button:hover { -moz-image-region: rect(32px 288px 64px 256px); }
#help-zoom-large-button { -moz-image-region: rect(0px 24px 24px 0px); }
#help-zoom-large-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }

View File

@ -35,6 +35,8 @@
*
* ***** END LICENSE BLOCK ***** */
@import url('chrome://help/content/platformClasses.css');
body {
margin: 2ex;
color: black;
@ -107,4 +109,4 @@ th {
.noTableBorder th {
background-color: transparent;
border: 0px solid transparent;
}
}

View File

@ -8,7 +8,7 @@
<binding id="sbtab" extends="xul:button">
<content>
<xul:image class="sbtab-twisty" xbl:inherits="selected"/>
<xul:label class="sidebar-title" flex="1" xbl:inherits="value=label"/>
<xul:label class="sidebar-title" flex="1" xbl:inherits="value=label,accesskey"/>
</content>
</binding>

View File

@ -20,7 +20,7 @@
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
#
# 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"),
@ -44,10 +44,10 @@
list-style-image: url("chrome://help/skin/Toolbar.png");
}
#help-zoom-large-button,
#help-zoom-small-button,
#help-sidebar-button {
list-style-image: url("chrome://help/skin/Toolbar.png");
.browserButton {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://browser/skin/Toolbar.png");
}
toolbarbutton:not([disabled="true"]):hover,
@ -57,13 +57,16 @@ menubutton:not([disabled="true"]):hover:active {
color: ButtonText !important;
}
#help-back-button { -moz-image-region: rect(0px 144px 24px 120px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(24px 144px 48px 120px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 144px 72px 120px); }
/* Set the minimum sidebar width so the help contents aren't squeezed together.*/
#helpsidebar-box { width: 200px; }
#help-forward-button { -moz-image-region: rect(0px 168px 24px 144px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 168px 48px 144px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 168px 72px 144px); }
#help-back-button { -moz-image-region: rect(0px 24px 24px 0px); }
#help-back-button[buttonover="true"] { -moz-image-region: rect(24px 24px 48px 0px); }
#help-back-button[disabled="true"] { -moz-image-region: rect(48px 24px 72px 0px); }
#help-forward-button { -moz-image-region: rect(0px 48px 24px 24px); }
#help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 48px 48px 24px); }
#help-forward-button[disabled="true"] { -moz-image-region: rect(48px 48px 72px 24px); }
#help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }
#help-find-button:hover { -moz-image-region: rect(0px 192px 24px 168px); }
@ -74,8 +77,8 @@ menubutton:not([disabled="true"]):hover:active {
#help-home-button { -moz-image-region: rect(0px 120px 24px 96px); }
#help-home-button:hover { -moz-image-region: rect(24px 120px 48px 96px); }
#help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
#help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); }
#help-print-button { -moz-image-region: rect(0px 216px 24px 192px); }
#help-print-button:hover { -moz-image-region: rect(24px 216px 48px 192px); }
#help-zoom-large-button { -moz-image-region: rect(0px 24px 24px 0px); }
#help-zoom-large-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }
@ -88,16 +91,14 @@ menubutton:not([disabled="true"]):hover:active {
/** Toolbar Customization stuff **/
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text,
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
display: -moz-box;
}
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-text,
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-icon,
toolbar[mode="text"] > toolbarbutton > toolbarbutton > .toolbarbutton-icon,
toolbar[mode="icons"] > toolbarbutton > toolbarbutton > .toolbarbutton-text {
toolbar[mode="icons"] .toolbarbutton-text,
toolbar[mode="text"] .toolbarbutton-icon {
display: none;
}

View File

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Jeff Walden <Jswalden86@netzero.net>
* Jeff Walden <jwalden+code@mit.edu>
*
* 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
@ -35,6 +35,8 @@
*
* ***** END LICENSE BLOCK ***** */
@import url('chrome://help/content/platformClasses.css');
body {
margin: 2ex;
color: black;
@ -107,4 +109,4 @@ th {
.noTableBorder th {
background-color: transparent;
border: 0px solid transparent;
}
}

View File

@ -8,7 +8,7 @@
<binding id="sbtab" extends="xul:button">
<content>
<xul:image class="sbtab-twisty" xbl:inherits="selected"/>
<xul:label class="sidebar-title" flex="1" xbl:inherits="value=label"/>
<xul:label class="sidebar-title" flex="1" xbl:inherits="value=label,accesskey"/>
</content>
</binding>