I think there is a small omission in the display of /administrator/components/com_library/views/books/tmpl/modal.php
There is no opening php tag at the top, ie '<?php'
One other thing: being a novice, I find that I am not clear on just what file the getInput method is supposed to be in. I'm guessing from the context that it belongs in the same file as described above the method, ie admin/models/fields/modal/book.php, but it would be nice if you make that clear.
"In theory, there's no difference between theory and practice; in practice, there is" --Yogi Berra 09:05, 9 December 2011 (CST)