Widget:AddToTable

/* <![CDATA[ */ $(function { $.getScript("/skins/widgets/addToTable.js", function { window.weAddToTable(, {login: , button: , formtitle: , auto: , bottom: }); }); }); /* ]]> */
 * If logged in, display a button that pops up a form to add a row to the table specified by the id.
 * If not logged in, shows a link to the login page (which returns you to this page after login).

Parameters

 * tableid:XHTML id of the table
 * login:text for the login link displayed if user is not logged in
 * button:legend for the button that pops up the form
 * formtitle:title of the popup form dialog
 * auto:get legends from headings (default: false)
 * bottom:add to bottom of table (default: false)