cvs: phpdoc /htmlhelp/suppfiles/fixes IE6DisplayFix.reg /htmlhelp/suppfiles/html _atw.gif _body.gif _code.gif _google.gif _masterheader.jpg _note.gif
_pixel.gif _script.js _skin_hi.js _skin_lo.js _style_hi.css _style_lo.css _subheader.gif _warning.gif /htmlhelp/suppfiles/notes _index.html
_style.css /htmlhelp/suppfiles/prefs context.ini php_manual_prefs.js /htmlhelp/suppfiles/quickref php_manual.ico php_quickref.hta
/htmlhelp/suppfiles/skins/GreenLinks skin.js style.css /htmlhelp/suppfiles/skins/HeaderNostalgia phpdoc_bellowmenu.png phpdoc_bottomback.png
phpdoc_menu.png phpdoc_midback.png phpdoc_php.png phpdoc_upback.png skin.js style.css

From: Date: Thu, 26 Dec 2002 19:14:49 +0000
Subject: cvs: phpdoc /htmlhelp/suppfiles/fixes IE6DisplayFix.reg /htmlhelp/suppfiles/html _atw.gif _body.gif _code.gif _google.gif _masterheader.jpg _note.gif
_pixel.gif _script.js _skin_hi.js _skin_lo.js _style_hi.css _style_lo.css _subheader.gif _warning.gif /htmlhelp/suppfiles/notes _index.html
_style.css /htmlhelp/suppfiles/prefs context.ini php_manual_prefs.js /htmlhelp/suppfiles/quickref php_manual.ico php_quickref.hta
/htmlhelp/suppfiles/skins/GreenLinks skin.js style.css /htmlhelp/suppfiles/skins/HeaderNostalgia phpdoc_bellowmenu.png phpdoc_bottomback.png
phpdoc_menu.png phpdoc_midback.png phpdoc_php.png phpdoc_upback.png skin.js style.css
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350401@lists.php.net to get a copy of this message
goba Thu Dec 26 14:14:49 2002 EDT Added files: /phpdoc/htmlhelp/suppfiles/fixes IE6DisplayFix.reg /phpdoc/htmlhelp/suppfiles/html _atw.gif _body.gif _code.gif _google.gif _masterheader.jpg _note.gif _pixel.gif _script.js _skin_hi.js _skin_lo.js _style_hi.css _style_lo.css _subheader.gif _warning.gif /phpdoc/htmlhelp/suppfiles/notes _index.html _style.css /phpdoc/htmlhelp/suppfiles/prefs context.ini php_manual_prefs.js /phpdoc/htmlhelp/suppfiles/quickref php_manual.ico php_quickref.hta /phpdoc/htmlhelp/suppfiles/skins/GreenLinks skin.js style.css /phpdoc/htmlhelp/suppfiles/skins/HeaderNostalgia phpdoc_bellowmenu.png phpdoc_bottomback.png phpdoc_menu.png phpdoc_midback.png phpdoc_php.png phpdoc_upback.png skin.js style.css Log: Adding supporting files of the "new CHM" build system

Index: phpdoc/htmlhelp/suppfiles/fixes/IE6DisplayFix.reg +++ phpdoc/htmlhelp/suppfiles/fixes/IE6DisplayFix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "Friendly http errors"="yes" Index: phpdoc/htmlhelp/suppfiles/html/_script.js +++ phpdoc/htmlhelp/suppfiles/html/_script.js // ============================================================================= // Preference handling // Handle all the preferences, including online functions custom // context menus, and skins [this is called from php_manual_prefs.js] function prefHandler() { // Find out what file stores the skin JS code switch (prefs_skin) { // Internal low skin case "Low": skin_js_file = '_skin_lo.js'; break; // Internal high skin case "High": skin_js_file = '_skin_hi.js'; break; // An external skin with full path (escape it just // to make sure that paths with spaces and other // unusual chars will work - and turn back : to // it's original form) default: //escaped_skin = escape(prefs_skin); //escaped_skin = escaped_skin.replace(/%3A/, ':') skin_js_file = "file:///" + prefs_skin; break; } // Load in the skin JS code document.write('<script src="' + skin_js_file + '"><'+ '/script>'); // Write out context menu for the first time into it's div document.write('<div id="contextMenu">'); contextMenuRewrite(true); document.write('</div>'); // Assign our own event handlers to document events [req. IE5] document.oncontextmenu = contextMenu; document.onclick = contextMenuCloseTimeout; window.onblur = contextMenuCloseTimeout; } // ============================================================================= // CHM path detection - Thanks to Pete Lees and Jeff Hall for this code // Get the path and name of the CHM file and assign values function getCHMFile() { var a, X, Y, Z; a = location.href.search(/:/); Y = location.href.lastIndexOf("::"); if (a == 4) { // file: or http: Y = location.href.lastIndexOf("/"); chmfile_page = unescape(location.href.substring(Y+1)); if (location.href.substring(0,4) == "file") { chmfile_path = unescape(location.href.substring(8, Y+1)); } } else { if (a == 2) X = 14; // mk:@MSITStore: if (a == 7) X = 7; // ms-its: chmfile_fullname = unescape(location.href.substring(X, Y)); Z = chmfile_fullname.lastIndexOf("\\"); chmfile_path = unescape(chmfile_fullname.substring(0, Z+1)); chmfile_name = unescape(chmfile_fullname.substring(Z+1)); chmfile_page = unescape(location.href.substring(Y+3)); } //alert(location.href+"\n\n"+"fullname="+chmfile_fullname+"\n"+"path="+ //chmfile_path+"\n"+"name="+chmfile_name+"\n"+"page="+chmfile_page); } // ============================================================================= // Page display and online functions code // Go online to see this page in an external window [called when a user // clicks on the "this page oline" link] function thisPageOnline() { if (!prefs_online) { alert("You are in offline mode.\nThis functionality is not available"); } else { window.open(prefs_mirror + 'manual/' + this_lang + '/' + this_page_php); } } // Report bug on this manual page, using GET method URL tricks // [called when a user clicks on the "report bug on this page" link] function bugOnPage() { if (!prefs_online) { alert("You are in offline mode.\nThis functionality is not available"); } else { window.open( "http://bugs.php.net/report.php?" + escape("in[php_version]") + "=earlier&" + escape("in[bug_type]") + "=Documentation%20problem&" + escape("in[php_os]") + "=windows&" + escape("in[sdesc]") + "=" + escape("[chm] bug on " + this_page) + "&" + escape("in[ldesc]") + "=" + escape("I have found a bug on page " + this_page + "\n[chm date: " + this_date + "]...\n") ); } } // ============================================================================= // Handle user notes from an external CHM file // Copy user notes text from aan invisible IFRAME to a visible // DIV tag's content area [this is called from displayNotes() // which is defined in every HTML page to fix an old IE bug] function _displayNotes() { // Get the element from the "all" collection element = document.all['pageNotes']; // If we have that element, copy notes here if (element) { element.innerHTML = parent.nbuff.document.body.innerHTML; } else { alert("Error in user note inclusion"); } } // Load the user notes HTML file [this is called from the HTML // file directly on every page] Depends on UA version function loadNotes() { // Workaround for IE6 bug if (ie_version_major == 6) { document.write('<script src="mk:@MSITStore:' + chmfile_path + 'php_manual_notes.chm::/_filelist.js"></script>'); } // Load notes in otherwise else { notesIframe(); } } // Prints out the inline frame for the notes HTML file function notesIframe() { // Notes buffer for user notes to display on this page document.write( '<iframe name="nbuff" style="display:none" src="mk:@MSITStore:' + chmfile_path + 'php_manual_notes.chm::/' + chmfile_page + '"></iframe>' ); } // ============================================================================= // Context menu code // Rewrite context menu according to the current environment. The only parameter // indicates that this is the first display or not. [called once from // prefHandler() and then every time before a context menu needs to be displayed] function contextMenuRewrite(first) { // Set selection to null value (we will check // if there is a current selection now) context_selrange = null; // Our menu layer is invisible initially menuHTML = '<table width="150" cellspacing="2" cellpadding="0">'; // Write out a table row for all menu points for (i in prefs_context_names) { // Label and abstract implementation label = prefs_context_names[i]; impl = prefs_context_values[i]; // Special display items start with an underscore if (impl.substring(0,1) == "_") { // Find the special printout needed switch (impl) { // Menu separator case "_Separator_": menuHTML += '<tr><td bgcolor="#000000"><img src="_pixel.gif" ' + 'width="100%" height="1"></td></tr>'; break; // Google search box (only printed in online mode) case "_GoogleSearch_": if (prefs_online) { menuHTML += '<tr><td style="background-color: #f5f5f5;"><form action="http://www.google.com/search" class="thin"' + 'onsubmit="contextMenuClose()" method="GET" target="_blank">' + '<img src="_google.gif" align="absmiddle" alt="Google"><input type="text" name="q" ' + 'style="width:120px;"></form></td></tr>'; } break; // Alltheweb search box (only printed in online mode) case "_ATWSearch_": if (prefs_online) { menuHTML += '<tr><td style="background-color: #f5f5f5;"><form action="http://www.alltheweb.com/search" class="thin"' + 'onsubmit="contextMenuClose()" method="GET" target="_blank">' + '<img src="_atw.gif" align="absmiddle" alt="AlltheWeb"><input name="cat" type="hidden" value="web">' + '<input type="text" name="query" style="width:120px;"></form></td></tr>'; } break; // This should not be accessed in any valid situation, but // is here to at least print out something in case of error... default: menuHTML += contextLink(i, label); break; } } // Special functions that may need to be printed out conditionally else if (impl.substring(impl.length-2) == "()") { // Do something depending on function name switch (impl.substring(0, impl.length-2)) { // Copy selection case "copySelection": // For the first time there is actually no document... if (document.selection && !first) { context_selrange = document.selection.createRange(); if (context_selrange.text.length > 0) { menuHTML += contextLink(i, label); } } break; // Google or AlltheWeb search for selection (need to be in online mode) case "searchSelGoogle": case "searchSelATW": // For the first time there is actually no document... if (document.selection && !first) { context_selrange = document.selection.createRange(); if (context_selrange.text.length > 0 && prefs_online) { menuHTML += contextLink(i, label); } } break; // Misc functions like print() and selectAll() default: menuHTML += contextLink(i, label); break; } } // Not a special display or function, // so simply print out the line for this item else { menuHTML += contextLink(i, label); } } // End table menuHTML += '</table>'; // We do not have this element if this is the first run, but we // need to rewrite the element content if it's not the first time if (first) { document.write(menuHTML); } else { document.all['contextMenu'].innerHTML = menuHTML; } } // Write out one context menu link table row [called from contextMenuRewrite()] function contextLink (number, label) { return '<tr><td nowrap onmouseover="this.style.backgroundColor=\'#c0c0c0\';" ' + 'onmouseout="this.style.backgroundColor=\'#f5f5f5\';" ' + 'onclick="contextParse(' + number + ')" ' + 'style="cursor:hand; background-color: #f5f5f5;"><p class="context">' + label + '</p></td></tr>'; } // Parse the jump string, and do appropriate action [called when the user // clicks on a table row in the context menu] function contextParse(i) { var control = prefs_context_values[i]; // If the control string ends in (), then it is // a function, not a file name if (control.substring(control.length-2) == "()") { // Switch by function name switch (control.substring(0, control.length-2)) { // Print out this page case "print": print(); break; // Copy the selection from the current document case "copySelection": if (context_selrange != null) { context_selrange.execCommand("Copy"); } break; // Search for the selected text on Google case "searchSelGoogle": sel = contextGetSelection(); if (sel != '') { window.open('http://www.google.com/search?q=' + escape(sel)); } break; // Search for the selected text on AlltheWeb case "searchSelATW": sel = contextGetSelection(); if (sel != '') { window.open('http://www.alltheweb.com/search?cat=web&query=' + escape(sel)); } break; // Go back and forward in history case "back": history.back(); break; case "forward": history.forward(); break; // Refresh page dispplay case "refresh": window.location.reload(true); break; // Select all text in the document case "selectAll": document.body.createTextRange().select(); break; // View source of current page case "viewSource": window.location = "view-source:" + window.location.href; break; // This should never be accessed, but here to alert if there is an error default: alert('This context menu function is not supported'); break; } } // If this is not a "function call", then jump // to that page in the CHM or outside of it else { // Link with protocol if (control.indexOf(":") > 0) { window.open(control); } // Link without protocol else { location = control; } } } // Returns the current selection [called when a context menu // item is clicked involving an operation on a selection] function contextGetSelection() { // Test if anything is selected if (context_selrange != null && context_selrange.text.length > 0) { return context_selrange.text; } else { alert("Nothing is selected"); return ""; } } // Handle mousedown events in a document [called when a mouse click // is issued on a document] function contextMenu(e) { // Close context menu, if it was open before contextMenuClose(); // We enable the original context menu with the CTRL key if // then user selected to override it if (event.ctrlKey && prefs_context_override) { return true; } // We also enable the original one, if it is not overriden // and the user have not pressed the CTRL key else if (!event.ctrlKey && !prefs_context_override) { return true; } // Otherwise (overriden or overriden+CTRL) we display our menu else { // Rewrite contents of context menu contextMenuRewrite(false); // IE6+ is in standard compliant mode because of our !DOCTYPE // [ http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/doctype.asp ] // so we need to use the "html" tag instead of the "body" to measure scrolled distance. // For older browsers, we need to use the body. if (ie_version_major >= 6) { delement = document.body.parentElement; } else { delement = document.body; } // Find out if menu would be outside the window rightedge = delement.clientWidth - event.clientX; bottomedge = delement.clientHeight - event.clientY; // Shortcut for the context menu cmenu = document.all['contextMenu']; // Place menu to the right position, not to extend the window size if (rightedge < cmenu.offsetWidth) { cmenu.style.left = delement.scrollLeft + event.clientX - cmenu.offsetWidth; } else { cmenu.style.left = delement.scrollLeft + event.clientX; } if (bottomedge < cmenu.offsetHeight) { cmenu.style.top = delement.scrollTop + event.clientY - cmenu.offsetHeight; } else { cmenu.style.top = delement.scrollTop + event.clientY; } // Show menu cmenu.style.visibility = "visible"; return false; } } // Closes the context menu [called when the time is out] function contextMenuClose() { // Hide context menu document.all['contextMenu'].style.visibility = "hidden"; } // Sets timeout for menu close [called by document onclick event] function contextMenuCloseTimeout() { // Support for form focus event (form in context menu) if (document.activeElement.tagName != 'INPUT') { setTimeout('contextMenuClose()', 100); } } // ============================================================================= // Example clipboard copy links // Copy an example from a HTML container with id "example_" + number [called // when a user clicks on that copy link] function copyExample(number) { // moveToElementText is only supported in IE5 and up if (ie_version_major < 5) { alert("Example copy is not supported in this browser"); } else { BodyRange = document.body.createTextRange(); BodyRange.moveToElementText(document.all['example_' + number]); BodyRange.execCommand("Copy"); } } // ============================================================================= // Default skin functions // Display the page without online functions if they are disabled function defaultDisplayPage() { // Do not display online functions links if they are disabled if (!prefs_online) { document.all['navOnline'].style.display = 'none'; } // Show page container document.all['pageContent'].style.display = 'block'; } // ============================================================================= // Main JS program flow // Default vars for all the pages [generated] this_lang = 'en'; this_date = '2002-11-09'; // Vars for online menu of this particular page this_page = location.pathname.substring(location.pathname.lastIndexOf("/")+1); this_page_php = this_page.substring(0, this_page.lastIndexOf(".")) + '.php'; // Create the chmfile vars for this HTML page chmfile_fullname = ""; chmfile_name = ""; chmfile_path = ""; chmfile_page = ""; getCHMFile(); // Default values for preferences (no online functions, no // special context menu, low skin) prefs_online = false; prefs_context_override = false; prefs_skin = "Low"; // Support for selection sensitive context menus context_selrange = null; // Find out major and minor IE version number var ie_version_start = navigator.appVersion.indexOf("MSIE"); var ie_version_end = navigator.appVersion.indexOf(".", ie_version_start); ie_version_major = parseInt(navigator.appVersion.substring(ie_version_start+5, ie_version_end)); ie_version_minor = parseInt(navigator.appMinorVersion); // Get the preferences file from outside document.write('<script src="' + chmfile_path + 'php_manual_prefs.js"><'+ '/script>'); Index: phpdoc/htmlhelp/suppfiles/html/_skin_hi.js +++ phpdoc/htmlhelp/suppfiles/html/_skin_hi.js // This is an inline skin file for the "Hi" skin of the PHP Manual. // This file should be inside the Manual CHM file. // Get style sheet file document.write( // Get the lo style file '<link rel="stylesheet" type="text/css" href="_style_hi.css">' ); // Display the page to the user function displayPage() { defaultDisplayPage(); } Index: phpdoc/htmlhelp/suppfiles/html/_skin_lo.js +++ phpdoc/htmlhelp/suppfiles/html/_skin_lo.js // This is an inline skin file for the "Lo" skin of the PHP Manual. // This file should be inside the Manual CHM file. // Get style sheet file document.write( // Get the lo style file '<link rel="stylesheet" type="text/css" href="_style_lo.css">' ); // Display the page to the user function displayPage() { defaultDisplayPage(); } Index: phpdoc/htmlhelp/suppfiles/html/_style_hi.css +++ phpdoc/htmlhelp/suppfiles/html/_style_hi.css /* general body style */ body { background-color: #FFFFFF; color: #000000; margin: 0px 0px 0px 0px; } /* most of the page content use these fonts */ p, h1, h2, h3, h4, h5, td, tr, li, dt, dd, masterheader, .subheader, .formalhead, .seealso, .context, .codelink { font-family: Verdana, Arial, Helvetica, sans-serif; } /* most of the page text is 12px size */ p, h4, h5, td, tr, li, dt, dd, code, subheader, .formalhead, .seealso { font-size: 12px; } /* different size values for headings */ h1 { font-size: 18px; } h2 { font-size: 16px; } h3 { font-size: 14px; } /* black is the default color for all common text parts */ p, h1, h2, h3, h4, h5, code, formalhead, .subheader { /* HI (.masterheader deleted) */ color: #000000; } /* margin and style settings for headers */ h1, h2, h3, h4, h5, .formalhead { font-style: normal; font-weight: bold; margin-left: 10px; margin-top: 20px; } /* general paragraphs in text */ p { line-height: 16px; margin: 5px 10px 5px 10px; } /* .examplecode is used to print out PHP code, output, etc. .codelink is the link to copy the code to clipboard */ examplecode, .codelink { font-weight: normal; margin-right: 10px; margin-left: 10px; } examplecode { padding: 5px 5px 5px 50px; /* HI (20px => 50px) */ background-image: url(_code.gif); /* HI (new) */ background-repeat: no-repeat; /* HI (new) */ background-color: #dcdcdc; font-family: "Courier New", Courier, mono; } codelink { font-size: 10px; text-align: right; margin-bottom: 5px; } /* table rows and cells */ td, tr { font-style: normal; font-weight: normal; } /* colors for table rows and cells */ td { background-color: #DDDDDD; } tr { background-color: #CCCCCC; } /* list type elements */ li, dt { margin-bottom: 5px; } ul, dl { margin-top: 10px; margin-bottom: 10px; } dl dt, dt dl, dd dl, dl dd { margin-left: 10px; } /* for tables used to contain data */ datatable { margin-right: 20px; margin-left: 20px; } /* the absolute master header of a page */ masterheader { /* HI (borders deleted) */ font-size: 24px; /* HI (18px => 24px) */ font-weight: bold; background-color: #666699; /* HI (9999FF => 666699) */ padding: 10px 5px 10px 20px; /* HI (changed) */ margin: 0px 0px 0px 0px; color: #FFFFFF; /* HI (new) */ background-image: url(_masterheader.jpg); /* HI (new) */ background-repeat: repeat-x; /* HI (new) */ } /* subheader used on function and class pages */ subheader { font-style: normal; font-weight: bold; background-color: #DDDDFF; margin: 0px 0px 15px 0px; /* HI (changed) */ padding: 8px 5px 8px 20px; /* HI (changed) */ line-height: 20px; /* HI (changed) */ background-image: url(_subheader.gif); /* HI (new) */ background-repeat: repeat-x; /* HI (new) */ border-color: black black #666666; /* HI (new) */ border-style: solid; /* HI (new) */ border-width: 0px 0px 1px 0px; /* HI (new) */ } /* navigational table at the bottom of the pages */ navigation { background-color: #DDDDDD; border-color: #666666 black black; border-style: solid; border-width: 1px 0px 0px 0px; margin-top: 20px; } /* admonitional blocks */ note, .warning, .caution { margin: 20px 20px 20px 20px; border: 1px #333333 solid; border-style: solid; border-width: 1px 1px 1px 1px; padding: 5px 5px 5px 50px; /* HI (10 => 50) */ } note { background-image: url(_note.gif); /* HI (new) */ background-repeat: no-repeat; /* HI (new) */ } /* color for warning and caution boxes */ warning, .caution { background-color: #FFFF99; background-image: url(_warning.gif); /* HI (new) */ background-repeat: no-repeat; /* HI (new) */ } /* paragraphs inside notes */ note, .warning, .caution, .note p, .warning p, .caution p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; } /* see also lists, usually at the bottom of pages */ seealso { font-style: normal; font-weight: normal; color: #000000; background-color: #DDDDFF; margin: 20px 20px 0px 20px; /* HI (changed) */ padding: 5px 5px 5px 15px; /* HI (10px => 15px) */ } /* user note header text */ unheader { background-color: #CCCCCC; padding: 2px 10px 2px 15px; /* HI (changed) */ margin-bottom: 1px; margin-top: 5px; /* HI (new) */ } /* user note text */ untext { background-color: #DDDDDD; margin-top: 0px; margin-bottom: 10px; padding: 2px 10px 5px 15px; /* HI (changed) */ } /* colors for color code highliting */ cs { color: #CC0000 } /* string */ cc { color: #b8860b } /* comment */ ck { color: #006600 } /* keyword */ cd { color: #0000CC } /* default */ /* Style elements for the context menu */ context { font-size: 12px; color: #000000; margin: 2px 2px 2px 3px; line-height: 16px; } #contextMenu { position: absolute; width: 150; border: 1px solid #000000; visibility: hidden; background-color: #f5f5f5; } /* Form elements (used in context menu) */ form.thin { margin-bottom: 0px; margin-top: 0px; } /* Author group on frontpage */ div.authorgroup { text-align: center; } Index: phpdoc/htmlhelp/suppfiles/html/_style_lo.css +++ phpdoc/htmlhelp/suppfiles/html/_style_lo.css /* general body style */ body { background-color: #FFFFFF; color: #000000; margin: 0px 0px 0px 0px; } /* most of the page content use these fonts */ p, h1, h2, h3, h4, h5, td, tr, li, dt, dd, masterheader, .subheader, .formalhead, .seealso, .context, .codelink { font-family: Verdana, Arial, Helvetica, sans-serif; } /* most of the page text is 12px size */ p, h4, h5, td, tr, li, dt, dd, code, subheader, .formalhead, .seealso { font-size: 12px; } /* different size values for headings */ h1 { font-size: 18px; } h2 { font-size: 16px; } h3 { font-size: 14px; } /* black is the default color for all common text parts */ p, h1, h2, h3, h4, h5, code, .masterheader, formalhead, .subheader { color: #000000; } /* margin and style settings for headers */ h1, h2, h3, h4, h5, .formalhead { font-style: normal; font-weight: bold; margin-left: 10px; margin-top: 20px; } /* general paragraphs in text */ p { line-height: 16px; margin: 5px 10px 5px 10px; } /* .examplecode is used to print out PHP code, output, etc. .codelink is the link to copy the code to clipboard */ examplecode, .codelink { font-weight: normal; margin-right: 10px; margin-left: 10px; } examplecode { padding: 5px 5px 5px 20px; background-color: #dcdcdc; font-family: "Courier New", Courier, mono; } codelink { font-size: 10px; text-align: right; margin-bottom: 5px; } /* table rows and cells */ td, tr { font-style: normal; font-weight: normal; } /* colors for table rows and cells */ td { background-color: #DDDDDD; } tr { background-color: #CCCCCC; } /* list type elements */ li, dt { margin-bottom: 5px; } ul, dl { margin-top: 10px; margin-bottom: 10px; } dl { margin-left: 10px; } /* for tables used to contain data */ datatable { margin-right: 20px; margin-left: 20px; } /* the absolute master header of a page */ masterheader { font-size: 18px; font-weight: bold; background-color: #9999FF; padding: 5px 5px 5px 10px; border-color: black black #6666CC; border-style: solid; border-width: 0px 0px 1px 0px; margin: 0px 0px 0px 0px; } /* subheader used on function and class pages */ subheader { font-style: normal; font-weight: bold; background-color: #DDDDFF; margin: 0px 0px 5px 0px; padding: 5px 5px 5px 10px; line-height: 18px; } /* navigational table at the bottom of the pages */ navigation { background-color: #DDDDDD; border-color: #666666 black black; border-style: solid; border-width: 1px 0px 0px 0px; margin-top: 20px; } /* admonitional blocks */ note, .warning, .caution { margin: 20px 20px 20px 20px; border: #333333; border-style: solid; border-width: 1px 1px 1px 1px; padding: 5px 5px 5px 10px; } /* color for warning and caution boxes */ warning, .caution { background-color: #FFFF99 } /* paragraphs inside notes */ note, .warning, .caution, .note p, .warning p, .caution p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; } /* see also lists, usually at the bottom of pages */ seealso { font-style: normal; font-weight: normal; color: #000000; background-color: #DDDDFF; margin: 20px 0px 0px 0px; padding: 5px 5px 5px 10px; } /* user note header text */ unheader { background-color: #CCCCCC; padding: 1px 10px 1px 5px; margin-bottom: 1px } /* user note text */ untext { background-color: #DDDDDD; margin-top: 0px; padding: 2px 10px 2px 5px; } /* colors for color code highliting */ cs { color: #CC0000 } /* string */ cc { color: #b8860b } /* comment */ ck { color: #006600 } /* keyword */ cd { color: #0000CC } /* default */ /* Style elements for the context menu */ context { font-size: 12px; color: #000000; margin: 2px 2px 2px 3px; line-height: 16px; } #contextMenu { position: absolute; width: 150; border: 1px solid #000000; visibility: hidden; background-color: #f5f5f5; } /* Form elements (used in context menu) */ form.thin { margin-bottom: 0px; margin-top: 0px; } /* Author group on frontpage */ div.authorgroup { text-align: center; } Index: phpdoc/htmlhelp/suppfiles/notes/_index.html +++ phpdoc/htmlhelp/suppfiles/notes/_index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>PHP Manual - User Notes</title> </head> <body> <p> The objective of this file is to store PHP Manual User Notes on your machine. This file is not intended to be used for viewing. </p> <p> Please put this file into the directory of your local php_manual_LANG.chm, and so you will be able to read user notes viewing that file. </p> </body> </html> Index: phpdoc/htmlhelp/suppfiles/notes/_style.css +++ phpdoc/htmlhelp/suppfiles/notes/_style.css body { background-color: #FFFFFF; color: #000000; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px} unheader { background-color: #CCCCCC; padding-left: 5px; padding-top: 1px; padding-right: 10px; padding-bottom: 1px; margin-bottom: 1px} untext { background-color: #DDDDDD; margin-top: 0px; padding-top: 2px; padding-right: 10px; padding-bottom: 2px; padding-left: 5px} Index: phpdoc/htmlhelp/suppfiles/prefs/context.ini +++ phpdoc/htmlhelp/suppfiles/prefs/context.ini # ================================================= # PHP Manual CHM version context menu configuration # ================================================= # Genaral functions # ----------------- [context_item] display = "Copy selection to clipboard" implementation = "copySelection()" [context_item] display = "Select all" implementation = "selectAll()" [context_item] display = "Print page" implementation = "print()" [context_item] display = "Back" implementation = "back()" [context_item] display = "Forward" implementation = "forward()" [context_item] display = "Refresh" implementation = "refresh()" # Page jump options # ----------------- [context_item] display = "Manual TOC" implementation = "index.html" [context_item] display = "Function Reference" implementation = "funcref.html" [context_item] display = "HTML Help Edition" implementation = "chmonly.html" [context_item] display = "Functions Index" implementation = "indexes.html" [context_item] display = "PHP-GTK home" implementation = "http://gtk.php.net/" [context_item] display = "PEAR home" implementation = "http://pear.php.net/" # Search engine quickforms and selections # --------------------------------------- [context_item] display = "Google SearchBox" implementation = "_GoogleSearch_" [context_item] display = "Google Search Selection" implementation = "searchSelGoogle()" [context_item] display = "AlltheWeb SearchBox" implementation = "_ATWSearch_" [context_item] display = "AlltheWeb Search Selection" implementation = "searchSelATW()" Index: phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js +++ phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js prefs_online = true; prefs_mirror = "http://us.php.net/"; prefs_context_override = true; prefs_context_names = Array( "Manual TOC", "Function Reference", "Functions Index", "_Separator_", "Copy selection to clipboard", "Google Search Selection", "AlltheWeb SearchBox" ); prefs_context_values = Array( "index.html", "funcref.html", "indexes.html", "_Separator_", "copySelection()", "searchSelGoogle()", "_ATWSearch_" ); prefs_skin = "Low"; prefHandler(); Index: phpdoc/htmlhelp/suppfiles/quickref/php_manual.ico +++ phpdoc/htmlhelp/suppfiles/quickref/php_manual.ico h& ¨ Ž( @pggpggpggpggpggpggpggpggpggpggpggpgg°uh­pcªn`¨k]¦i[£gY¡fX eXždWœcVšaU˜`Tpggµ|oÿÌÌÿÊÊÿÉÉÿÈÈÿÇÇÿÆÆÿÄÄÿÃÃÿÂÂÿÁÁ›bVpggº‚uÿÏÏÿÍÍÿÌÌÿÌÌÿËËÿÊÊÿÈÈÿÇÇÿÆÆÿÅŞdWpgg¿Š~ÿÏÏÿÏÏÿÏÏÿÏÏÿÎÎÿÍÍÿÌÌÿËËÿÊÊÿÉÉ¢gYpggÉ¥žÍ•²vjªl_¤eV£cU­pb·™“¹†ÆŠä­©¨k]pgg§¡¡.12·Œ‚·‚v³v³„z²sƝ”²s.12µˆ~¶€t©k]pggæÒΖzs-13.12XSSÇ¥.12Ç­¦.12Ç¥.12.12YTTµ…z‰g_ڐ©„|8::Ô¸².12Ô¸².12Ç¥.12Ô¸².12Ö¹³.12‡pj¢l`àÉÄ´†|.12†….12Ô¸².12‘ˆ….12Ô¸².12˜ŽŒ.12†oj“kdÕ¸±YTT.12Švq¿”‰.12.12‘|w¿—YTT.12Švq¶‚vrgfО“Ç”Š²ug°rc.12¨‘Œ´sd¤dV²uh́ڭ¦Å…pggê¿¶ýìëïÕÒÞ¼·×±ªÌ¡™Í¡™Û´®Ê—‹Ï’Μ‘˘ïÇ¿ÿóóÿññÿððÿïïÿîîÿííÿëëÚ«¡ÿÛÛÿÛÛΜ‘òÊÂÿ÷÷ÿõõÿôôÿóóÿòòÿññÿïïß²¨ÿääΜ‘òÊÂòÊÂòÊÂñÉÁïÆ¾ìº龵滲丮Μ‘àÿÿÀÿÿÀÿÿÀÿÿÀÿÿÀÿÿ€ÿÿÿÿÿÿÿÿ€ÿÿÀÿÿÀÿÿÀÿÿÀÿÿÀÿÿ( @€ ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss«na©l^§j\¥hZ¤hZ£gY¡fX eWždWcVœcVœcVœcV›bU™aT˜`S–_S•^R”^Q“]P’]P\O[Osss¯tfÿ½½ÿ¼¼ÿ¼¼ÿ»»ÿººÿ¹¹ÿ¸¸ÿ¸¸ÿ··ÿ¶¶ÿ¶¶ÿµµÿ´´ÿ³³ÿ²²ÿ²²ÿ±±ÿ±±ÿ¯¯ÿ®®ÿ®®’]Psss²xjÿ¿¿ÿ¾¾ÿ¾¾ÿ½½ÿ¼¼ÿ¼¼ÿ»»ÿ»»ÿ¹¹ÿ¸¸ÿ¸¸ÿ··ÿ··ÿ¶¶ÿµµÿ´´ÿ³³ÿ³³ÿ²²ÿ±±ÿ±±”^Qsss³ylÿÂÂÿÁÁÿÀÀÿ¿¿ÿ¾¾ÿ¾¾ÿ½½ÿ½½ÿ¼¼ÿ»»ÿ»»ÿººÿ¹¹ÿ¸¸ÿ··ÿ··ÿ¶¶ÿ¶¶ÿ´´ÿ³³ÿ³³–_Ssss´znô¼¼ç±±Ù¦¦ÑŸŸÍ››ÍššÌ™™Ì™™Ì˜˜Ì——Ì——Ì––Í——Í––ј˜Øæ¦¦ô°°ý¶¶ÿ¶¶ÿ¶¶™aTsssŸod¼““šxx€ccoUUhPPfNNdLLdLLdKKdKKdKKdKKfLLhMMoRR~]]šqq¼ŠŠÚžžñ®®ý··œcVsssqOF…\U^TŸeX¢gY¥h[¦i[¦i[¦i[¦i[¦i[¦i[¢dU bT`SŒWKrKDZ@>dJJˆdd³ƒƒÖ\PqqqŠ‰dUR‡`W¢fY¦i[¦i[¦i[¦i[¦i[¦i[¦i[¦i[¦i[¥gYªpbѲ«Ö¼¶Ù¾¸Ôµ®ªpb dW‚TKZ?<^FF€__jC:bbblllBCCª¢ °yl¥fX¦hZ¦i[¦i[¦iZ¥hZ¥hZ¥hZ¦i[¦i[¥hZ¥gY¥fXõè倆ˆIMN×ÚÚÁ‘†¢bT¦hZ¢gY†WMiGA<& EEE<<<„ƒƒÌ›ªj\ªk]£bT£cU¦i[§j\­pb«m_¥gY¦i[¨j\­pb¥eVåÉÃkno¥¨©Ý·¯©hYªl^¤dU£dV¦i[hB9(((¶£žddd``aË¿¼¼ª¦À©¤É¦ž¾‹€¿’ˆÜÌÈ»ª¦ÐÁ¾Æž”¹ˆ|ÛÌÈ»ª¦É·³òâÞ¤¤¤abbÑÉǼª¥¿©¤É¦ž»†z£dU¦hZY=7ZYY¸ž˜»ƒv›–• <@A¶²²äÆ¿ÑÑÑU[\îÛ×ÀŽƒÑÔÖILMÿÿÿÌÈÇ DHIÙ××Õ°¨¢cT¦i[pQJ¤nb¶}o¿¶´SSSNPP !åàßæáà !!çÜÚ½‰}ÙÓÒ ðêéÕÍÌFFFKMM !')*äää’‡£cU—bV¥gY¬pbÙÌÉ îëêÚº²Ï¹´_``sssÿÿÿ?@@ÌÊʏ„éÙÕ>AAËÇÆìæä !!ÄÀÀÞ¾·Ó¼·eefHLNÕ»µ¥eW¢gY¦iZ£cUîÝØGKKÆÆÅ¾‰|¿ˆzÖÖÕûûûsss¬°±É›‘ãÆÀors¤¤¤øîì211Œ‹½†y¶wh© Ÿ° ­n`¥hZ¦i[¡`RçÌÆuxy¤§§Þ¹°ÀŠ~èâá èè說ª{~~ߺ²à¼³¤¦¦oppþöôBAAaaaѦœ»~p¶§¤ “±rc¢hZµ…z¢bSÍ£™³µ¶SSS×ÔÓÅ¿½sss ÷øùÒÐÏ011ÏËËÆÁÀghhHIIÿÿÿife)**ÑÌËÇÁ¿mkk´¤¡­n_™h\¤fX¾‹ÕÔÓ ŠôâÝÏÄÁƒˆ‰ûé吉‡]cdÝý£dU¦ŽŠ¯vjçÞ܌xzzuwwvxx‚ƒ››Ñ¶¯°tgн¸$&'RRRwxy‚„„žœœÓ»¶½Š~ÓÊÈ{}~y{{uwxtvw‚„„¤ ŸÔ½·®{pmVP›×²ª×²ª×²ª×²ªÒª¡Âƒ¥fW¢`Qϰª578«¦¤åºӬ£Ã‘†¥eV£eWƜ“س«×²ª×²ªØ³«Ñ¨ž½ˆ|¥fY“dYgggºŽƒ¦i[¢bS¢bS¢bS£dU¦hZ£dUË —ACC…‚¼†yŸ]N£dU¦iZ¦i[¢cT¢bS¢bS¢bS¢bS¢cTªukͨ¥¹ˆ}rrrÖ¾¹°xk¦i[¦i[¦i[£dU¸…yÙÚÚÆÇÈåéêÈ¡˜¢aS¦i[¦i[¦i[¦i[¦i[¦i[©ti¾•Ý¼ºö××ýÝÝɖ‹sssìûçÍÊÉ¢š´vªre¨l_À„Å”‰¿Žƒ¯xk¥hY¦i[¦i[§nb®{q»‡Ó²®ðÕÕüááÿââÿááÿááːsssñÉÁÿòòÿññþïïòÝÜåËÇ×·²Ï¬¦É¢›È¢›Ì©£Ó²­Ü¿»éÏÍùääýææÿççÿææÿææÿååÿääÿääːsssòÊÂÿòòÿòòÿòòÿòòÿññÿññÿððÿððÿïïÿîîÿîîÿííÿììÿëëÿêêÿêêÙ©ŸØ¨žÖ¥›Ô£™Ò –О“òÊÂÿõõÿôôÿóóÿòòÿòòÿòòÿòòÿòòÿññÿððÿððÿïïÿïïÿîîÿííÿììÜ­¤À©w¶U´Pš~\òÊÂÿ÷÷ÿööÿööÿõõÿôôÿóóÿòòÿòòÿòòÿòòÿòòÿññÿññÿððÿïïÿïï೩ƫˆ½žlŸˆmòÊÂÿúúÿùùÿøøÿ÷÷ÿööÿööÿõõÿõõÿóóÿòòÿòòÿòòÿòòÿòòÿññÿññ丯˿™ŸˆmòÊÂÿüüÿûûÿûûÿúúÿùùÿøøÿ÷÷ÿ÷÷ÿööÿõõÿõõÿôôÿóóÿòòÿòòÿòòç¼³¯£òÊÂòÊÂòÊÂòÊÂòÊÂòÊÂòÊÂòÊÂòÊÂòÊÂòÊÂñÉÁðÈÀïÆ¾íÄ»ëÁ¸é¾¶è½µÿÿÿÿþþþþþþþþðÀÀ€€Ààðüþþþþþþþ?þ Index: phpdoc/htmlhelp/suppfiles/quickref/php_quickref.hta +++ phpdoc/htmlhelp/suppfiles/quickref/php_quickref.hta <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <hta:application id="phpmanqr" applicationname="PHP Manual Quickref" border="dialog" contextmenu="no" icon="php_manual.ico" innerborder="no" maximizebutton="no" scroll="no" selection="no" version="1.0" > <script language="JavaScript" type="text/javascript"> window.resizeTo(240,100); function quickRef(form) { funcpage = "function." + form.lookup.value.replace(/_/g, "-") + ".html"; hta_path = unescape(location.href.substring(8, location.href.lastIndexOf("/")+1)); window.showHelp('file:///' + hta_path + 'php_manual_en.chm::/' + funcpage); return false; } </script> <style type="text/css"> body { border: 10; margin: 10; background: buttonface; font-family: Verdana, Arial, Helvetica; font-size: 10pt; text-align : center; vertical-align : middle; } </style> <title>PHP Manual Quickref</title> </head> <body> <form onsubmit="return quickRef(this)"> Function: <input type="text" name="lookup"><br> <input type="submit" value="Show manual page"> </form> </body> </html> Index: phpdoc/htmlhelp/suppfiles/skins/GreenLinks/skin.js +++ phpdoc/htmlhelp/suppfiles/skins/GreenLinks/skin.js // This is a sample skin for the CHM edition of the PHP Manual. // This skin should be in a "skins/greenlinks" subdir of the folder // containing the CHM (as assumed by the CSS loader in this file) // This skin is only here to demonstrate how to modify // CSS properties for your working pleasure. The style sheet // presented is the same as the 'low' sheet, except that // all the link are green, just to prove that you see a // different style sheet in action. // Feel free to play with the styles, the commets should help you // to get started. Please submit any nice skins to the php-doc-chm // mailing list <php-doc-chm@lists.php.net>. Thanks. // Get style sheet file document.write( // Get our style file '<link rel="stylesheet" type="text/css" href="' + chmfile_path + 'skins/greenlinks/style.css">' ); // Display the page to the user function displayPage() { defaultDisplayPage(); } Index: phpdoc/htmlhelp/suppfiles/skins/GreenLinks/style.css +++ phpdoc/htmlhelp/suppfiles/skins/GreenLinks/style.css /* THIS IS THE ONLY DIFFERENCE BETWEEN THIS CSS AND THE LOW ONE */ a { color: #006400; } /* general body style */ body { background-color: #FFFFFF; color: #000000; margin: 0px 0px 0px 0px; } /* most of the page content use these fonts */ p, h1, h2, h3, h4, h5, td, tr, li, dt, dd, masterheader, .subheader, .formalhead, .seealso, .context, .codelink { font-family: Verdana, Arial, Helvetica, sans-serif; } /* most of the page text is 12px size */ p, h4, h5, td, tr, li, dt, dd, code, subheader, .formalhead, .seealso { font-size: 12px; } /* different size values for headings */ h1 { font-size: 18px; } h2 { font-size: 16px; } h3 { font-size: 14px; } /* black is the default color for all common text parts */ p, h1, h2, h3, h4, h5, code, .masterheader, formalhead, .subheader { color: #000000; } /* margin and style settings for headers */ h1, h2, h3, h4, h5, .formalhead { font-style: normal; font-weight: bold; margin-left: 10px; margin-top: 20px; } /* general paragraphs in text */ p { line-height: 16px; margin: 5px 10px 5px 10px; } /* .examplecode is used to print out PHP code, output, etc. .codelink is the link to copy the code to clipboard */ examplecode, .codelink { font-weight: normal; margin-right: 10px; margin-left: 10px; } examplecode { padding: 5px 5px 5px 20px; background-color: #dcdcdc; font-family: "Courier New", Courier, mono; } codelink { font-size: 10px; text-align: right; margin-bottom: 5px; } /* table rows and cells */ td, tr { font-style: normal; font-weight: normal; } /* colors for table rows and cells */ td { background-color: #DDDDDD; } tr { background-color: #CCCCCC; } /* list type elements */ li, dt { margin-bottom: 5px; } ul, dl { margin-top: 10px; margin-bottom: 10px; } dl { margin-left: 10px; } /* for tables used to contain data */ datatable { margin-right: 20px; margin-left: 20px; } /* the absolute master header of a page */ masterheader { font-size: 18px; font-weight: bold; background-color: #9999FF; padding: 5px 5px 5px 10px; border-color: black black #6666CC; border-style: solid; border-width: 0px 0px 1px 0px; margin: 0px 0px 0px 0px; } /* subheader used on function and class pages */ subheader { font-style: normal; font-weight: bold; background-color: #DDDDFF; margin: 0px 0px 5px 0px; padding: 5px 5px 5px 10px; line-height: 18px; } /* navigational table at the bottom of the pages */ navigation { background-color: #DDDDDD; border-color: #666666 black black; border-style: solid; border-width: 1px 0px 0px 0px; margin-top: 20px; } /* admonitional blocks */ note, .warning, .caution { margin: 20px 20px 20px 20px; border: #333333; border-style: solid; border-width: 1px 1px 1px 1px; padding: 5px 5px 5px 10px; } /* color for warning and caution boxes */ warning, .caution { background-color: #FFFF99 } /* paragraphs inside notes */ note, .warning, .caution, .note p, .warning p, .caution p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; } /* see also lists, usually at the bottom of pages */ seealso { font-style: normal; font-weight: normal; color: #000000; background-color: #DDDDFF; margin: 20px 0px 0px 0px; padding: 5px 5px 5px 10px; } /* user note header text */ unheader { background-color: #CCCCCC; padding: 1px 10px 1px 5px; margin-bottom: 1px } /* user note text */ untext { background-color: #DDDDDD; margin-top: 0px; padding: 2px 10px 2px 5px; } /* colors for color code highliting */ cs { color: #CC0000 } /* string */ cc { color: #b8860b } /* comment */ ck { color: #006600 } /* keyword */ cd { color: #0000CC } /* default */ /* Style elements for the context menu */ context { font-size: 12px; color: #000000; margin: 2px 2px 2px 3px; line-height: 16px; } #contextMenu { position: absolute; width: 150; border: 1px solid #000000; visibility: hidden; background-color: #f5f5f5; } /* Form elements (used in context menu) */ form.thin { margin-bottom: 0px; margin-top: 0px; } /* Author group on frontpage */ div.authorgroup { text-align: center; } Index: phpdoc/htmlhelp/suppfiles/skins/HeaderNostalgia/skin.js +++ phpdoc/htmlhelp/suppfiles/skins/HeaderNostalgia/skin.js // This is a sample skin for the CHM edition of the PHP Manual. // This skin should be in a "skins/headernostalgia" subdir of the folder // containing the CHM (as assumed by the CSS and image loaders in this file) // This skin is only here to demonstrate how to modify the layout // and CSS properties for your working pleasure. This skin is named // "headernostalgia" because it presents the header used in the early // days of this edition. // Feel free to play with this skin, the commets should help you // to get started. Please submit any nice skins to the php-doc-chm // mailing list <php-doc-chm@lists.php.net>. Thanks. // Get style sheet file document.write( // Get our style file '<link rel="stylesheet" type="text/css" href="' + chmfile_path + 'skins/headernostalgia/style.css">' ); // Display the page function displayPage() { // Find out if this is a function page or not if (document.all['funcPurpose']) { funcpage = true; } else { funcpage = false; } // This is the path where files should be searched skinpath = chmfile_path + 'skins/headernostalgia/'; // Build header (depends on function info) skinBuildHeader(funcpage, skinpath); // Remove navigational table completely document.all['pageNav'].innerHTML = ''; // Show page container document.all['pageContent'].style.display = 'block'; } // Build the header of the skin function skinBuildHeader(funcpage, skinpath) { // Get page elements title = document.all['pageTitle'].innerHTML; path = document.all['navPath'].innerHTML; thisonline = document.all['navThisOnline'].innerHTML; reportbug = document.all['navReportBug'].innerHTML; // Do some reformatting to the path path = path.replace(/:/g, "&raquo;"); // Decide what to print into online functions space if (prefs_online) { online_funcs = thisonline + '&nbsp;|&nbsp;' + reportbug; } else { online_funcs = "Online functions are disabled in your preferences"; } // General table to the top of the page pageHeader = '<div id="navLinkPath" style="position: absolute; top: 50px; left: 154px; z-index: 2; height: 20px; visibility: visible;">' + '<div class="navmenu"><nobr>' + path + '</nobr></div>' + '</div>' + '<div id="navOnlineMenu" style="position: absolute; top: 50px; left: 154px; z-index: 2; height: 20px; visibility: hidden;">' + '<div class="navmenu"><nobr>' + online_funcs + '</nobr></div>' + '</div>' + '<table border="0" cellpadding="0" cellspacing="0" width="100%">' + '<tr><td><img src="' + skinpath + 'phpdoc_php.png" width="148" height="46" border="0" usemap="#phpdoc_php"></td>' + '<td background="' + skinpath + 'phpdoc_upback.png" height="46" width="100%" valign="middle"><nobr><h1>' + title + '</h1></nobr></td></tr>' + '<tr><td><img src="' + skinpath + 'phpdoc_menu.png" width="148" height="23" border="0" usemap="#phpdoc_menu"></td>' + '<td background="' + skinpath + 'phpdoc_midback.png" height="23" width="100%">&nbsp;</td></tr>' + '<tr><td><img src="' + skinpath + 'phpdoc_bellowmenu.png" width="148" height="16" border="0"></td>' + '<td background="' + skinpath + 'phpdoc_bottomback.png" height="16" width="100%">&nbsp;</td></tr></table>' + '<map name="phpdoc_php">' + '<area shape="rect" coords="5,1,91,44" href="index.html" alt="Manual TOC">' + '</map>' + '<map name="phpdoc_menu">' + '<area shape="poly" coords="3,4,41,4,41,20,3,20,3,4" href="#" alt="Path to this page" onclick="skinShowMenu(navLinkPath, this)">' + '<area shape="poly" coords="44,4,92,4,92,20,44,20,44,4" href="#" alt="Online functions" onclick="skinShowMenu(navOnlineMenu, this)">' + '<area shape="poly" coords="96,4,141,4,141,20,96,20,96,4" href="#_user_notes" alt="User notes">' + '</map>'; // If this is a function page, show those headers too if (funcpage) { usage = document.all['funcUsage'].innerHTML; purpose = document.all['funcPurpose'].innerHTML; avail = document.all['funcAvail'].innerHTML; pageHeader += '<div class="funcinfo"><table class="functable">' + '<tr><td class="funchead">Usage:</td><td>' + usage + '</td></tr>' + '<tr><td class="funchead">Purpose:</td><td>' + purpose + '</td></tr>' + '<tr><td class="funchead">Availability:</td><td>' + avail + '</td></tr></table></div>'; } document.all['pageHeaders'].innerHTML = pageHeader; actualmenu = document.all['navLinkPath']; } // Show one menu, and hide the actual one, if possible function skinShowMenu(menuobj, link) { actualmenu.style.visibility = "hidden"; actualmenu = menuobj; actualmenu.style.visibility = "visible"; link.blur(); } Index: phpdoc/htmlhelp/suppfiles/skins/HeaderNostalgia/style.css +++ phpdoc/htmlhelp/suppfiles/skins/HeaderNostalgia/style.css /* general body style */ body { background-color: #FFFFFF; color: #000000; margin: 0px 0px 0px 0px; } /* most of the page content use these fonts */ p, h1, h2, h3, h4, h5, td, tr, li, dt, dd, masterheader, .subheader, .formalhead, .seealso, .context, .codelink, .navmenu { font-family: Verdana, Arial, Helvetica, sans-serif; } /* most of the page text is 12px size */ p, h4, h5, td, tr, li, dt, dd, code, subheader, .formalhead, .seealso, .navmenu { font-size: 12px; } /* different size values for headings */ h1 { font-size: 18px; } h2 { font-size: 16px; } h3 { font-size: 14px; } /* black is the default color for all common text parts */ p, h1, h2, h3, h4, h5, code, .masterheader, formalhead, .subheader { color: #000000; } /* margin and style settings for headers */ h2, h3, h4, h5, .formalhead { font-style: normal; font-weight: bold; margin-left: 10px; margin-top: 20px; } /* SPECIAL MARGIN FOR HEADERS */ h1 { font-style: normal; font-weight: bold; color: #ffffff; margin-top: 0px; margin-bottom: 0px; } /* DISPLAY FOR FUNCTION INFO */ funcinfo { border: #333333; border-style: solid; border-width: 1px 1px 1px 1px; padding: 5px 5px 5px 10px; margin: 5px 20px 20px 20px; background-color: #f5f5f5; } functable td { background-color: #f5f5f5; } functable td.funchead { font-weight: bold; text-align: right; } /* SPECIAL MARKING OF PROTO PARTS */ funcreturntype, .funcparamtype { font-style: italic; } /* GENERAL LINK COLORS */ a { color: #00008b; } /* general paragraphs in text */ p { line-height: 16px; margin: 5px 10px 5px 10px; } /* .examplecode is used to print out PHP code, output, etc. .codelink is the link to copy the code to clipboard */ examplecode, .codelink { font-weight: normal; margin-right: 10px; margin-left: 10px; } examplecode { padding: 5px 5px 5px 20px; background-color: #dcdcdc; font-family: "Courier New", Courier, mono; } codelink { font-size: 10px; text-align: right; margin-bottom: 5px; } /* table rows and cells */ td, tr { font-style: normal; font-weight: normal; } /* colors for table rows and cells */ td { background-color: #DDDDDD; } tr { background-color: #CCCCCC; } /* list type elements */ li, dt { margin-bottom: 5px; } ul, dl { margin-top: 10px; margin-bottom: 10px; } dl { margin-left: 10px; } /* for tables used to contain data */ datatable { margin-right: 20px; margin-left: 20px; } /* admonitional blocks */ note, .warning, .caution { margin: 20px 20px 20px 20px; border: #333333; border-style: solid; border-width: 1px 1px 1px 1px; padding: 5px 5px 5px 10px; } /* color for warning and caution boxes */ warning, .caution { background-color: #FFFF99 } /* paragraphs inside notes */ note, .warning, .caution, .note p, .warning p, .caution p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; } /* see also lists, usually at the bottom of pages */ seealso { font-style: normal; font-weight: normal; color: #000000; background-color: #DDDDFF; margin: 20px 0px 0px 0px; padding: 5px 5px 5px 10px; } /* user note header text */ unheader { background-color: #CCCCCC; padding: 1px 10px 1px 5px; margin-bottom: 1px } /* user note text */ untext { background-color: #DDDDDD; margin-top: 0px; padding: 2px 10px 2px 5px; } /* colors for color code highliting */ cs { color: #CC0000 } /* string */ cc { color: #b8860b } /* comment */ ck { color: #006600 } /* keyword */ cd { color: #0000CC } /* default */ /* Style elements for the context menu */ context { font-size: 12px; color: #000000; margin: 2px 2px 2px 3px; line-height: 16px; } #contextMenu { position: absolute; width: 150; border: 1px solid #000000; visibility: hidden; background-color: #f5f5f5; } /* Form elements (used in context menu) */ form.thin { margin-bottom: 0px; margin-top: 0px; } /* Author group on frontpage */ div.authorgroup { text-align: center; }
« previous php.doc (#969350401) next »