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 thanspit 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 retirementas it assumes you have an "<li>" in each error list element if there's more thanone 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_complaintto stuff the error list into a multirow (my "complain" template, used by"ad_page_contract", does the <li> tags itself - something a site designercan change, the whole point of templating this).
Show less