After the last commit related to book processing as stated then I wanted to enable selection in the UI, this is that

Basically I created a new multiselect field on the site->edit screen that lists the possible books types that can be processed.  Those types are then used in the in clause in books.php instead of a static list.  This required a new option_mutliselect function for smarty and changes to the 2 template types as well as changes to site-edit.php to retrieve the correct information about the books.  Most of the issues (see code) is related to formatting of the site table list to an array and back again.  I also have a safety build in so after upgrading if no groups are selected it will default back to the original ebooks group, so that post upgrade no changes need to be made and no db patch is required for this to work.