X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReaderIA%2Finc%2FBookReader.inc;h=94f677335c7b6911568d98ac0c1d1be0589eb1c9;hb=9c27120483f991ca55ec8a6a0bfed2a819cd0c7c;hp=7c4b95153f9d6a01893fc26d5cd3940fc8f6b76e;hpb=6e1ee548edf612eb42edebc5525e23a43b9b0499;p=bookreader.git diff --git a/BookReaderIA/inc/BookReader.inc b/BookReaderIA/inc/BookReader.inc index 7c4b951..94f6773 100644 --- a/BookReaderIA/inc/BookReader.inc +++ b/BookReaderIA/inc/BookReader.inc @@ -1,11 +1,13 @@ /* - * - -/* + * Copyright(c) 2008-2010 Internet Archive. Software license AGPL version 3. + * + * This file is part of BookReader. The full source code can be found at GitHub: + * http://github.com/openlibrary/bookreader + * * Note: Edits to this file must pass through github. To submit a patch to this - * file please contact mang at archive dot org or http://github.com/mangtronix + * file please contact mang via http://github.com/mangtronix or mang at archive dot org * Direct changes to this file may get clobbered when the code is synchronized * from github. */ @@ -100,7 +102,8 @@ class BookReader $version = "r28"; if (BookReader::getDevHost($server)) { - // on dev host - add time to force reload + // On dev host - add time to force reload + // If debugging on IE, remove this line otherwise breakpoints will be invalid after reload $version .= '_' . time(); } @@ -128,18 +131,40 @@ class BookReader } /* uiMode */ ?> + - + + + + + + if ( !preg_match("/mobile/i", $_SERVER['HTTP_USER_AGENT']) ) { ?> + + + } /* mobile user agent */ ?> -
+ - if ($uiMode == 'full') { ?> -