|
|
 |
 |
 |
manilaSuite.html.renderYear
This is a fix to ensure that the report showing all stories created ina year, uses localised month names. This page has a url such as <http://www.baylys.com:8080/2001/>.
Userland released a (better) fix for this problem on July 1st, 2002
| on renderYear (adrTable, category=nil) |
| |
«Render a stories list for an entire year. Formatting is like DaveNet stories lists. |
| |
local (pta = html.getPageTableAddress ()) |
| |
local (adrRoot = mainResponder.discuss.openRoot ()) |
| |
local (yearName = nameOf (adrTable^)) |
| |
local (adrYear = @pta^.adrSiteRootTable^.[yearName]) |
| |
local (baseUrl = manilaSuite.getSiteUrl (pta:pta)) |
| |
add ("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">") |
| |
for i = sizeOf (adrYear^) downTo 1 |
| |
htmlText = manilaSuite.unTaint (htmlText) //no curly brace macros in this text |
Relative to Frontier version 9.7b10
|