Monday, November 08, 2010 at 12:04 AM.

on settings () {
		<<9/8/02; 3:56:17 PM by JES
			<<Add the title to the settings pages.
		<<6/12/02; 3:57:59 PM by JES
			<<Created. Hard-wired to browse the prefs in English. Later when language is an option this can be beefed-up. (DW)
	local (pta = html.getPageTableAddress ());
	pta^.title = "Settings";
	local (adroutline =;
	bundle { //set the <%title%> in the <head> section of the page
		case typeOf (pta^.pageHeader) {
			addressType {
				pta^.pageHeader = string.replace (pta^.pageHeader^, "<%title%>", pta^.title)}}
		else {
			pta^.pageHeader = string.replace (string (pta^.pageHeader), "<%title%>", pta^.title)};
		case typeOf (pta^.template) {
			addressType {
				table.assign (@pta^.template, string (pta^.template^))}}
		else {
			table.assign (@pta^.template, string (pta^.template))};
		pta^.template = string.replace (pta^.template, "<%title%>", pta^.title);
		pta^.flIndirectTemplate = false};
	local (htmltext = radio.prefs.browser (adroutline));
	return (htmltext)}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.