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

system.verbs.builtins.radio.macros.supportCenter

<<Changes
	<<7/23/04; 1:00:24 PM by SK
		<<Removed tables and replaced with paragraph tags in prep for better theme support.
	<<11/14/01; 5:55:12 PM by DW
		<<Link to the help system.
	<<11/1/01; 10:49:50 AM by DW
		<<Use elements of radio.data.systemUrls instead of hard-coded URLs.
	<<10/26/01; 7:52:56 PM by DW
		<<Created.

bundle { //if static rendering, return the empty string
	local (pta = html.getpagetableaddress ());
	if pta^.radioResponder.flStaticRendering {
		return ("")}};
local (htmltext = "\r", indentlevel = 0);
on add (s) {
	htmltext = htmltext + string.filledstring ("\t", indentlevel) + s + "\r\n"};
on addrow (s) {
	<<add ("<tr><td><div class=\"small\">" + s + "</div></td></tr>")
		<<//7/23/04; 1:01:23 PM by SK--commented out to remove tables
	add ("<p>" + s + "</p>")};

add ("<b>" + radio.string.getlocalizedstring ("supportCenter.title") + ":</b> " + radio.userinterface.helplink ("Support Center"));
<<add ("<table cellpadding=\"0\" cellspacing=\"5\">"); indentlevel++
	<<//7/23/04; 1:01:23 PM by SK--commented out to remove tables

local (t);
bundle { //set up t
	new (tabletype, @t);
	t.dgurl = radio.data.systemUrls.discussionGroup;
	t.mailurl = radio.data.systemUrls.mailList;
	t.mailconfigurl = radio.data.systemUrls.emailConfiguration};
addrow (radio.string.getlocalizedstring ("supportCenter.message", @t));
<<add ("</table>"); indentlevel--
	<<//7/23/04; 1:01:23 PM by SK--commented out to remove tables

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.