X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReaderIA%2Finc%2FBookReader.inc;h=94f677335c7b6911568d98ac0c1d1be0589eb1c9;hb=9c27120483f991ca55ec8a6a0bfed2a819cd0c7c;hp=9f775a8fa231f358ba188067ad1e7b264d5f11be;hpb=edf2ea8da5d41dc94599c2fc59c077778f82a03f;p=bookreader.git
diff --git a/BookReaderIA/inc/BookReader.inc b/BookReaderIA/inc/BookReader.inc
index 9f775a8..94f6773 100644
--- a/BookReaderIA/inc/BookReader.inc
+++ b/BookReaderIA/inc/BookReader.inc
@@ -1,5 +1,17 @@
+/*
+ * 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 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.
+ */
+
class BookReader
{
@@ -87,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 = "r26a";
+ $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();
}
@@ -118,17 +131,40 @@ class BookReader
} /* uiMode */ ?>
-
+
+
+
+
+
+
+
+ if ( !preg_match("/mobile/i", $_SERVER['HTTP_USER_AGENT']) ) { ?>
+
+
+ } /* mobile user agent */ ?>
-