Commit graph

70 commits

Author SHA1 Message Date
Sébastien Lucas 32d4588cbd Merge pull request #61 from wogong/master
add Chinese localization file and add charset setting
2013-05-07 05:10:35 -07:00
Sébastien Lucas 700c27e0fc Move Fancybox to the resources directory.
--HG--
rename : fancybox/blank.gif => resources/fancybox/blank.gif
rename : fancybox/fancybox_loading.gif => resources/fancybox/fancybox_loading.gif
rename : fancybox/fancybox_overlay.png => resources/fancybox/fancybox_overlay.png
rename : fancybox/fancybox_sprite.png => resources/fancybox/fancybox_sprite.png
rename : fancybox/helpers/fancybox_buttons.png => resources/fancybox/helpers/fancybox_buttons.png
rename : fancybox/helpers/jquery.fancybox-buttons.css => resources/fancybox/helpers/jquery.fancybox-buttons.css
rename : fancybox/helpers/jquery.fancybox-buttons.js => resources/fancybox/helpers/jquery.fancybox-buttons.js
rename : fancybox/helpers/jquery.fancybox-media.js => resources/fancybox/helpers/jquery.fancybox-media.js
rename : fancybox/helpers/jquery.fancybox-thumbs.css => resources/fancybox/helpers/jquery.fancybox-thumbs.css
rename : fancybox/helpers/jquery.fancybox-thumbs.js => resources/fancybox/helpers/jquery.fancybox-thumbs.js
rename : fancybox/jquery.fancybox.css => resources/fancybox/jquery.fancybox.css
rename : fancybox/jquery.fancybox.pack.js => resources/fancybox/jquery.fancybox.pack.js
2013-05-06 17:49:22 +02:00
Sébastien Lucas ea9c73c244 Remove the unneeded option to use CDN. it's too confusing and is not really needed. 2013-05-06 17:45:27 +02:00
wogong c641aeea58 add charset utf-8 in index.php, fix the display problem in Chinese 2013-05-04 10:46:10 +08:00
Sébastien Lucas 0241f6bc54 Handle a little better resource on CDN. 2013-04-26 15:03:08 +02:00
Sébastien Lucas cb0e50d3df remove some xhtml notation to prepare the move to HTML5 2013-04-24 15:43:26 +02:00
Sébastien Lucas 0d43027f75 Remove the image used in the OPDS catalog in the HTML catalog. Reported by Thomas Severinsen. 2013-04-24 15:38:39 +02:00
Sébastien Lucas e6560be28c Localize all alternate text. re #37 2013-04-21 16:22:26 +02:00
Sébastien Lucas 002cd1d6a2 Remove the loading image. Wasn't enabled for a while. 2013-04-21 15:56:22 +02:00
Sébastien Lucas f46b5cfaf6 Reindentation 2013-04-21 15:53:38 +02:00
Sébastien Lucas 059f05fac1 Fix some strings. re #37 2013-04-21 15:47:32 +02:00
Sébastien Lucas 6272cd1b01 Get rid of fancybox completely if not enabled. fixes #50
About.xml is still utf8 but looses it's BOM
2013-04-21 15:00:21 +02:00
Sébastien Lucas 73433a1c20 Some more localization. Again thanks to Tobias for the patch. re #37 2013-04-20 15:57:02 +02:00
Sébastien Lucas 56516960ce Clicking on home with multidatabase allow to stay in current database. re #40 2013-04-17 14:12:10 +02:00
Sébastien Lucas 89c353dd07 Add a config item to use local resources instead of CDN hosted resources. 2013-04-17 13:42:23 +02:00
Sébastien Lucas cd03b49954 Fix book search with multidatabase. re #40 2013-04-08 17:28:45 +02:00
Sébastien Lucas dd1a00f560 Fix link in the book permalink. fixes #54
Thanks to celta ;).
2013-04-02 22:02:08 +02:00
Sébastien Lucas c8025d2702 Fix opds feed url. fix #44 2013-03-08 09:43:37 +01:00
Sébastien Lucas 6a9646bf15 Enhance the search to have a different output depending on the current page. re #34 2013-03-08 09:40:25 +01:00
Sébastien Lucas a4002e28ae Upgrade to Jquery 1.9.1 and Fancybox 2.4.0 2013-03-07 11:09:19 +01:00
Sébastien Lucas 0f1e635b27 Use a cookie for the toolbar. re #41 2013-03-03 08:10:30 +01:00
Sébastien Lucas 42c3841157 Exit if we're redirecting to feed.php 2013-03-01 17:48:25 +01:00
Sébastien Lucas 6f0bae5ae4 move search & sort. That also fix w3c validation error. re #41 2013-03-01 17:45:55 +01:00
Sébastien Lucas ab84d1e721 Simplify e-Ink detection. 2013-02-28 16:31:59 +01:00
Sébastien Lucas 15e8372f04 Add an automatic redirect if we're coming from an OPDS reader.
For information the user agent of Moon+ Reader is :
Stanza iPhone/Aldiko/Moon+ Reader(Android)

That's really bad !
2013-02-28 16:26:15 +01:00
Tyler J. Wagner 46c0de5c66 This adds the function getPubDate() to book.php, which
returns either the publication year, or "", if the value is null or
"Undefined". By "Undefined", I mean the value Calibre sets as pubdate when
you choose "Undefined" in the GUI. which is 1 Jan 0100, or -58979926800.
2013-02-20 21:06:37 +01:00
Sébastien Lucas 0d1506a078 Fix other type of Kobo eReader (Glo, Mini) detection 2013-02-05 20:14:58 +01:00
Sébastien Lucas f4675dec52 Add Custom columns through config. Only tested in HTML catalog for now
re #32
2013-01-19 07:08:47 +01:00
Sébastien Lucas 140c88a63c Fix an alt string that existed in the lang file.
Add a missing translation (more to do about it).
2013-01-06 09:28:49 +01:00
Sébastien Lucas 6f17a4dc65 Add URL discover for the OPDS feed. 2013-01-06 09:22:47 +01:00
Sébastien Lucas 0ba361e434 Add a permalink to book (the little linkish thingy)
fix the image zoom in the book detail
Add book title to the book detail
clean the code a little (more to do)
2013-01-03 21:40:43 +01:00
Sébastien Lucas 00d7e1da4a Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner. 2012-12-22 18:03:52 +01:00
Sébastien Lucas 8906430b13 Add a config item to avoid using Fancyapps.
For now the about box still use Fancyapps.

Reported by mcister and Northguy
2012-12-10 06:06:45 +01:00
Sébastien Lucas 8838f15034 Add ratings only in recent addition for now. 2012-12-04 10:58:39 +01:00
Sébastien Lucas da108b30a9 Upgrade fancybox to last version (2.1.3) 2012-12-03 16:30:35 +01:00
Sébastien Lucas ddb7442c4a Add an about box to the catalog. fix #20 2012-10-20 06:54:13 +02:00
Sébastien Lucas d28552a485 Bind left / right to previous / next page. 2012-10-11 21:43:37 +02:00
Sébastien Lucas 3c4f4851a6 Make HTML paging usable. 2012-10-11 21:14:06 +02:00
Sébastien Lucas e498e6325a Swith to the fancybox packed file (I should have done it a while ago). 2012-09-30 15:42:17 +02:00
Sébastien Lucas a19b59eb1e Update to Fancybox 2.1.0. Changed the way the max-width is handled. Should be better this way. 2012-09-30 15:38:09 +02:00
Sébastien Lucas 14b06905d5 Refactoring 2012-09-21 14:19:11 +02:00
Sébastien Lucas be4bcf3e9f Add basing pagin support in HTML catalog 2012-09-21 13:36:52 +02:00
Sébastien Lucas 654eddebc6 Avoid a warning (but no code using it)
--HG--
extra : rebase_source : e332c0dceb6fad0be7d4c282f0184a1427ae9961
2012-09-19 18:20:01 +02:00
Sébastien Lucas c823715c83 Fix a warning
--HG--
extra : rebase_source : 1a3a44f105d0fd18735cd42aab5f0284ec1937cc
2012-09-19 15:57:40 +02:00
Dan Greve 822177d7a0 Changed jQuery.js to use https instead of http. This is a security risk when using an SSL encrypted session. Chrome considers it as unsafe and shows a shield warning, and https is crossed out 2012-09-19 22:23:19 -04:00
Sébastien Lucas 211f90e2f3 Fix yet another problem with HTML special chars. fix #11 2012-09-03 16:01:46 +02:00
Sébastien Lucas 69f0be3e78 Change index to be Ansi again. Easier for now 2012-09-03 15:57:35 +02:00
Northguy f2b7b7ff9f Added Eink test for Sony PRS-T1 E-reader
Sony PRS-T1 is not recognised as eInk. Added HTTP_USER_AGENT recognition.

   HTTP_USER_AGENT = "Mozilla/5.0 (Linux; U; en-us; EBRD1101; EXT) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
2012-09-02 01:54:22 +03:00
Sébastien Lucas 8f2eaa141d Add a group on the cover fancybox (left and right navigation) 2012-07-21 17:50:27 +02:00
Sébastien Lucas 3ebc6ef5eb Now that tha Kobo can handle properly Fancybox :
* Add a detection for e-Ink browser
 * Remove effect for e-Ink browser (fewer refresh needed)
 * Handle the margin to allow closing of Fancyboxes
2012-07-21 15:23:49 +02:00