Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.macros.weblogEditBox
on weblogEditBox (bgcolor=radio.data.htmlColors.cellBgColor) {
<<Changes
<<11/15/01; 1:31:04 AM by JES
<<If not the weblog editor page, return the empty string
<<10/29/01; 4:56:39 PM by JES
<<Added optional parameter, bgcolor.
local (pta = html.getpagetableaddress ());
bundle { //if static rendering, return the empty string
if pta^.radioResponder.flStaticRendering {
return ("")}};
bundle { //if not the weblog editor page, return the empty string
if not pta^.radioResponder.flStaticRendering {
if pta^.path != radio.data.systemUrls.weblogEditor {
return ("")}}};
return (radio.macros.weblogPostForm (bgcolor:bgcolor))}
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.