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 @@ "> - + + + + + + + + + + + - + - -
Internet Archive BookReader
- -
Internet Archive Bookreader
- + +//
Internet Archive BookReader
+// +//
Internet Archive Bookreader
+// +*/ +?> + +
Internet Archive BookReader
- - - -
-
-

- -

-
-
- Search results -
-
- - -
-
- Internet Archive -
- -
- - - + // Usage stats + if(window.archive_analytics) { window.archive_analytics.values['bookreader'] = 'open'}; .*?)/(?P' . $operators . ')/(?P.*)#'; + $pattern = '#(?P.*?)/(?P' . $operators . ')/(?P.*)#'; if (preg_match($pattern, $path, $matches) === 1) { - $parts['subPrefix'] = $matches['subPrefix']; + $parts['subPrefix'] = substr($matches['subPrefix'], 1); // remove leading '/' $parts['operator'] = $matches['operator']; $parts['operand'] = $matches['operand']; } else {