Fixed a number of bugs found by Janine, and made the index page more helpful when starting out. Also made the entry-edit page require a screen name to be set if we're in DisplayUserP mode.
Made the installation single-checkbox, so you don't have separate 'install' and 'enable' checboxes. Who the hell wants to install a package and not enable it, anyway?
1. Added -unclobber switch to db_multirow.2. Added peek-ahead to db_multirow, which enables you to do something similar to the templating system's <group> tag when building up a multirow. See documentation to db_multirow_group_last_row_p for details.3. Untabified the whole buffer, which, unfortunately, makes the concrete changes I've made totally obscure. Sorry.
Worked around a Tcl'ism, where if you lappend the empty string, you actually get a list with one element, which is the emptry string. I ran into this with a :multiple variable, when passed an empty string, which is normally taken to mean 'no value'
Made the redirect for registration redirect to the current subsite's register page. Also added ad_get_login_url and ad_get_logout_url procs to let you get the URL for login/logout, which direct the user to the current subsite's pages, and, optionally, can preseve the current page, including query variables/form.
Suppress form errors when the form is refreshing, as opposed to submitting. We don't want the form to be filled with annoying errors when the user didn't even pretend to be done filling out the form.
Make ad_pvt_home and acs_community_member_url return the URL of those pages in the current subsite, so that the subsite's master template is used, instead of the site-wide master template