donb
committed
on 07 Mar 04
Lars changed ad_page_contract to call the "complain" template rather than
spit out HTML directly. However he used a multirow, and while thi… Show more
Lars changed ad_page_contract to call the "complain" template rather than

spit out HTML directly.  However he used a multirow, and while this is nice,

it ain't what "complain" took.  I moved "complain" to "ad-return-complaint"

(to match the name of the Tcl proc that calls it) ... and created a new "complain"

that does the multirow thing.  "ad_return_complaint" is begging for retirement

as it assumes you have an "<li>" in each error list element if there's more than

one of them and also forces you to pass the number of error messages.

That's why I created a new template rather than rewrite ad_return_complaint

to stuff the error list into a multirow (my "complain" template, used by

"ad_page_contract", does the <li> tags itself - something a site designer

can change, the whole point of templating this).

Show less