X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReaderIA%2Finc%2FBookReader.inc;h=94f677335c7b6911568d98ac0c1d1be0589eb1c9;hb=9c27120483f991ca55ec8a6a0bfed2a819cd0c7c;hp=8647e02a063e8998e787a0e0a10f9d4bd5c10699;hpb=91e7f0b0138ea3dfbd28702b869b866a1b2ce0bc;p=bookreader.git diff --git a/BookReaderIA/inc/BookReader.inc b/BookReaderIA/inc/BookReader.inc index 8647e02..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. */ @@ -97,10 +99,11 @@ class BookReader // manually update with Launchpad version number at each checkin so that browsers // do not use old cached version // see https://bugs.launchpad.net/gnubook/+bug/330748 - $version = "imageurls"; + $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,17 +131,40 @@ class BookReader } /* uiMode */ ?> - + + + + + + + + if ( !preg_match("/mobile/i", $_SERVER['HTTP_USER_AGENT']) ) { ?> + + + } /* mobile user agent */ ?> -
+ - if ($uiMode == 'full') { ?> -