diff --git a/sources/CHANGELOG b/sources/CHANGELOG deleted file mode 100644 index 891c85d..0000000 --- a/sources/CHANGELOG +++ /dev/null @@ -1,286 +0,0 @@ -1.0.1 - 201610XX - * Fixed some type of custom column showing id instead of text - Thanks to Mike Schwörer. - * Fixed the redirection to the OPDS catalog for Moon+ Reader. - * Fixed the mail character encoding, now in UTF-8. - * Fixed checkconfig.php to avoid sending content before headers. Thanks to Luke Stevenson. - * Fixed server side rendering with custom columns. - * Moved /icons to /images (Apache issues). Thanks to CgX. - -1.0.0 - 20160708 - * Updated the OPDS icons to better looking ones. Thanks to Horus68. - * Updated the README.md. - * Updated Brazillian, French, Hungarian, Portuguese, Russian translations. - * Added support of language and country code. This allow to have proper Brazil Portuguese and Portugal Portuguese. - * Added Korean translation. Thanks to Jin, Heonkyu. - * Added Romanian translation. Thanks to mtzro2003. - * Added Greek translation. Thanks to George Litos. - * Added Turkish Translation. Thanks to Yunus Emre Deligöz. - * Added Serbian Translation. Thanks to Dalibor Vinkić. - * Added the transliteration of search text. You can enable it with $config ['cops_normalized_search']. Thanks to George Litos. - * Added Ebookdroid, Chunky and AlReader in the know OPDS clients. Thanks to Mike Ferenduros and Horus68. - * Added some mime types for audio books. - * Added the rewrite rule for IIS. - * Added a now parameter to set the style ($config['cops_style']). Thanks to Pablo Santiago Blum de Aguiar. - * Added a directory cache ($config['cops_thumbnail_cache_directory']) to store the resized thumbnails (should help on slow NAS). Thanks to O2 Graphics. - * Added support of all kind of custom columns (see configuration file). Thanks to Mike Schwörer. - * Fixed COPS so that it's completely embedded (no external resources to download needed anymore). - * Fixed a Reflected XSS vulnerability. - * Fixed the tag filters with Bootstrap. Thanks to Klaus Broelemann. - * Fixed some COPS path errors with reverse proxy. Thanks to Benjamin Kitt. - * Fixed the publication date (wasn't working for date before 1901). - * Fixed the download file name (replace + by %20 to be RFC compliant). - - -1.0.0RC3 - 20141229 - * Fixed server side render with Bootstrap template (a proper unit test was also added). - * Upgraded to latest doT-php, Typeahead 0.10.5, jquery-cookie 1.4.1, JQuery 1.11.1 - * Fixed book count with custom columns. - * Updated Catalan, Dutch, French and Russian translations. - * Added AZW3 to the format that can be sent to Kindle (by mail). - * Fixed $config['cops_thumbnail_handling'] with bootstrap template. - * Added Hungarian translation. Thanks to harunibn. - * Added Ukrainian translation. Thanks to Anatoliy Zavalinich - * Added full PHP password check (without any need from specific webserver configuration). Thanks to Mark Bond. - * Added new IOS7 style with default template. Thanks to an anonymous source ;). - * Fixed display of authors names for books with more than one author. - * Added PHP version to checkconfig.php (will help debugging for me). - * Added a configuration item ($config['cops_template']) to change the default template. Thanks to Shin. - * Added a configuration item ($config['cops_language']) to force COPS language. Thanks to Sandy Pleyte. - * Added a trick to have user based configuration, check https://github.com/seblucas/cops/wiki/User-based-config for more information. Thanks to Sandy Pleyte. - * Changed the default sort order on books by author page to show books in a series before all other books. - - -1.0.0RC2 - 20140731 - * Updated Italian, Spanish, Portuguese, Norwegian translations. - * Added Polish translation. Thanks to macak_pl. - * Added Haitian Creole translation. Thanks to Ian Macdonald & Jacinta. - * Added Basque translation. Thanks to Turutarena. - * Upgraded to JQuery 1.11.0, Magnific Popup 0.9.9, Normalize 3.0.1, Typeahead 0.10.2 - * Fixed search with accentuated characters on Internet Explorer. - * Author can now be searched by sort or by name (Carroll, Lewis or Lewis Carroll will work). - * Added a new bootstrap user interface. - * Added correct mimetype for *.ibooks. Reported by Flowney. - * Added an empty line at the end of .htaccess to make it easier to modify. Reported by Mariosipad. - * Modified the README and checkconfig.php to check for php5-json. Reported by Mariosipad. - * Handled properly the cancelling of a mail. Reported by coach0742. - * Added an ugly hack to try to fix bad rendering with Kindle. Please report if it's better or not. - -1.0.0RC1 - 20140404 - * Updated English, Spanish, German, Italian, Portuguese, Dutch translation files. Huge thanks to all to the translators. - * Added Swedish translation. Thanks to Bo Rosén. - * Added Czech translation. Thanks to Zdenek Hadrava. - * Added a lot of refactoring to simplify the code. - * Added a lot of new unit tests. - * Fixed a caching bug causing problems with IE. - * Added an embedded Epub Reader based on Monocle. Thanks to all the beta testers. - * Cleaned up a lot of stuff to prepare for bootstrap template. Note to all CSS hackers, the stylesheets are now in templates/default/styles. - * Fixed the charset of most of the pages. Thanks to edent. - * Added a new category : ratings. Thanks to Michael. - * Fixed the URL rewriting in the OPDS stream, should fix file naming with FBReader. Reported by Rassie. - * Fixed a confusion between author's name and author's sort. Reported by At_Libitum. - * Fixed the style of the tag filters to show that they're clickable. Thanks to cycojesus. - * Replaced | by space in author name. - -0.9.0 - 20131231 - * Add a lot of unit testing. I hope it will limit the risks of regression. - * Added a "smart / autocomplete" search. - * Updated the way locales are handled. Should be easier to add new languages. - * Fixed display of Cyrillic characters. - * Upgraded doT to version 1.0.1, Magnific-Popup to 0.9.8, Normalize.css to 2.1.3, Jquery-cookie to 1.4.0. - * Fixed OPDS stream validity. Reported by Didier. - * Added a new check in checkconfig.php to detect case problem between the actual path and the path stored in Calibre database. Try checkconfig.php?full=1. Reported by Ruud. - * Fixed the display of the rating stars with Chrome. Thanks to At_Libitum. - * Added a new parameter ($config['cops_titles_split_first_letter']) to avoid splitting the books by first letter. Thanks to At_Libitum. - * Fixed non compliant OPDS search (for Stanza, Moon+ Reader, ...). Reported by At_Libitum. - * Fixed the redirection in case the Calibre database is not found. Reported by At_Libitum - * Changed .htaccess to allow the use of password protected catalogs with Sony's eReader (PRS-TX). Thanks to Ruud for the beta testing. - * Updated Chinese, German, Norwegian, Portuguese, Russian translations. Huge thanks to all the translators. - * Fixed a small problem : If a book had no summary the cover could be cut. - * Fix COPS on Internet Explorer 9. Reported by At_Libitum. - * Added publishers in home categories / search / autocomplete search. - * Added a new configuration item ($config ['cops_ignored_categories']) to ignore some categories (author, tag, publisher, ...) in home screen and searches. It's also available in the "Customize UI" page. - * Updated .htaccess to allow downloading books with a password protected COPS on a Sony PRS-TX. Reported by Ruud. - * Changed the default search to search by categories also (should help with OPDS). Thanks to At_Libitum. - * Fixed the tag filtering in the HTML catalog when two tags starts by the same word. Reported by Tyler. - -0.6.2 - 20130913 - * Added server side rendering for devices like PRS-TX / Kindle / Cybook. Thanks to all the testers. - * Added a configuration item to tweak how thumbnail are handled. - * Fixed the click on cog on IOS. Thanks to sb domo. - * Added dashboard icons / standalone mode for IOS. Thanks to sb domo. - * Fixed a regression about custom favicon.ico. Thanks to Tyler. - * Fixed another regression about COPS's version in the about box. Reported by Ian. - * Upgraded Magnific Popup to v0.9.5. - * Added a style for IPhone. Thanks to sb domo. - * Added Portuguese translation. Thanks to Pablo Aguiar. - * Fixed rendering on Internet Explorer < 9.0. - -0.6.1 - 20130730 - * Properly close the lightbox when clicking in a link. Reported by le_. - * Fix the book by languages list when the language is not found in the resources. Reported by le_. - * Fix the string for Portuguese. Reported by le_. - * Add again the series Index in the book list. Reported by fatzgenfatz. - -0.6.0 - 20130724 - * COPS HTML catalog now use templated client side rendering. You can build your own template if you want. Should be a lot faster. - * Fancybox has been replaced by Magnific Popup, it seems faster. - * Added a way to send book by mail (to send to Kindle or to send to your friends). - * Added expires instruction in .htaccess (won't crash if you haven't enabled mod_expires). - * Upgrade to JQuery 1.10.2. - * Changed the way thumbnails are handled to offer greater visual quality (especially on high pixel density devices : Retina, Nexus, ...). - * Changed all icon by a vectorial font (again better visual quality). - * Added a way to filter books by tags. - * Added a login page (login.html) to allow access to a password protected COPS on a Kobo ereader (that does not support basic auth). - * Fixed cookie expiry date. - * Added a default web.config for IIS installation. - * The eink style doesn't use shadow anymore. - * Fixed the link to the series in book detail. - -0.5.0 - 20130605 - * Upgrade COPS UI to HTML5 / CSS3 to hopefully make it prettier. Most of the code was contributed by Thomas Severinsen. - * Add the number of books in each databases (when multiple database is enabled). - * Add Norwegian Bokmål strings. Thanks to Rune Mathisen for the pull request. - * Add a split by language of catalog. Thanks to Puiu Ionut for the pull request. - * You can now change the theme and fancybox use on all your devices (You have to enable cookies). - * Add an eink theme. Thanks to Gregory Bodin for the code. - -0.4.0 - 20130507 - * Add multiple database support. Check the documentation of $config['calibre_directory'] in config-default.php to see how to enable it. - * Include jquery library in COPS's repository to be sure that COPS will work on LAN (without Internet access). - * Prepare the switch to HTML5. Thanks to Thomas Severinsen for most of the code. - * Update the locale strings to be more strict with plurals. Thanks to Tobias Ausländer for the code. - * If Fancybox is not enabled ($config['cops_use_fancyapps'] = "0") then it's not used at all (even in the about box). - * Fix book comments if it contains UTF8 characters. Reported by Alain. - * Link to the book permalink was not working correctly in some cases. Reported by celta. - * Moved some external resources to a resources directory. - * Add chinese translation. Thanks to wogong for the pull request. - -0.3.4 - 20130327 - * Hopefully fix metadata update. Beware you should remove the directory php-epub-meta if you have one. Thanks to Mario for his time. - * Fix two warnings. Reported by Goner and Mario. - -0.3.3 - 20130323 - * Fix catalog if book summary contains bad HTML again :(. - * Upgrade to Fancybox 2.4.0 and JQuery 1.9.1. - * Search is now dependant on the page you're in. For now if you're on author page it'll look for author name. - * Update checkconfig to check if the database provided comes from Calibre. - * Update to latest php-epub-meta should fix the metadata update with Epub. - * Fix OPDS catalog with Ibis Reader. It didn't like empty language. - -0.3.2 - 20130303 - * Add dutch translation. Provided by Northguy. - * Fix an ugly bug introduced in 0.3.1. Reported by mariosipad. - * Small fixes/enhancement to the update metadata tools : - * The book's name is Author - Title.epub - * Add the Calibre uuid so that the book is automatically recognised by Calibre. - * Update the cover - * Fix display of the HTML catalog on Kobo's browser. - * Enable kepub.epub download with cover fix (enable with $config['cops_provide_kepub']). - * Hopefully fix browsing with PRS-T1. Thanks to Northguy. - * Hopefully fix the OPDS catalog when the summary is full of HTML crap. - * Merged 3 patches from Tyler J. Wagner : - * Detect empty publication date set in Calibre to avoid having (0101) as publication year. - * Don't print "Languages" if there are none defined. - * Don't print the tag string if there's no tags. - * If an OPDS client try to access index.php it will be automatically redirected to feed.php. - * Move the search & sort tool box to a new line (also fix a w3c error). - - -0.3.1 - 20130127 - * Add Facets to the OPDS catalog (check config item cops_books_filter). - So far the only OPDS client that support facets are Mantano Reader and Bluefire - * Fix book sort in some list. Patch provided by Tyler J. Wagner. - * Update .htaccess to check if Xsendfile is available. Thanks to Gaspine for the patch. - * Add basic support of custom columns. Check the following config item : cops_calibre_custom_column - * Usage of X-Accel-Redirect / X-Sendfile is not necessary anymore. Warning all Nginx users - who wants to still use X-Accel-Redirect must add - $config['cops_x_accel_redirect'] = "X-Accel-Redirect" in their config_local.php - * Fix COPS on IIS / Windows. Reported by Kevnancy. - * Simplified config_default.php - * Add a new config_local.php.example with the minimal configuration item to change. - - -0.3.0 - 20130106 - * Add a config item to avoid using Fancyapps (pop-ups). Reported by mcister and Northguy. - * Update documentation of .htaccess. Thanks to Stephane. - * Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner. - * Better handling of content type for book. Reported by Morg. - * Upped the size of thumbnails for OPDS. They look way better with Mantano. - * Add language in OPDS feed (shown in Mantano for example). - * Update metadata on downloaded epub. Disabled by default (check config item cops_update_epub-metadata). - * New Catalan translation provided by David Ciscar Presas. - * Add a permalink to books, that way direct link to books can be shared. Reported by mcister and Tyler J. Wagner. - * Add checkconfig.php that should allow to better detect the configuration problem (page in english only for now). - * Fix some plural strings / some missing title. Reported by David Ciscar Presas. - * Add an hint about the OPDS catalog in the HTML catalog. - -0.2.3 - 20121205 - * Add a .htaccess to make it easier to use with Apache - * Fix a typo in book download. Reported by jillmess - * Update localization (thanks to Calibre2Opds) - * Add some missing information from Calibre (language, rating for now). Reported by mcister - * Upgrade Fancybox to 2.1.3 - - -0.2.2 - 20121020 - * Changed JQuery URL to https (thanks to Dan Greve for the patch) - * Added paging to both OPDS and HTML catalog (use new config item cops_max_item_per_page) - * lots of code refactoring - * Authors are now splitted by first letter, this is the new default. You can go back to the old way with the config item cops_author_split_first_letter (reported by Northguy) - * Fix the link to books starting by special characters (reported by vinpel) - * Upgrade to Fancyapps 2.1.0. I had to adapt the CSS so maybe it'll display better in PRS-T1 - * Add an about box on the HTML catalog which show the current version - -0.2.1 - 20120916 - * Fix one last error (hopefully) in link generation (thanks to gaspine) - * Add Sony PRS-T1 to the list of E-Ink device (thanks to Northguy) - * Fix another HTML special characters problem (thanks to NeilBryant) - * Add an ugly config parameter to allow search in non-compliant OPDS reader (thanks to Don Caruana and David Lee) - -0.2.0 - 20120722 - * Fix all rewriting rule I forgot to change it in last release - * Fix
in book comment (thanks to jillmess) - * Fix cover zoom in HTML catalog (you can also navigate through cover with keyboard) - * Simplify Fancybox transition for e-Ink devices (for now Kobo and Kindle) - -0.1.1 - 20120702 - * A lot of bug fixes in HTML catalog - * Fixed the book comment in OPDS (broken in some rare case) - * Fixed handling of HTML reserved characters - * Changed book OPDS id to use an UUID (thanks to ilovejedd for the bug report) - * Add new config item for the default timezone (thanks to gaspine) - * Better handling of missing covers - * Should support every book format supported by Calibre (thanks to Artem) - * URL rewriting is off by default for the HTML catalog - * Add some documentation about URL rewriting (thanks to gaspine and Christophe) - * Tested and ready to use with PHP5.4 - -0.1.0 - 20120605 - * Add localization support (thanks to Calibre2Opds) - * Hopefully fixed an issue with & in comment - * HTML catalog is in the sources with no support (WIP) - -0.0.4 - 20120523 - * More code refactoring to simplify code. - * Changed OPDS Page id to match Calibre2Opds - * Add icons to author, serie, tags and recent items (there is config item to disable it) - * Fixed author URL - * Added publishing date (works on Mantano) - * Added Tags support - -0.0.3 - 20120507 - * Fixed many things blocking opensearch from working - * There was a bug introduced in 0.0.2 - * The URL can't be relative for Mantano reader, so I added a configuration item. - * I continued the refactoring to bring HTML to COPS - * Thumbnails have bigger size (I'll add a configuration item later) - * Add headers to help caching image and thumbnail to the browser - * - -0.0.2 - 20120411 - * Add support for MOBI and PDF - * Major refactoring to prepare something nice for the future ;) - * Add a config item to make use of X-Sendfile instead of X-Accel-Redirect if needed - -0.0.1 - 20120302 - * First public release diff --git a/sources/COPYING b/sources/COPYING deleted file mode 100644 index d60c31a..0000000 --- a/sources/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/sources/JSON_renderer.php b/sources/JSON_renderer.php deleted file mode 100644 index ecca867..0000000 --- a/sources/JSON_renderer.php +++ /dev/null @@ -1,255 +0,0 @@ - - */ - -require_once ("base.php"); -require_once ("book.php"); - -class JSONRenderer -{ - /** - * @param Book $book - * @return array - */ - public static function getBookContentArray ($book) { - global $config; - $i = 0; - $preferedData = array (); - foreach ($config['cops_prefered_format'] as $format) - { - if ($i == 2) { break; } - if ($data = $book->getDataFormat ($format)) { - $i++; - array_push ($preferedData, array ("url" => $data->getHtmlLink (), "name" => $format)); - } - } - - $publisher = $book->getPublisher(); - if (is_null ($publisher)) { - $pn = ""; - $pu = ""; - } else { - $pn = $publisher->name; - $link = new LinkNavigation ($publisher->getUri ()); - $pu = $link->hrefXhtml (); - } - - $serie = $book->getSerie (); - if (is_null ($serie)) { - $sn = ""; - $scn = ""; - $su = ""; - } else { - $sn = $serie->name; - $scn = str_format (localize ("content.series.data"), $book->seriesIndex, $serie->name); - $link = new LinkNavigation ($serie->getUri ()); - $su = $link->hrefXhtml (); - } - $cc = $book->getCustomColumnValues($config['cops_calibre_custom_column_list'], true); - - return array ("id" => $book->id, - "hasCover" => $book->hasCover, - "preferedData" => $preferedData, - "rating" => $book->getRating (), - "publisherName" => $pn, - "publisherurl" => $pu, - "pubDate" => $book->getPubDate (), - "languagesName" => $book->getLanguages (), - "authorsName" => $book->getAuthorsName (), - "tagsName" => $book->getTagsName (), - "seriesName" => $sn, - "seriesIndex" => $book->seriesIndex, - "seriesCompleteName" => $scn, - "seriesurl" => $su, - "customcolumns_list" => $cc); - } - - /** - * @param Book $book - * @return array - */ - public static function getFullBookContentArray ($book) { - global $config; - $out = self::getBookContentArray ($book); - $database = GetUrlParam (DB); - - $out ["coverurl"] = Data::getLink ($book, "jpg", "image/jpeg", Link::OPDS_IMAGE_TYPE, "cover.jpg", NULL)->hrefXhtml (); - $out ["thumbnailurl"] = Data::getLink ($book, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL, NULL, $config['cops_html_thumbnail_height'] * 2)->hrefXhtml (); - $out ["content"] = $book->getComment (false); - $out ["datas"] = array (); - $dataKindle = $book->GetMostInterestingDataToSendToKindle (); - foreach ($book->getDatas() as $data) { - $tab = array ("id" => $data->id, "format" => $data->format, "url" => $data->getHtmlLink (), "mail" => 0, "readerUrl" => ""); - if (!empty ($config['cops_mail_configuration']) && !is_null ($dataKindle) && $data->id == $dataKindle->id) { - $tab ["mail"] = 1; - } - if ($data->format == "EPUB") { - $tab ["readerUrl"] = "epubreader.php?data={$data->id}&db={$database}"; - } - array_push ($out ["datas"], $tab); - } - $out ["authors"] = array (); - foreach ($book->getAuthors () as $author) { - $link = new LinkNavigation ($author->getUri ()); - array_push ($out ["authors"], array ("name" => $author->name, "url" => $link->hrefXhtml ())); - } - $out ["tags"] = array (); - foreach ($book->getTags () as $tag) { - $link = new LinkNavigation ($tag->getUri ()); - array_push ($out ["tags"], array ("name" => $tag->name, "url" => $link->hrefXhtml ())); - } - $out ["customcolumns_preview"] = $book->getCustomColumnValues($config['cops_calibre_custom_column_preview'], true); - - return $out; - } - - public static function getContentArray ($entry) { - if ($entry instanceof EntryBook) { - $out = array ( "title" => $entry->title); - $out ["book"] = self::getBookContentArray ($entry->book); - return $out; - } - return array ( "title" => $entry->title, "content" => $entry->content, "navlink" => $entry->getNavLink (), "number" => $entry->numberOfElement ); - } - - public static function getContentArrayTypeahead ($page) { - $out = array (); - foreach ($page->entryArray as $entry) { - if ($entry instanceof EntryBook) { - array_push ($out, array ("class" => $entry->className, "title" => $entry->title, "navlink" => $entry->book->getDetailUrl ())); - } else { - if (empty ($entry->className) xor Base::noDatabaseSelected ()) { - array_push ($out, array ("class" => $entry->className, "title" => $entry->title, "navlink" => $entry->getNavLink ())); - } else { - array_push ($out, array ("class" => $entry->className, "title" => $entry->content, "navlink" => $entry->getNavLink ())); - } - } - } - return $out; - } - - public static function addCompleteArray ($in) { - global $config; - $out = $in; - - $out ["c"] = array ("version" => VERSION, "i18n" => array ( - "coverAlt" => localize("i18n.coversection"), - "authorsTitle" => localize("authors.title"), - "bookwordTitle" => localize("bookword.title"), - "tagsTitle" => localize("tags.title"), - "seriesTitle" => localize("series.title"), - "customizeTitle" => localize ("customize.title"), - "aboutTitle" => localize ("about.title"), - "previousAlt" => localize ("paging.previous.alternate"), - "nextAlt" => localize ("paging.next.alternate"), - "searchAlt" => localize ("search.alternate"), - "sortAlt" => localize ("sort.alternate"), - "homeAlt" => localize ("home.alternate"), - "cogAlt" => localize ("cog.alternate"), - "permalinkAlt" => localize ("permalink.alternate"), - "publisherName" => localize("publisher.name"), - "pubdateTitle" => localize("pubdate.title"), - "languagesTitle" => localize("language.title"), - "contentTitle" => localize("content.summary"), - "sortorderAsc" => localize("search.sortorder.asc"), - "sortorderDesc" => localize("search.sortorder.desc"), - "customizeEmail" => localize("customize.email")), - "url" => array ( - "detailUrl" => "index.php?page=13&id={0}&db={1}", - "coverUrl" => "fetch.php?id={0}&db={1}", - "thumbnailUrl" => "fetch.php?height=" . $config['cops_html_thumbnail_height'] . "&id={0}&db={1}"), - "config" => array ( - "use_fancyapps" => $config ["cops_use_fancyapps"], - "max_item_per_page" => $config['cops_max_item_per_page'], - "kindleHack" => "", - "server_side_rendering" => useServerSideRendering (), - "html_tag_filter" => $config['cops_html_tag_filter'])); - if ($config['cops_thumbnail_handling'] == "1") { - $out ["c"]["url"]["thumbnailUrl"] = $out ["c"]["url"]["coverUrl"]; - } else if (!empty ($config['cops_thumbnail_handling'])) { - $out ["c"]["url"]["thumbnailUrl"] = $config['cops_thumbnail_handling']; - } - if (preg_match("/./", $_SERVER['HTTP_USER_AGENT'])) { - $out ["c"]["config"]["kindleHack"] = 'style="text-decoration: none !important;"'; - } - return $out; - } - - public static function getJson ($complete = false) { - global $config; - $page = getURLParam ("page", Base::PAGE_INDEX); - $query = getURLParam ("query"); - $search = getURLParam ("search"); - $qid = getURLParam ("id"); - $n = getURLParam ("n", "1"); - $database = GetUrlParam (DB); - - $currentPage = Page::getPage ($page, $qid, $query, $n); - $currentPage->InitializeContent (); - - if ($search) { - return self::getContentArrayTypeahead ($currentPage); - } - - $out = array ( "title" => $currentPage->title); - $entries = array (); - foreach ($currentPage->entryArray as $entry) { - array_push ($entries, self::getContentArray ($entry)); - } - if (!is_null ($currentPage->book)) { - $out ["book"] = self::getFullBookContentArray ($currentPage->book); - } - $out ["databaseId"] = GetUrlParam (DB, ""); - $out ["databaseName"] = Base::getDbName (); - if ($out ["databaseId"] == "") { - $out ["databaseName"] = ""; - } - $out ["fullTitle"] = $out ["title"]; - if ($out ["databaseId"] != "" && $out ["databaseName"] != $out ["fullTitle"]) { - $out ["fullTitle"] = $out ["databaseName"] . " > " . $out ["fullTitle"]; - } - $out ["page"] = $page; - $out ["multipleDatabase"] = Base::isMultipleDatabaseEnabled () ? 1 : 0; - $out ["entries"] = $entries; - $out ["isPaginated"] = 0; - if ($currentPage->isPaginated ()) { - $prevLink = $currentPage->getPrevLink (); - $nextLink = $currentPage->getNextLink (); - $out ["isPaginated"] = 1; - $out ["prevLink"] = ""; - if (!is_null ($prevLink)) { - $out ["prevLink"] = $prevLink->hrefXhtml (); - } - $out ["nextLink"] = ""; - if (!is_null ($nextLink)) { - $out ["nextLink"] = $nextLink->hrefXhtml (); - } - $out ["maxPage"] = $currentPage->getMaxPage (); - $out ["currentPage"] = $currentPage->n; - } - if (!is_null (getURLParam ("complete")) || $complete) { - $out = self::addCompleteArray ($out); - } - - $out ["containsBook"] = 0; - if ($currentPage->containsBook ()) { - $out ["containsBook"] = 1; - } - - $out["abouturl"] = "index.php" . addURLParameter ("?page=" . Base::PAGE_ABOUT, DB, $database); - - if ($page == Base::PAGE_ABOUT) { - $temp = preg_replace ("/\About COPS\<\/h1\>/", "

About COPS " . VERSION . "

", file_get_contents('about.html')); - $out ["fullhtml"] = $temp; - } - - $out ["homeurl"] = "index.php"; - if ($page != Base::PAGE_INDEX && !is_null ($database)) $out ["homeurl"] = $out ["homeurl"] . "?" . addURLParameter ("", DB, $database); - - return $out; - } -} \ No newline at end of file diff --git a/sources/OPDS_renderer.php b/sources/OPDS_renderer.php deleted file mode 100644 index 14d1f33..0000000 --- a/sources/OPDS_renderer.php +++ /dev/null @@ -1,278 +0,0 @@ - - */ - -require_once ("base.php"); - -class OPDSRenderer -{ - private $xmlStream = NULL; - private $updated = NULL; - - private function getUpdatedTime () { - if (is_null ($this->updated)) { - $this->updated = time(); - } - return date (DATE_ATOM, $this->updated); - } - - private function getXmlStream () { - if (is_null ($this->xmlStream)) { - $this->xmlStream = new XMLWriter(); - $this->xmlStream->openMemory(); - $this->xmlStream->setIndent (true); - } - return $this->xmlStream; - } - - public function getOpenSearch () { - global $config; - $xml = new XMLWriter (); - $xml->openMemory (); - $xml->setIndent (true); - $xml->startDocument('1.0','UTF-8'); - $xml->startElement ("OpenSearchDescription"); - $xml->writeAttribute ("xmlns", "http://a9.com/-/spec/opensearch/1.1/"); - $xml->startElement ("ShortName"); - $xml->text ("My catalog"); - $xml->endElement (); - $xml->startElement ("Description"); - $xml->text ("Search for ebooks"); - $xml->endElement (); - $xml->startElement ("InputEncoding"); - $xml->text ("UTF-8"); - $xml->endElement (); - $xml->startElement ("OutputEncoding"); - $xml->text ("UTF-8"); - $xml->endElement (); - $xml->startElement ("Image"); - $xml->writeAttribute ("type", "image/x-icon"); - $xml->writeAttribute ("width", "16"); - $xml->writeAttribute ("height", "16"); - $xml->text ($config['cops_icon']); - $xml->endElement (); - $xml->startElement ("Url"); - $xml->writeAttribute ("type", 'application/atom+xml'); - $urlparam = "?query={searchTerms}"; - if (!is_null (GetUrlParam (DB))) $urlparam = addURLParameter ($urlparam, DB, GetUrlParam (DB)); - $urlparam = str_replace ("%7B", "{", $urlparam); - $urlparam = str_replace ("%7D", "}", $urlparam); - $xml->writeAttribute ("template", $config['cops_full_url'] . 'feed.php' . $urlparam); - $xml->endElement (); - $xml->startElement ("Query"); - $xml->writeAttribute ("role", "example"); - $xml->writeAttribute ("searchTerms", "robot"); - $xml->endElement (); - $xml->endElement (); - $xml->endDocument(); - return $xml->outputMemory(true); - } - - private function startXmlDocument ($page) { - global $config; - self::getXmlStream ()->startDocument('1.0','UTF-8'); - self::getXmlStream ()->startElement ("feed"); - self::getXmlStream ()->writeAttribute ("xmlns", "http://www.w3.org/2005/Atom"); - self::getXmlStream ()->writeAttribute ("xmlns:xhtml", "http://www.w3.org/1999/xhtml"); - self::getXmlStream ()->writeAttribute ("xmlns:opds", "http://opds-spec.org/2010/catalog"); - self::getXmlStream ()->writeAttribute ("xmlns:opensearch", "http://a9.com/-/spec/opensearch/1.1/"); - self::getXmlStream ()->writeAttribute ("xmlns:dcterms", "http://purl.org/dc/terms/"); - self::getXmlStream ()->startElement ("title"); - self::getXmlStream ()->text ($page->title); - self::getXmlStream ()->endElement (); - if ($page->subtitle != "") - { - self::getXmlStream ()->startElement ("subtitle"); - self::getXmlStream ()->text ($page->subtitle); - self::getXmlStream ()->endElement (); - } - self::getXmlStream ()->startElement ("id"); - if ($page->idPage) - { - $idPage = $page->idPage; - if (!is_null (GetUrlParam (DB))) $idPage = str_replace ("cops:", "cops:" . GetUrlParam (DB) . ":", $idPage); - self::getXmlStream ()->text ($idPage); - } - else - { - self::getXmlStream ()->text ($_SERVER['REQUEST_URI']); - } - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("updated"); - self::getXmlStream ()->text (self::getUpdatedTime ()); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("icon"); - self::getXmlStream ()->text ($page->favicon); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("author"); - self::getXmlStream ()->startElement ("name"); - self::getXmlStream ()->text ($page->authorName); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("uri"); - self::getXmlStream ()->text ($page->authorUri); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("email"); - self::getXmlStream ()->text ($page->authorEmail); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->endElement (); - $link = new LinkNavigation ("", "start", "Home"); - self::renderLink ($link); - $link = new LinkNavigation ("?" . getQueryString (), "self"); - self::renderLink ($link); - $urlparam = "?"; - if (!is_null (GetUrlParam (DB))) $urlparam = addURLParameter ($urlparam, DB, GetUrlParam (DB)); - if ($config['cops_generate_invalid_opds_stream'] == 0 || preg_match("/(MantanoReader|FBReader)/", $_SERVER['HTTP_USER_AGENT'])) { - // Good and compliant way of handling search - $urlparam = addURLParameter ($urlparam, "page", Base::PAGE_OPENSEARCH); - $link = new Link ("feed.php" . $urlparam, "application/opensearchdescription+xml", "search", "Search here"); - } - else - { - // Bad way, will be removed when OPDS client are fixed - $urlparam = addURLParameter ($urlparam, "query", "{searchTerms}"); - $urlparam = str_replace ("%7B", "{", $urlparam); - $urlparam = str_replace ("%7D", "}", $urlparam); - $link = new Link ($config['cops_full_url'] . 'feed.php' . $urlparam, "application/atom+xml", "search", "Search here"); - } - self::renderLink ($link); - if ($page->containsBook () && !is_null ($config['cops_books_filter']) && count ($config['cops_books_filter']) > 0) { - $Urlfilter = getURLParam ("tag", ""); - foreach ($config['cops_books_filter'] as $lib => $filter) { - $link = new LinkFacet ("?" . addURLParameter (getQueryString (), "tag", $filter), $lib, localize ("tagword.title"), $filter == $Urlfilter); - self::renderLink ($link); - } - } - } - - private function endXmlDocument () { - self::getXmlStream ()->endElement (); - self::getXmlStream ()->endDocument (); - return self::getXmlStream ()->outputMemory(true); - } - - private function renderLink ($link) { - self::getXmlStream ()->startElement ("link"); - self::getXmlStream ()->writeAttribute ("href", $link->href); - self::getXmlStream ()->writeAttribute ("type", $link->type); - if (!is_null ($link->rel)) { - self::getXmlStream ()->writeAttribute ("rel", $link->rel); - } - if (!is_null ($link->title)) { - self::getXmlStream ()->writeAttribute ("title", $link->title); - } - if (!is_null ($link->facetGroup)) { - self::getXmlStream ()->writeAttribute ("opds:facetGroup", $link->facetGroup); - } - if ($link->activeFacet) { - self::getXmlStream ()->writeAttribute ("opds:activeFacet", "true"); - } - self::getXmlStream ()->endElement (); - } - - private function getPublicationDate($book) { - $dateYmd = substr($book->pubdate, 0, 10); - $pubdate = \DateTime::createFromFormat('Y-m-d', $dateYmd); - if ($pubdate === false || - $pubdate->format ("Y") == "0101" || - $pubdate->format ("Y") == "0100") { - return ""; - } - return $pubdate->format("Y-m-d"); - } - - private function renderEntry ($entry) { - self::getXmlStream ()->startElement ("title"); - self::getXmlStream ()->text ($entry->title); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("updated"); - self::getXmlStream ()->text (self::getUpdatedTime ()); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("id"); - self::getXmlStream ()->text ($entry->id); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("content"); - self::getXmlStream ()->writeAttribute ("type", $entry->contentType); - if ($entry->contentType == "text") { - self::getXmlStream ()->text ($entry->content); - } else { - self::getXmlStream ()->writeRaw ($entry->content); - } - self::getXmlStream ()->endElement (); - foreach ($entry->linkArray as $link) { - self::renderLink ($link); - } - - if (get_class ($entry) != "EntryBook") { - return; - } - - foreach ($entry->book->getAuthors () as $author) { - self::getXmlStream ()->startElement ("author"); - self::getXmlStream ()->startElement ("name"); - self::getXmlStream ()->text ($author->name); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("uri"); - self::getXmlStream ()->text ("feed.php" . $author->getUri ()); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->endElement (); - } - foreach ($entry->book->getTags () as $category) { - self::getXmlStream ()->startElement ("category"); - self::getXmlStream ()->writeAttribute ("term", $category->name); - self::getXmlStream ()->writeAttribute ("label", $category->name); - self::getXmlStream ()->endElement (); - } - if ($entry->book->getPubDate () != "") { - self::getXmlStream ()->startElement ("dcterms:issued"); - self::getXmlStream ()->text (self::getPublicationDate($entry->book)); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("published"); - self::getXmlStream ()->text (self::getPublicationDate($entry->book) . "T08:08:08Z"); - self::getXmlStream ()->endElement (); - } - - $lang = $entry->book->getLanguages (); - if (!empty ($lang)) { - self::getXmlStream ()->startElement ("dcterms:language"); - self::getXmlStream ()->text ($lang); - self::getXmlStream ()->endElement (); - } - - } - - public function render ($page) { - global $config; - self::startXmlDocument ($page); - if ($page->isPaginated ()) - { - self::getXmlStream ()->startElement ("opensearch:totalResults"); - self::getXmlStream ()->text ($page->totalNumber); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("opensearch:itemsPerPage"); - self::getXmlStream ()->text ($config['cops_max_item_per_page']); - self::getXmlStream ()->endElement (); - self::getXmlStream ()->startElement ("opensearch:startIndex"); - self::getXmlStream ()->text (($page->n - 1) * $config['cops_max_item_per_page'] + 1); - self::getXmlStream ()->endElement (); - $prevLink = $page->getPrevLink (); - $nextLink = $page->getNextLink (); - if (!is_null ($prevLink)) { - self::renderLink ($prevLink); - } - if (!is_null ($nextLink)) { - self::renderLink ($nextLink); - } - } - foreach ($page->entryArray as $entry) { - self::getXmlStream ()->startElement ("entry"); - self::renderEntry ($entry); - self::getXmlStream ()->endElement (); - } - return self::endXmlDocument (); - } -} - diff --git a/sources/README.md b/sources/README.md deleted file mode 100644 index 526c220..0000000 --- a/sources/README.md +++ /dev/null @@ -1,101 +0,0 @@ -# COPS - -COPS stands for Calibre OPDS (and HTML) Php Server. - -See : [COPS's home](http://blog.slucas.fr/en/oss/calibre-opds-php-server) for more details. - -Don't forget to check the [Wiki](https://github.com/seblucas/cops/wiki). - -[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/seblucas/cops/badges/quality-score.png?s=e1c87a92ef90b8d666cd9bd4f3612bd10db84364)](https://scrutinizer-ci.com/g/seblucas/cops/) - -[![Code Coverage](https://scrutinizer-ci.com/g/seblucas/cops/badges/coverage.png?s=1e21d8c3bf96d7b0b7cc0e54429fa897ddea1506)](https://scrutinizer-ci.com/g/seblucas/cops/) - -[![Build Status](https://travis-ci.org/seblucas/cops.png)](https://travis-ci.org/seblucas/cops) - -[![Selenium Test Status](https://saucelabs.com/browser-matrix/seblucas.svg)](https://saucelabs.com/u/seblucas) - -# Why ? - -In my opinion Calibre is a marvelous tool but is too big and has too much -dependencies to be used for its content server. - -That's the main reason why I coded this OPDS server. I needed a simple -tool to be installed on a small server (Seagate Dockstar in my case). - -I initially thought of Calibre2OPDS but as it generate static file no -search was possible. - -Later I added an simple HTML catalog that should be usable on my Kobo. - -So COPS's main advantages are : - * No need for many dependencies. - * No need for a lot of CPU or RAM. - * Not much code. - * Search is available. - * With Dropbox / owncloud it's very easy to have an up to date OPDS server. - * It was fun to code. - -If you want to use the OPDS feed don't forget to specify feed.php at the end of your URL. - -# Prerequisites - -1. PHP 5.3, 5.4, 5.5, 5.6 or hhvm with GD image processing, Libxml, Intl, Json & SQLite3 support. -2. A web server with PHP support. I only tested with various version of Nginx. - Other people reported it working with Apache and Cherokee. You can also use PHP - embedded server (https://github.com/seblucas/cops/wiki/Howto---PhpEmbeddedServer) -3. The path to a calibre library (metadata.db, format, & cover files). - -On any Debian base Linux you can use : - aptitude install php5-gd php5-sqlite php5-json php5-intl - -On Centos you may have to add : - yum install php-xml - -# Install - -1. Extract the zip file to a folder in web space (visible to the web server). -2. If you're doing a first-time install, copy config_local.php.example to config_local.php -3. Edit config_local.php to match your config. -4. If needed add other configuration item from config_default.php - -If you choose to put your Calibre directory inside your web directory then you -will have to edit /etc/nginx/mime.types to add this line : -application/epub+zip epub; - -If you like Docker, you can also try [this project](https://github.com/linuxserver/docker-cops) - -# Known problems - -Not a lot, except for the bad quality of the code (first PHP project ever) ;) - -Please see https://github.com/seblucas/cops/issues for open issues - -# Need help - -Please read https://github.com/seblucas/cops/wiki and check the FAQ. - -# Credits - - * Locale message handling is inspired of http://www.mind-it.info/2010/02/22/a-simple-approach-to-localization-in-php/ - * str_format function come from http://tmont.com/blargh/2010/1/string-format-in-php - * All icons come from Font Awesome : http://fontawesome.github.io/Font-Awesome/ - * The unofficial OPDS validator : http://opds-validator.appspot.com/ - * Thanks to all testers, translators and contributors. - * Feed icons made by Freepik from Flaticon website licensed under Creative Commons BY 3.0 http://www.flaticon.com and http://www.freepik.com - -External libraries used : - * JQuery : http://jquery.com/ - * Magnific Popup : http://dimsemenov.com/plugins/magnific-popup/ - * Php-epub-meta : https://github.com/splitbrain/php-epub-meta with some modification by me - https://github.com/seblucas/php-epub-meta - * TbsZip : http://www.tinybutstrong.com/apps/tbszip/tbszip_help.html - * DoT.js : http://olado.github.io/doT/index.html - * PHPMailer : https://github.com/PHPMailer/PHPMailer - * js-lru : https://github.com/rsms/js-lru - -# Copyright & License - -COPS - 2012-2016 (c) Sbastien Lucas - -See COPYING and file headers for license info - diff --git a/sources/about.html b/sources/about.html deleted file mode 100644 index d3369f9..0000000 --- a/sources/about.html +++ /dev/null @@ -1,23 +0,0 @@ -
-

About COPS

-

Authors

-

COPS is developed and maintained by Sébastien Lucas.

- -

See full history on Github to check all authors.

- -

COPS use some external libraries, check README for the details.

-

Copyright

-

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

- -

The complete content of license is provided in file COPYING within distribution and also available online.

-

Contact

-

For more info please visit COPS Home Page

- -

You can also check COPS's topic on MobileRead forum.

- -

DISCLAIMER : COPS is an open source software free to install everywhere. So if you have questions about any books available with any installation of COPS, please ask the owner of the website and not COPS's maintainer.

-

Thanks

-

Thanks a lot to Kovid Goyal for Calibre.

- -

And many thanks to all those who helped test COPS.

-
diff --git a/sources/author.php b/sources/author.php deleted file mode 100644 index 6149bd3..0000000 --- a/sources/author.php +++ /dev/null @@ -1,95 +0,0 @@ - - */ - -require_once('base.php'); - -class Author extends Base { - const ALL_AUTHORS_ID = "cops:authors"; - - const AUTHOR_COLUMNS = "authors.id as id, authors.name as name, authors.sort as sort, count(*) as count"; - const SQL_AUTHORS_BY_FIRST_LETTER = "select {0} from authors, books_authors_link where author = authors.id and upper (authors.sort) like ? group by authors.id, authors.name, authors.sort order by sort"; - const SQL_AUTHORS_FOR_SEARCH = "select {0} from authors, books_authors_link where author = authors.id and (upper (authors.sort) like ? or upper (authors.name) like ?) group by authors.id, authors.name, authors.sort order by sort"; - const SQL_ALL_AUTHORS = "select {0} from authors, books_authors_link where author = authors.id group by authors.id, authors.name, authors.sort order by sort"; - - public $id; - public $name; - public $sort; - - public function __construct($post) { - $this->id = $post->id; - $this->name = str_replace("|", ",", $post->name); - $this->sort = $post->sort; - } - - public function getUri () { - return "?page=".parent::PAGE_AUTHOR_DETAIL."&id=$this->id"; - } - - public function getEntryId () { - return self::ALL_AUTHORS_ID.":".$this->id; - } - - public static function getEntryIdByLetter ($startingLetter) { - return self::ALL_AUTHORS_ID.":letter:".$startingLetter; - } - - public static function getCount() { - // str_format (localize("authors.alphabetical", count(array)) - return parent::getCountGeneric ("authors", self::ALL_AUTHORS_ID, parent::PAGE_ALL_AUTHORS); - } - - public static function getAllAuthorsByFirstLetter() { - list (, $result) = parent::executeQuery ("select {0} -from authors -group by substr (upper (sort), 1, 1) -order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, count(*) as count", "", array (), -1); - $entryArray = array(); - while ($post = $result->fetchObject ()) - { - array_push ($entryArray, new Entry ($post->title, Author::getEntryIdByLetter ($post->title), - str_format (localize("authorword", $post->count), $post->count), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_AUTHORS_FIRST_LETTER."&id=". rawurlencode ($post->title))), "", $post->count)); - } - return $entryArray; - } - - public static function getAuthorsByStartingLetter($letter) { - return self::getEntryArray (self::SQL_AUTHORS_BY_FIRST_LETTER, array ($letter . "%")); - } - - public static function getAuthorsForSearch($query) { - return self::getEntryArray (self::SQL_AUTHORS_FOR_SEARCH, array ($query . "%", $query . "%")); - } - - public static function getAllAuthors() { - return self::getEntryArray (self::SQL_ALL_AUTHORS, array ()); - } - - public static function getEntryArray ($query, $params) { - return Base::getEntryArrayWithBookNumber ($query, self::AUTHOR_COLUMNS, $params, "Author"); - } - - public static function getAuthorById ($authorId) { - $result = parent::getDb ()->prepare('select ' . self::AUTHOR_COLUMNS . ' from authors where id = ?'); - $result->execute (array ($authorId)); - $post = $result->fetchObject (); - return new Author ($post); - } - - public static function getAuthorByBookId ($bookId) { - $result = parent::getDb ()->prepare('select authors.id as id, authors.name as name, authors.sort as sort from authors, books_authors_link -where author = authors.id -and book = ?'); - $result->execute (array ($bookId)); - $authorArray = array (); - while ($post = $result->fetchObject ()) { - array_push ($authorArray, new Author ($post)); - } - return $authorArray; - } -} diff --git a/sources/base.php b/sources/base.php deleted file mode 100644 index e3cfc7d..0000000 --- a/sources/base.php +++ /dev/null @@ -1,1361 +0,0 @@ - - */ - -/** @var array $config */ - -define ("VERSION", "1.0.1"); -define ("DB", "db"); -date_default_timezone_set($config['default_timezone']); - - -function useServerSideRendering () { - global $config; - return preg_match("/" . $config['cops_server_side_render'] . "/", $_SERVER['HTTP_USER_AGENT']); -} - -function serverSideRender ($data) { - // Get the templates - $theme = getCurrentTemplate (); - $header = file_get_contents('templates/' . $theme . '/header.html'); - $footer = file_get_contents('templates/' . $theme . '/footer.html'); - $main = file_get_contents('templates/' . $theme . '/main.html'); - $bookdetail = file_get_contents('templates/' . $theme . '/bookdetail.html'); - $page = file_get_contents('templates/' . $theme . '/page.html'); - - // Generate the function for the template - $template = new doT (); - $dot = $template->template ($page, array ("bookdetail" => $bookdetail, - "header" => $header, - "footer" => $footer, - "main" => $main)); - // If there is a syntax error in the function created - // $dot will be equal to FALSE - if (!$dot) { - return FALSE; - } - // Execute the template - if (!empty ($data)) { - return $dot ($data); - } - - return NULL; -} - -function getQueryString () { - if ( isset($_SERVER['QUERY_STRING']) ) { - return $_SERVER['QUERY_STRING']; - } - return ""; -} - -function notFound () { - header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); - header("Status: 404 Not Found"); - - $_SERVER['REDIRECT_STATUS'] = 404; -} - -function getURLParam ($name, $default = NULL) { - if (!empty ($_GET) && isset($_GET[$name]) && $_GET[$name] != "") { - return $_GET[$name]; - } - return $default; -} - -function getCurrentOption ($option) { - global $config; - if (isset($_COOKIE[$option])) { - if (isset($config ["cops_" . $option]) && is_array ($config ["cops_" . $option])) { - return explode (",", $_COOKIE[$option]); - } else { - return $_COOKIE[$option]; - } - } - if (isset($config ["cops_" . $option])) { - return $config ["cops_" . $option]; - } - - return ""; -} - -function getCurrentCss () { - return "templates/" . getCurrentTemplate () . "/styles/style-" . getCurrentOption ("style") . ".css"; -} - -function getCurrentTemplate () { - return getCurrentOption ("template"); -} - -function getUrlWithVersion ($url) { - return $url . "?v=" . VERSION; -} - -function xml2xhtml($xml) { - return preg_replace_callback('#<(\w+)([^>]*)\s*/>#s', create_function('$m', ' - $xhtml_tags = array("br", "hr", "input", "frame", "img", "area", "link", "col", "base", "basefont", "param"); - return in_array($m[1], $xhtml_tags) ? "<$m[1]$m[2] />" : "<$m[1]$m[2]>"; - '), $xml); -} - -function display_xml_error($error) -{ - $return = ""; - $return .= str_repeat('-', $error->column) . "^\n"; - - switch ($error->level) { - case LIBXML_ERR_WARNING: - $return .= "Warning $error->code: "; - break; - case LIBXML_ERR_ERROR: - $return .= "Error $error->code: "; - break; - case LIBXML_ERR_FATAL: - $return .= "Fatal Error $error->code: "; - break; - } - - $return .= trim($error->message) . - "\n Line: $error->line" . - "\n Column: $error->column"; - - if ($error->file) { - $return .= "\n File: $error->file"; - } - - return "$return\n\n--------------------------------------------\n\n"; -} - -function are_libxml_errors_ok () -{ - $errors = libxml_get_errors(); - - foreach ($errors as $error) { - if ($error->code == 801) return false; - } - return true; -} - -function html2xhtml ($html) { - $doc = new DOMDocument(); - libxml_use_internal_errors(true); - - $doc->loadHTML('' . - $html . ''); // Load the HTML - $output = $doc->saveXML($doc->documentElement); // Transform to an Ansi xml stream - $output = xml2xhtml($output); - if (preg_match ('#(.*)#ms', $output, $matches)) { - $output = $matches [1]; // Remove - } - /* - // In case of error with summary, use it to debug - $errors = libxml_get_errors(); - - foreach ($errors as $error) { - $output .= display_xml_error($error); - } - */ - - if (!are_libxml_errors_ok ()) $output = "HTML code not valid."; - - libxml_use_internal_errors(false); - return $output; -} - -/** - * This method is a direct copy-paste from - * http://tmont.com/blargh/2010/1/string-format-in-php - */ -function str_format($format) { - $args = func_get_args(); - $format = array_shift($args); - - preg_match_all('/(?=\{)\{(\d+)\}(?!\})/', $format, $matches, PREG_OFFSET_CAPTURE); - $offset = 0; - foreach ($matches[1] as $data) { - $i = $data[0]; - $format = substr_replace($format, @$args[$i], $offset + $data[1] - 1, 2 + strlen($i)); - $offset += strlen(@$args[$i]) - 2 - strlen($i); - } - - return $format; -} - -/** - * Get all accepted languages from the browser and put them in a sorted array - * languages id are normalized : fr-fr -> fr_FR - * @return array of languages - */ -function getAcceptLanguages() { - $langs = array(); - - if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { - // break up string into pieces (languages and q factors) - $accept = $_SERVER['HTTP_ACCEPT_LANGUAGE']; - if (preg_match('/^(\w{2})-\w{2}$/', $accept, $matches)) { - // Special fix for IE11 which send fr-FR and nothing else - $accept = $accept . "," . $matches[1] . ";q=0.8"; - } - preg_match_all('/([a-z]{1,8}(-[a-z]{1,8})?)\s*(;\s*q\s*=\s*(1|0\.[0-9]+))?/i', $accept, $lang_parse); - - if (count($lang_parse[1])) { - $langs = array(); - foreach ($lang_parse[1] as $lang) { - // Format the language code (not standard among browsers) - if (strlen($lang) == 5) { - $lang = str_replace("-", "_", $lang); - $splitted = preg_split("/_/", $lang); - $lang = $splitted[0] . "_" . strtoupper($splitted[1]); - } - array_push($langs, $lang); - } - // create a list like "en" => 0.8 - $langs = array_combine($langs, $lang_parse[4]); - - // set default to 1 for any without q factor - foreach ($langs as $lang => $val) { - if ($val === '') $langs[$lang] = 1; - } - - // sort list based on value - arsort($langs, SORT_NUMERIC); - } - } - - return $langs; -} - -/** - * Find the best translation file possible based on the accepted languages - * @return array of language and language file - */ -function getLangAndTranslationFile() { - global $config; - $langs = array(); - $lang = "en"; - if (!empty($config['cops_language'])) { - $lang = $config['cops_language']; - } - elseif (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { - $langs = getAcceptLanguages(); - } - //echo var_dump($langs); - $lang_file = NULL; - foreach ($langs as $language => $val) { - $temp_file = dirname(__FILE__). '/lang/Localization_' . $language . '.json'; - if (file_exists($temp_file)) { - $lang = $language; - $lang_file = $temp_file; - break; - } - } - if (empty ($lang_file)) { - $lang_file = dirname(__FILE__). '/lang/Localization_' . $lang . '.json'; - } - return array($lang, $lang_file); -} - -/** - * This method is based on this page - * http://www.mind-it.info/2010/02/22/a-simple-approach-to-localization-in-php/ - */ -function localize($phrase, $count=-1, $reset=false) { - global $config; - if ($count == 0) - $phrase .= ".none"; - if ($count == 1) - $phrase .= ".one"; - if ($count > 1) - $phrase .= ".many"; - - /* Static keyword is used to ensure the file is loaded only once */ - static $translations = NULL; - if ($reset) { - $translations = NULL; - } - /* If no instance of $translations has occured load the language file */ - if (is_null($translations)) { - $lang_file_en = NULL; - list ($lang, $lang_file) = getLangAndTranslationFile(); - if ($lang != "en") { - $lang_file_en = dirname(__FILE__). '/lang/' . 'Localization_en.json'; - } - - $lang_file_content = file_get_contents($lang_file); - /* Load the language file as a JSON object and transform it into an associative array */ - $translations = json_decode($lang_file_content, true); - - /* Clean the array of all unfinished translations */ - foreach (array_keys ($translations) as $key) { - if (preg_match ("/^##TODO##/", $key)) { - unset ($translations [$key]); - } - } - if ($lang_file_en) - { - $lang_file_content = file_get_contents($lang_file_en); - $translations_en = json_decode($lang_file_content, true); - $translations = array_merge ($translations_en, $translations); - } - } - if (array_key_exists ($phrase, $translations)) { - return $translations[$phrase]; - } - return $phrase; -} - -function addURLParameter($urlParams, $paramName, $paramValue) { - if (empty ($urlParams)) { - $urlParams = ""; - } - $start = ""; - if (preg_match ("#^\?(.*)#", $urlParams, $matches)) { - $start = "?"; - $urlParams = $matches[1]; - } - $params = array(); - parse_str($urlParams, $params); - if (empty ($paramValue) && $paramValue != 0) { - unset ($params[$paramName]); - } else { - $params[$paramName] = $paramValue; - } - return $start . http_build_query($params); -} - -function useNormAndUp () { - global $config; - return $config ['cops_normalized_search'] == "1"; -} - -function normalizeUtf8String( $s) { - include_once 'transliteration.php'; - return _transliteration_process($s); -} - -function normAndUp ($s) { - return mb_strtoupper (normalizeUtf8String($s), 'UTF-8'); -} - -class Link -{ - const OPDS_THUMBNAIL_TYPE = "http://opds-spec.org/image/thumbnail"; - const OPDS_IMAGE_TYPE = "http://opds-spec.org/image"; - const OPDS_ACQUISITION_TYPE = "http://opds-spec.org/acquisition"; - const OPDS_NAVIGATION_TYPE = "application/atom+xml;profile=opds-catalog;kind=navigation"; - const OPDS_PAGING_TYPE = "application/atom+xml;profile=opds-catalog;kind=acquisition"; - - public $href; - public $type; - public $rel; - public $title; - public $facetGroup; - public $activeFacet; - - public function __construct($phref, $ptype, $prel = NULL, $ptitle = NULL, $pfacetGroup = NULL, $pactiveFacet = FALSE) { - $this->href = $phref; - $this->type = $ptype; - $this->rel = $prel; - $this->title = $ptitle; - $this->facetGroup = $pfacetGroup; - $this->activeFacet = $pactiveFacet; - } - - public function hrefXhtml () { - return $this->href; - } - - public function getScriptName() { - $parts = explode('/', $_SERVER["SCRIPT_NAME"]); - return $parts[count($parts) - 1]; - } -} - -class LinkNavigation extends Link -{ - public function __construct($phref, $prel = NULL, $ptitle = NULL) { - parent::__construct ($phref, Link::OPDS_NAVIGATION_TYPE, $prel, $ptitle); - if (!is_null (GetUrlParam (DB))) $this->href = addURLParameter ($this->href, DB, GetUrlParam (DB)); - if (!preg_match ("#^\?(.*)#", $this->href) && !empty ($this->href)) $this->href = "?" . $this->href; - if (preg_match ("/(bookdetail|getJSON).php/", parent::getScriptName())) { - $this->href = "index.php" . $this->href; - } else { - $this->href = parent::getScriptName() . $this->href; - } - } -} - -class LinkFacet extends Link -{ - public function __construct($phref, $ptitle = NULL, $pfacetGroup = NULL, $pactiveFacet = FALSE) { - parent::__construct ($phref, Link::OPDS_PAGING_TYPE, "http://opds-spec.org/facet", $ptitle, $pfacetGroup, $pactiveFacet); - if (!is_null (GetUrlParam (DB))) $this->href = addURLParameter ($this->href, DB, GetUrlParam (DB)); - $this->href = parent::getScriptName() . $this->href; - } -} - -class Entry -{ - public $title; - public $id; - public $content; - public $numberOfElement; - public $contentType; - public $linkArray; - public $localUpdated; - public $className; - private static $updated = NULL; - - public static $icons = array( - Author::ALL_AUTHORS_ID => 'images/author.png', - Serie::ALL_SERIES_ID => 'images/serie.png', - Book::ALL_RECENT_BOOKS_ID => 'images/recent.png', - Tag::ALL_TAGS_ID => 'images/tag.png', - Language::ALL_LANGUAGES_ID => 'images/language.png', - CustomColumnType::ALL_CUSTOMS_ID => 'images/custom.png', - Rating::ALL_RATING_ID => 'images/rating.png', - "cops:books$" => 'images/allbook.png', - "cops:books:letter" => 'images/allbook.png', - Publisher::ALL_PUBLISHERS_ID => 'images/publisher.png' - ); - - public function getUpdatedTime () { - if (!is_null ($this->localUpdated)) { - return date (DATE_ATOM, $this->localUpdated); - } - if (is_null (self::$updated)) { - self::$updated = time(); - } - return date (DATE_ATOM, self::$updated); - } - - public function getNavLink () { - foreach ($this->linkArray as $link) { - /* @var $link LinkNavigation */ - - if ($link->type != Link::OPDS_NAVIGATION_TYPE) { continue; } - - return $link->hrefXhtml (); - } - return "#"; - } - - public function __construct($ptitle, $pid, $pcontent, $pcontentType, $plinkArray, $pclass = "", $pcount = 0) { - global $config; - $this->title = $ptitle; - $this->id = $pid; - $this->content = $pcontent; - $this->contentType = $pcontentType; - $this->linkArray = $plinkArray; - $this->className = $pclass; - $this->numberOfElement = $pcount; - - if ($config['cops_show_icons'] == 1) - { - foreach (self::$icons as $reg => $image) - { - if (preg_match ("/" . $reg . "/", $pid)) { - array_push ($this->linkArray, new Link (getUrlWithVersion ($image), "image/png", Link::OPDS_THUMBNAIL_TYPE)); - break; - } - } - } - - if (!is_null (GetUrlParam (DB))) $this->id = str_replace ("cops:", "cops:" . GetUrlParam (DB) . ":", $this->id); - } -} - -class EntryBook extends Entry -{ - public $book; - - /** - * EntryBook constructor. - * @param string $ptitle - * @param integer $pid - * @param string $pcontent - * @param string $pcontentType - * @param array $plinkArray - * @param Book $pbook - */ - public function __construct($ptitle, $pid, $pcontent, $pcontentType, $plinkArray, $pbook) { - parent::__construct ($ptitle, $pid, $pcontent, $pcontentType, $plinkArray); - $this->book = $pbook; - $this->localUpdated = $pbook->timestamp; - } - - public function getCoverThumbnail () { - foreach ($this->linkArray as $link) { - /* @var $link LinkNavigation */ - - if ($link->rel == Link::OPDS_THUMBNAIL_TYPE) - return $link->hrefXhtml (); - } - return null; - } - - public function getCover () { - foreach ($this->linkArray as $link) { - /* @var $link LinkNavigation */ - - if ($link->rel == Link::OPDS_IMAGE_TYPE) - return $link->hrefXhtml (); - } - return null; - } -} - -class Page -{ - public $title; - public $subtitle = ""; - public $authorName = ""; - public $authorUri = ""; - public $authorEmail = ""; - public $idPage; - public $idGet; - public $query; - public $favicon; - public $n; - public $book; - public $totalNumber = -1; - - /* @var Entry[] */ - public $entryArray = array(); - - public static function getPage ($pageId, $id, $query, $n) - { - switch ($pageId) { - case Base::PAGE_ALL_AUTHORS : - return new PageAllAuthors ($id, $query, $n); - case Base::PAGE_AUTHORS_FIRST_LETTER : - return new PageAllAuthorsLetter ($id, $query, $n); - case Base::PAGE_AUTHOR_DETAIL : - return new PageAuthorDetail ($id, $query, $n); - case Base::PAGE_ALL_TAGS : - return new PageAllTags ($id, $query, $n); - case Base::PAGE_TAG_DETAIL : - return new PageTagDetail ($id, $query, $n); - case Base::PAGE_ALL_LANGUAGES : - return new PageAllLanguages ($id, $query, $n); - case Base::PAGE_LANGUAGE_DETAIL : - return new PageLanguageDetail ($id, $query, $n); - case Base::PAGE_ALL_CUSTOMS : - return new PageAllCustoms ($id, $query, $n); - case Base::PAGE_CUSTOM_DETAIL : - return new PageCustomDetail ($id, $query, $n); - case Base::PAGE_ALL_RATINGS : - return new PageAllRating ($id, $query, $n); - case Base::PAGE_RATING_DETAIL : - return new PageRatingDetail ($id, $query, $n); - case Base::PAGE_ALL_SERIES : - return new PageAllSeries ($id, $query, $n); - case Base::PAGE_ALL_BOOKS : - return new PageAllBooks ($id, $query, $n); - case Base::PAGE_ALL_BOOKS_LETTER: - return new PageAllBooksLetter ($id, $query, $n); - case Base::PAGE_ALL_RECENT_BOOKS : - return new PageRecentBooks ($id, $query, $n); - case Base::PAGE_SERIE_DETAIL : - return new PageSerieDetail ($id, $query, $n); - case Base::PAGE_OPENSEARCH_QUERY : - return new PageQueryResult ($id, $query, $n); - case Base::PAGE_BOOK_DETAIL : - return new PageBookDetail ($id, $query, $n); - case Base::PAGE_ALL_PUBLISHERS: - return new PageAllPublishers ($id, $query, $n); - case Base::PAGE_PUBLISHER_DETAIL : - return new PagePublisherDetail ($id, $query, $n); - case Base::PAGE_ABOUT : - return new PageAbout ($id, $query, $n); - case Base::PAGE_CUSTOMIZE : - return new PageCustomize ($id, $query, $n); - default: - $page = new Page ($id, $query, $n); - $page->idPage = "cops:catalog"; - return $page; - } - } - - public function __construct($pid, $pquery, $pn) { - global $config; - - $this->idGet = $pid; - $this->query = $pquery; - $this->n = $pn; - $this->favicon = $config['cops_icon']; - $this->authorName = empty($config['cops_author_name']) ? utf8_encode('Sébastien Lucas') : $config['cops_author_name']; - $this->authorUri = empty($config['cops_author_uri']) ? 'http://blog.slucas.fr' : $config['cops_author_uri']; - $this->authorEmail = empty($config['cops_author_email']) ? 'sebastien@slucas.fr' : $config['cops_author_email']; - } - - public function InitializeContent () - { - global $config; - $this->title = $config['cops_title_default']; - $this->subtitle = $config['cops_subtitle_default']; - if (Base::noDatabaseSelected ()) { - $i = 0; - foreach (Base::getDbNameList () as $key) { - $nBooks = Book::getBookCount ($i); - array_push ($this->entryArray, new Entry ($key, "cops:{$i}:catalog", - str_format (localize ("bookword", $nBooks), $nBooks), "text", - array ( new LinkNavigation ("?" . DB . "={$i}")), "", $nBooks)); - $i++; - Base::clearDb (); - } - } else { - if (!in_array (PageQueryResult::SCOPE_AUTHOR, getCurrentOption ('ignored_categories'))) { - array_push ($this->entryArray, Author::getCount()); - } - if (!in_array (PageQueryResult::SCOPE_SERIES, getCurrentOption ('ignored_categories'))) { - $series = Serie::getCount(); - if (!is_null ($series)) array_push ($this->entryArray, $series); - } - if (!in_array (PageQueryResult::SCOPE_PUBLISHER, getCurrentOption ('ignored_categories'))) { - $publisher = Publisher::getCount(); - if (!is_null ($publisher)) array_push ($this->entryArray, $publisher); - } - if (!in_array (PageQueryResult::SCOPE_TAG, getCurrentOption ('ignored_categories'))) { - $tags = Tag::getCount(); - if (!is_null ($tags)) array_push ($this->entryArray, $tags); - } - if (!in_array (PageQueryResult::SCOPE_RATING, getCurrentOption ('ignored_categories'))) { - $rating = Rating::getCount(); - if (!is_null ($rating)) array_push ($this->entryArray, $rating); - } - if (!in_array ("language", getCurrentOption ('ignored_categories'))) { - $languages = Language::getCount(); - if (!is_null ($languages)) array_push ($this->entryArray, $languages); - } - foreach ($config['cops_calibre_custom_column'] as $lookup) { - $customColumn = CustomColumnType::createByLookup($lookup); - if (!is_null ($customColumn) && $customColumn->isSearchable()) { - array_push ($this->entryArray, $customColumn->getCount()); - } - } - $this->entryArray = array_merge ($this->entryArray, Book::getCount()); - - if (Base::isMultipleDatabaseEnabled ()) $this->title = Base::getDbName (); - } - } - - public function isPaginated () - { - return (getCurrentOption ("max_item_per_page") != -1 && - $this->totalNumber != -1 && - $this->totalNumber > getCurrentOption ("max_item_per_page")); - } - - public function getNextLink () - { - $currentUrl = preg_replace ("/\&n=.*?$/", "", "?" . getQueryString ()); - if (($this->n) * getCurrentOption ("max_item_per_page") < $this->totalNumber) { - return new LinkNavigation ($currentUrl . "&n=" . ($this->n + 1), "next", localize ("paging.next.alternate")); - } - return NULL; - } - - public function getPrevLink () - { - $currentUrl = preg_replace ("/\&n=.*?$/", "", "?" . getQueryString ()); - if ($this->n > 1) { - return new LinkNavigation ($currentUrl . "&n=" . ($this->n - 1), "previous", localize ("paging.previous.alternate")); - } - return NULL; - } - - public function getMaxPage () - { - return ceil ($this->totalNumber / getCurrentOption ("max_item_per_page")); - } - - public function containsBook () - { - if (count ($this->entryArray) == 0) return false; - if (get_class ($this->entryArray [0]) == "EntryBook") return true; - return false; - } -} - -class PageAllAuthors extends Page -{ - public function InitializeContent () - { - $this->title = localize("authors.title"); - if (getCurrentOption ("author_split_first_letter") == 1) { - $this->entryArray = Author::getAllAuthorsByFirstLetter(); - } - else { - $this->entryArray = Author::getAllAuthors(); - } - $this->idPage = Author::ALL_AUTHORS_ID; - } -} - -class PageAllAuthorsLetter extends Page -{ - public function InitializeContent () - { - $this->idPage = Author::getEntryIdByLetter ($this->idGet); - $this->entryArray = Author::getAuthorsByStartingLetter ($this->idGet); - $this->title = str_format (localize ("splitByLetter.letter"), str_format (localize ("authorword", count ($this->entryArray)), count ($this->entryArray)), $this->idGet); - } -} - -class PageAuthorDetail extends Page -{ - public function InitializeContent () - { - $author = Author::getAuthorById ($this->idGet); - $this->idPage = $author->getEntryId (); - $this->title = $author->name; - list ($this->entryArray, $this->totalNumber) = Book::getBooksByAuthor ($this->idGet, $this->n); - } -} - -class PageAllPublishers extends Page -{ - public function InitializeContent () - { - $this->title = localize("publishers.title"); - $this->entryArray = Publisher::getAllPublishers(); - $this->idPage = Publisher::ALL_PUBLISHERS_ID; - } -} - -class PagePublisherDetail extends Page -{ - public function InitializeContent () - { - $publisher = Publisher::getPublisherById ($this->idGet); - $this->title = $publisher->name; - list ($this->entryArray, $this->totalNumber) = Book::getBooksByPublisher ($this->idGet, $this->n); - $this->idPage = $publisher->getEntryId (); - } -} - -class PageAllTags extends Page -{ - public function InitializeContent () - { - $this->title = localize("tags.title"); - $this->entryArray = Tag::getAllTags(); - $this->idPage = Tag::ALL_TAGS_ID; - } -} - -class PageAllLanguages extends Page -{ - public function InitializeContent () - { - $this->title = localize("languages.title"); - $this->entryArray = Language::getAllLanguages(); - $this->idPage = Language::ALL_LANGUAGES_ID; - } -} - -class PageCustomDetail extends Page -{ - public function InitializeContent () - { - $customId = getURLParam ("custom", NULL); - $custom = CustomColumn::createCustom ($customId, $this->idGet); - $this->idPage = $custom->getEntryId (); - $this->title = $custom->value; - list ($this->entryArray, $this->totalNumber) = Book::getBooksByCustom ($custom, $this->idGet, $this->n); - } -} - -class PageAllCustoms extends Page -{ - public function InitializeContent () - { - $customId = getURLParam ("custom", NULL); - $columnType = CustomColumnType::createByCustomID($customId); - - $this->title = $columnType->getTitle(); - $this->entryArray = $columnType->getAllCustomValues(); - $this->idPage = $columnType->getAllCustomsId(); - } -} - -class PageTagDetail extends Page -{ - public function InitializeContent () - { - $tag = Tag::getTagById ($this->idGet); - $this->idPage = $tag->getEntryId (); - $this->title = $tag->name; - list ($this->entryArray, $this->totalNumber) = Book::getBooksByTag ($this->idGet, $this->n); - } -} - -class PageLanguageDetail extends Page -{ - public function InitializeContent () - { - $language = Language::getLanguageById ($this->idGet); - $this->idPage = $language->getEntryId (); - $this->title = $language->lang_code; - list ($this->entryArray, $this->totalNumber) = Book::getBooksByLanguage ($this->idGet, $this->n); - } -} - -class PageAllSeries extends Page -{ - public function InitializeContent () - { - $this->title = localize("series.title"); - $this->entryArray = Serie::getAllSeries(); - $this->idPage = Serie::ALL_SERIES_ID; - } -} - -class PageSerieDetail extends Page -{ - public function InitializeContent () - { - $serie = Serie::getSerieById ($this->idGet); - $this->title = $serie->name; - list ($this->entryArray, $this->totalNumber) = Book::getBooksBySeries ($this->idGet, $this->n); - $this->idPage = $serie->getEntryId (); - } -} - -class PageAllRating extends Page -{ - public function InitializeContent () - { - $this->title = localize("ratings.title"); - $this->entryArray = Rating::getAllRatings(); - $this->idPage = Rating::ALL_RATING_ID; - } -} - -class PageRatingDetail extends Page -{ - public function InitializeContent () - { - $rating = Rating::getRatingById ($this->idGet); - $this->idPage = $rating->getEntryId (); - $this->title =str_format (localize ("ratingword", $rating->name/2), $rating->name/2); - list ($this->entryArray, $this->totalNumber) = Book::getBooksByRating ($this->idGet, $this->n); - } -} - -class PageAllBooks extends Page -{ - public function InitializeContent () - { - $this->title = localize ("allbooks.title"); - if (getCurrentOption ("titles_split_first_letter") == 1) { - $this->entryArray = Book::getAllBooks(); - } - else { - list ($this->entryArray, $this->totalNumber) = Book::getBooks ($this->n); - } - $this->idPage = Book::ALL_BOOKS_ID; - } -} - -class PageAllBooksLetter extends Page -{ - public function InitializeContent () - { - list ($this->entryArray, $this->totalNumber) = Book::getBooksByStartingLetter ($this->idGet, $this->n); - $this->idPage = Book::getEntryIdByLetter ($this->idGet); - - $count = $this->totalNumber; - if ($count == -1) - $count = count ($this->entryArray); - - $this->title = str_format (localize ("splitByLetter.letter"), str_format (localize ("bookword", $count), $count), $this->idGet); - } -} - -class PageRecentBooks extends Page -{ - public function InitializeContent () - { - $this->title = localize ("recent.title"); - $this->entryArray = Book::getAllRecentBooks (); - $this->idPage = Book::ALL_RECENT_BOOKS_ID; - } -} - -class PageQueryResult extends Page -{ - const SCOPE_TAG = "tag"; - const SCOPE_RATING = "rating"; - const SCOPE_SERIES = "series"; - const SCOPE_AUTHOR = "author"; - const SCOPE_BOOK = "book"; - const SCOPE_PUBLISHER = "publisher"; - - private function useTypeahead () { - return !is_null (getURLParam ("search")); - } - - private function searchByScope ($scope, $limit = FALSE) { - $n = $this->n; - $numberPerPage = NULL; - $queryNormedAndUp = trim($this->query); - if (useNormAndUp ()) { - $queryNormedAndUp = normAndUp ($this->query); - } - if ($limit) { - $n = 1; - $numberPerPage = 5; - } - switch ($scope) { - case self::SCOPE_BOOK : - $array = Book::getBooksByStartingLetter ('%' . $queryNormedAndUp, $n, NULL, $numberPerPage); - break; - case self::SCOPE_AUTHOR : - $array = Author::getAuthorsForSearch ('%' . $queryNormedAndUp); - break; - case self::SCOPE_SERIES : - $array = Serie::getAllSeriesByQuery ($queryNormedAndUp); - break; - case self::SCOPE_TAG : - $array = Tag::getAllTagsByQuery ($queryNormedAndUp, $n, NULL, $numberPerPage); - break; - case self::SCOPE_PUBLISHER : - $array = Publisher::getAllPublishersByQuery ($queryNormedAndUp); - break; - default: - $array = Book::getBooksByQuery ( - array ("all" => "%" . $queryNormedAndUp . "%"), $n); - } - - return $array; - } - - public function doSearchByCategory () { - $database = GetUrlParam (DB); - $out = array (); - $pagequery = Base::PAGE_OPENSEARCH_QUERY; - $dbArray = array (""); - $d = $database; - $query = $this->query; - // Special case when no databases were chosen, we search on all databases - if (Base::noDatabaseSelected ()) { - $dbArray = Base::getDbNameList (); - $d = 0; - } - foreach ($dbArray as $key) { - if (Base::noDatabaseSelected ()) { - array_push ($this->entryArray, new Entry ($key, DB . ":query:{$d}", - " ", "text", - array ( new LinkNavigation ("?" . DB . "={$d}")), "tt-header")); - Base::getDb ($d); - } - foreach (array (PageQueryResult::SCOPE_BOOK, - PageQueryResult::SCOPE_AUTHOR, - PageQueryResult::SCOPE_SERIES, - PageQueryResult::SCOPE_TAG, - PageQueryResult::SCOPE_PUBLISHER) as $key) { - if (in_array($key, getCurrentOption ('ignored_categories'))) { - continue; - } - $array = $this->searchByScope ($key, TRUE); - - $i = 0; - if (count ($array) == 2 && is_array ($array [0])) { - $total = $array [1]; - $array = $array [0]; - } else { - $total = count($array); - } - if ($total > 0) { - // Comment to help the perl i18n script - // str_format (localize("bookword", count($array)) - // str_format (localize("authorword", count($array)) - // str_format (localize("seriesword", count($array)) - // str_format (localize("tagword", count($array)) - // str_format (localize("publisherword", count($array)) - array_push ($this->entryArray, new Entry (str_format (localize ("search.result.{$key}"), $this->query), DB . ":query:{$d}:{$key}", - str_format (localize("{$key}word", $total), $total), "text", - array ( new LinkNavigation ("?page={$pagequery}&query={$query}&db={$d}&scope={$key}")), - Base::noDatabaseSelected () ? "" : "tt-header", $total)); - } - if (!Base::noDatabaseSelected () && $this->useTypeahead ()) { - foreach ($array as $entry) { - array_push ($this->entryArray, $entry); - $i++; - if ($i > 4) { break; }; - } - } - } - $d++; - if (Base::noDatabaseSelected ()) { - Base::clearDb (); - } - } - return $out; - } - - public function InitializeContent () - { - $scope = getURLParam ("scope"); - if (empty ($scope)) { - $this->title = str_format (localize ("search.result"), $this->query); - } else { - // Comment to help the perl i18n script - // str_format (localize ("search.result.author"), $this->query) - // str_format (localize ("search.result.tag"), $this->query) - // str_format (localize ("search.result.series"), $this->query) - // str_format (localize ("search.result.book"), $this->query) - // str_format (localize ("search.result.publisher"), $this->query) - $this->title = str_format (localize ("search.result.{$scope}"), $this->query); - } - - $crit = "%" . $this->query . "%"; - - // Special case when we are doing a search and no database is selected - if (Base::noDatabaseSelected () && !$this->useTypeahead ()) { - $i = 0; - foreach (Base::getDbNameList () as $key) { - Base::clearDb (); - list ($array, $totalNumber) = Book::getBooksByQuery (array ("all" => $crit), 1, $i, 1); - array_push ($this->entryArray, new Entry ($key, DB . ":query:{$i}", - str_format (localize ("bookword", $totalNumber), $totalNumber), "text", - array ( new LinkNavigation ("?" . DB . "={$i}&page=9&query=" . $this->query)), "", $totalNumber)); - $i++; - } - return; - } - if (empty ($scope)) { - $this->doSearchByCategory (); - return; - } - - $array = $this->searchByScope ($scope); - if (count ($array) == 2 && is_array ($array [0])) { - list ($this->entryArray, $this->totalNumber) = $array; - } else { - $this->entryArray = $array; - } - } -} - -class PageBookDetail extends Page -{ - public function InitializeContent () - { - $this->book = Book::getBookById ($this->idGet); - $this->title = $this->book->title; - } -} - -class PageAbout extends Page -{ - public function InitializeContent () - { - $this->title = localize ("about.title"); - } -} - -class PageCustomize extends Page -{ - private function isChecked ($key, $testedValue = 1) { - $value = getCurrentOption ($key); - if (is_array ($value)) { - if (in_array ($testedValue, $value)) { - return "checked='checked'"; - } - } else { - if ($value == $testedValue) { - return "checked='checked'"; - } - } - return ""; - } - - private function isSelected ($key, $value) { - if (getCurrentOption ($key) == $value) { - return "selected='selected'"; - } - return ""; - } - - private function getStyleList () { - $result = array (); - foreach (glob ("templates/" . getCurrentTemplate () . "/styles/style-*.css") as $filename) { - if (preg_match ('/styles\/style-(.*?)\.css/', $filename, $m)) { - array_push ($result, $m [1]); - } - } - return $result; - } - - public function InitializeContent () - { - $this->title = localize ("customize.title"); - $this->entryArray = array (); - - $ignoredBaseArray = array (PageQueryResult::SCOPE_AUTHOR, - PageQueryResult::SCOPE_TAG, - PageQueryResult::SCOPE_SERIES, - PageQueryResult::SCOPE_PUBLISHER, - PageQueryResult::SCOPE_RATING, - "language"); - - $content = ""; - array_push ($this->entryArray, new Entry ("Template", "", - "Click to switch to Bootstrap", "text", - array ())); - if (!preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) { - $content .= ''; - } else { - foreach ($this-> getStyleList () as $filename) { - $content .= "isChecked ("style", $filename) . " />"; - } - } - array_push ($this->entryArray, new Entry (localize ("customize.style"), "", - $content, "text", - array ())); - if (!useServerSideRendering ()) { - $content = 'isChecked ("use_fancyapps") . ' />'; - array_push ($this->entryArray, new Entry (localize ("customize.fancybox"), "", - $content, "text", - array ())); - } - $content = ''; - array_push ($this->entryArray, new Entry (localize ("customize.paging"), "", - $content, "text", - array ())); - $content = ''; - array_push ($this->entryArray, new Entry (localize ("customize.email"), "", - $content, "text", - array ())); - $content = 'isChecked ("html_tag_filter") . ' />'; - array_push ($this->entryArray, new Entry (localize ("customize.filter"), "", - $content, "text", - array ())); - $content = ""; - foreach ($ignoredBaseArray as $key) { - $keyPlural = preg_replace ('/(ss)$/', 's', $key . "s"); - $content .= 'isChecked ("ignored_categories", $key) . ' > ' . localize ("{$keyPlural}.title") . ' '; - } - - array_push ($this->entryArray, new Entry (localize ("customize.ignored"), "", - $content, "text", - array ())); - } -} - -abstract class Base -{ - const PAGE_INDEX = "index"; - const PAGE_ALL_AUTHORS = "1"; - const PAGE_AUTHORS_FIRST_LETTER = "2"; - const PAGE_AUTHOR_DETAIL = "3"; - const PAGE_ALL_BOOKS = "4"; - const PAGE_ALL_BOOKS_LETTER = "5"; - const PAGE_ALL_SERIES = "6"; - const PAGE_SERIE_DETAIL = "7"; - const PAGE_OPENSEARCH = "8"; - const PAGE_OPENSEARCH_QUERY = "9"; - const PAGE_ALL_RECENT_BOOKS = "10"; - const PAGE_ALL_TAGS = "11"; - const PAGE_TAG_DETAIL = "12"; - const PAGE_BOOK_DETAIL = "13"; - const PAGE_ALL_CUSTOMS = "14"; - const PAGE_CUSTOM_DETAIL = "15"; - const PAGE_ABOUT = "16"; - const PAGE_ALL_LANGUAGES = "17"; - const PAGE_LANGUAGE_DETAIL = "18"; - const PAGE_CUSTOMIZE = "19"; - const PAGE_ALL_PUBLISHERS = "20"; - const PAGE_PUBLISHER_DETAIL = "21"; - const PAGE_ALL_RATINGS = "22"; - const PAGE_RATING_DETAIL = "23"; - - const COMPATIBILITY_XML_ALDIKO = "aldiko"; - - private static $db = NULL; - - public static function isMultipleDatabaseEnabled () { - global $config; - return is_array ($config['calibre_directory']); - } - - public static function useAbsolutePath () { - global $config; - $path = self::getDbDirectory(); - return preg_match ('/^\//', $path) || // Linux / - preg_match ('/^\w\:/', $path); // Windows X: - } - - public static function noDatabaseSelected () { - return self::isMultipleDatabaseEnabled () && is_null (GetUrlParam (DB)); - } - - public static function getDbList () { - global $config; - if (self::isMultipleDatabaseEnabled ()) { - return $config['calibre_directory']; - } else { - return array ("" => $config['calibre_directory']); - } - } - - public static function getDbNameList () { - global $config; - if (self::isMultipleDatabaseEnabled ()) { - return array_keys ($config['calibre_directory']); - } else { - return array (""); - } - } - - public static function getDbName ($database = NULL) { - global $config; - if (self::isMultipleDatabaseEnabled ()) { - if (is_null ($database)) $database = GetUrlParam (DB, 0); - if (!is_null($database) && !preg_match('/^\d+$/', $database)) { - self::error ($database); - } - $array = array_keys ($config['calibre_directory']); - return $array[$database]; - } - return ""; - } - - public static function getDbDirectory ($database = NULL) { - global $config; - if (self::isMultipleDatabaseEnabled ()) { - if (is_null ($database)) $database = GetUrlParam (DB, 0); - if (!is_null($database) && !preg_match('/^\d+$/', $database)) { - self::error ($database); - } - $array = array_values ($config['calibre_directory']); - return $array[$database]; - } - return $config['calibre_directory']; - } - - - public static function getDbFileName ($database = NULL) { - return self::getDbDirectory ($database) .'metadata.db'; - } - - private static function error ($database) { - if (php_sapi_name() != "cli") { - header("location: checkconfig.php?err=1"); - } - throw new Exception("Database <{$database}> not found."); - } - - public static function getDb ($database = NULL) { - if (is_null (self::$db)) { - try { - if (is_readable (self::getDbFileName ($database))) { - self::$db = new PDO('sqlite:'. self::getDbFileName ($database)); - if (useNormAndUp ()) { - self::$db->sqliteCreateFunction ('normAndUp', 'normAndUp', 1); - } - } else { - self::error ($database); - } - } catch (Exception $e) { - self::error ($database); - } - } - return self::$db; - } - - public static function checkDatabaseAvailability () { - if (self::noDatabaseSelected ()) { - for ($i = 0; $i < count (self::getDbList ()); $i++) { - self::getDb ($i); - self::clearDb (); - } - } else { - self::getDb (); - } - return true; - } - - public static function clearDb () { - self::$db = NULL; - } - - public static function executeQuerySingle ($query, $database = NULL) { - return self::getDb ($database)->query($query)->fetchColumn(); - } - - public static function getCountGeneric($table, $id, $pageId, $numberOfString = NULL) { - if (!$numberOfString) { - $numberOfString = $table . ".alphabetical"; - } - $count = self::executeQuerySingle ('select count(*) from ' . $table); - if ($count == 0) return NULL; - $entry = new Entry (localize($table . ".title"), $id, - str_format (localize($numberOfString, $count), $count), "text", - array ( new LinkNavigation ("?page=".$pageId)), "", $count); - return $entry; - } - - public static function getEntryArrayWithBookNumber ($query, $columns, $params, $category) { - /* @var $result PDOStatement */ - - list (, $result) = self::executeQuery ($query, $columns, "", $params, -1); - $entryArray = array(); - while ($post = $result->fetchObject ()) - { - /* @var $instance Author|Tag|Serie|Publisher */ - - $instance = new $category ($post); - if (property_exists($post, "sort")) { - $title = $post->sort; - } else { - $title = $post->name; - } - array_push ($entryArray, new Entry ($title, $instance->getEntryId (), - str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ($instance->getUri ())), "", $post->count)); - } - return $entryArray; - } - - public static function executeQuery($query, $columns, $filter, $params, $n, $database = NULL, $numberPerPage = NULL) { - $totalResult = -1; - - if (useNormAndUp ()) { - $query = preg_replace("/upper/", "normAndUp", $query); - $columns = preg_replace("/upper/", "normAndUp", $columns); - } - - if (is_null ($numberPerPage)) { - $numberPerPage = getCurrentOption ("max_item_per_page"); - } - - if ($numberPerPage != -1 && $n != -1) - { - // First check total number of results - $result = self::getDb ($database)->prepare (str_format ($query, "count(*)", $filter)); - $result->execute ($params); - $totalResult = $result->fetchColumn (); - - // Next modify the query and params - $query .= " limit ?, ?"; - array_push ($params, ($n - 1) * $numberPerPage, $numberPerPage); - } - - $result = self::getDb ($database)->prepare(str_format ($query, $columns, $filter)); - $result->execute ($params); - return array ($totalResult, $result); - } - -} diff --git a/sources/book.php b/sources/book.php deleted file mode 100644 index a61f950..0000000 --- a/sources/book.php +++ /dev/null @@ -1,661 +0,0 @@ - - */ - -require_once('base.php'); -require_once('serie.php'); -require_once('author.php'); -require_once('rating.php'); -require_once('publisher.php'); -require_once('tag.php'); -require_once('language.php'); -require_once("customcolumn.php"); -require_once('data.php'); -require_once('resources/php-epub-meta/epub.php'); - -// Silly thing because PHP forbid string concatenation in class const -define ('SQL_BOOKS_LEFT_JOIN', "left outer join comments on comments.book = books.id - left outer join books_ratings_link on books_ratings_link.book = books.id - left outer join ratings on books_ratings_link.rating = ratings.id "); -define ('SQL_BOOKS_ALL', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " order by books.sort "); -define ('SQL_BOOKS_BY_PUBLISHER', "select {0} from books_publishers_link, books " . SQL_BOOKS_LEFT_JOIN . " - where books_publishers_link.book = books.id and publisher = ? {1} order by publisher"); -define ('SQL_BOOKS_BY_FIRST_LETTER', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - where upper (books.sort) like ? order by books.sort"); -define ('SQL_BOOKS_BY_AUTHOR', "select {0} from books_authors_link, books " . SQL_BOOKS_LEFT_JOIN . " - left outer join books_series_link on books_series_link.book = books.id - where books_authors_link.book = books.id and author = ? {1} order by series desc, series_index asc, pubdate asc"); -define ('SQL_BOOKS_BY_SERIE', "select {0} from books_series_link, books " . SQL_BOOKS_LEFT_JOIN . " - where books_series_link.book = books.id and series = ? {1} order by series_index"); -define ('SQL_BOOKS_BY_TAG', "select {0} from books_tags_link, books " . SQL_BOOKS_LEFT_JOIN . " - where books_tags_link.book = books.id and tag = ? {1} order by sort"); -define ('SQL_BOOKS_BY_LANGUAGE', "select {0} from books_languages_link, books " . SQL_BOOKS_LEFT_JOIN . " - where books_languages_link.book = books.id and lang_code = ? {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and {2}.{3} = ? {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_BOOL_TRUE', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and {2}.value = 1 {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_BOOL_FALSE', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and {2}.value = 0 {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_BOOL_NULL', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - where books.id not in (select book from {2}) {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_RATING', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - left join {2} on {2}.book = books.id - left join {3} on {3}.id = {2}.{4} - where {3}.value = ? order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_RATING_NULL', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - left join {2} on {2}.book = books.id - left join {3} on {3}.id = {2}.{4} - where ((books.id not in (select {2}.book from {2})) or ({3}.value = 0)) {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_DATE', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and date({2}.value) = ? {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_DIRECT', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and {2}.value = ? {1} order by sort"); -define ('SQL_BOOKS_BY_CUSTOM_DIRECT_ID', "select {0} from {2}, books " . SQL_BOOKS_LEFT_JOIN . " - where {2}.book = books.id and {2}.id = ? {1} order by sort"); -define ('SQL_BOOKS_QUERY', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - where ( - exists (select null from authors, books_authors_link where book = books.id and author = authors.id and authors.name like ?) or - exists (select null from tags, books_tags_link where book = books.id and tag = tags.id and tags.name like ?) or - exists (select null from series, books_series_link on book = books.id and books_series_link.series = series.id and series.name like ?) or - exists (select null from publishers, books_publishers_link where book = books.id and books_publishers_link.publisher = publishers.id and publishers.name like ?) or - title like ?) {1} order by books.sort"); -define ('SQL_BOOKS_RECENT', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - where 1=1 {1} order by timestamp desc limit "); -define ('SQL_BOOKS_BY_RATING', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . " - where books_ratings_link.book = books.id and ratings.id = ? {1} order by sort"); - -class Book extends Base { - const ALL_BOOKS_UUID = "urn:uuid"; - const ALL_BOOKS_ID = "cops:books"; - const ALL_RECENT_BOOKS_ID = "cops:recentbooks"; - const BOOK_COLUMNS = "books.id as id, books.title as title, text as comment, path, timestamp, pubdate, series_index, uuid, has_cover, ratings.rating"; - - const SQL_BOOKS_LEFT_JOIN = SQL_BOOKS_LEFT_JOIN; - const SQL_BOOKS_ALL = SQL_BOOKS_ALL; - const SQL_BOOKS_BY_PUBLISHER = SQL_BOOKS_BY_PUBLISHER; - const SQL_BOOKS_BY_FIRST_LETTER = SQL_BOOKS_BY_FIRST_LETTER; - const SQL_BOOKS_BY_AUTHOR = SQL_BOOKS_BY_AUTHOR; - const SQL_BOOKS_BY_SERIE = SQL_BOOKS_BY_SERIE; - const SQL_BOOKS_BY_TAG = SQL_BOOKS_BY_TAG; - const SQL_BOOKS_BY_LANGUAGE = SQL_BOOKS_BY_LANGUAGE; - const SQL_BOOKS_BY_CUSTOM = SQL_BOOKS_BY_CUSTOM; - const SQL_BOOKS_BY_CUSTOM_BOOL_TRUE = SQL_BOOKS_BY_CUSTOM_BOOL_TRUE; - const SQL_BOOKS_BY_CUSTOM_BOOL_FALSE = SQL_BOOKS_BY_CUSTOM_BOOL_FALSE; - const SQL_BOOKS_BY_CUSTOM_BOOL_NULL = SQL_BOOKS_BY_CUSTOM_BOOL_NULL; - const SQL_BOOKS_BY_CUSTOM_RATING = SQL_BOOKS_BY_CUSTOM_RATING; - const SQL_BOOKS_BY_CUSTOM_RATING_NULL = SQL_BOOKS_BY_CUSTOM_RATING_NULL; - const SQL_BOOKS_BY_CUSTOM_DATE = SQL_BOOKS_BY_CUSTOM_DATE; - const SQL_BOOKS_BY_CUSTOM_DIRECT = SQL_BOOKS_BY_CUSTOM_DIRECT; - const SQL_BOOKS_BY_CUSTOM_DIRECT_ID = SQL_BOOKS_BY_CUSTOM_DIRECT_ID; - const SQL_BOOKS_QUERY = SQL_BOOKS_QUERY; - const SQL_BOOKS_RECENT = SQL_BOOKS_RECENT; - const SQL_BOOKS_BY_RATING = SQL_BOOKS_BY_RATING; - - const BAD_SEARCH = "QQQQQ"; - - public $id; - public $title; - public $timestamp; - public $pubdate; - public $path; - public $uuid; - public $hasCover; - public $relativePath; - public $seriesIndex; - public $comment; - public $rating; - public $datas = NULL; - public $authors = NULL; - public $publisher = NULL; - public $serie = NULL; - public $tags = NULL; - public $languages = NULL; - public $format = array (); - - - public function __construct($line) { - $this->id = $line->id; - $this->title = $line->title; - $this->timestamp = strtotime ($line->timestamp); - $this->pubdate = $line->pubdate; - $this->path = Base::getDbDirectory () . $line->path; - $this->relativePath = $line->path; - $this->seriesIndex = $line->series_index; - $this->comment = $line->comment; - $this->uuid = $line->uuid; - $this->hasCover = $line->has_cover; - if (!file_exists ($this->getFilePath ("jpg"))) { - // double check - $this->hasCover = 0; - } - $this->rating = $line->rating; - } - - public function getEntryId () { - return self::ALL_BOOKS_UUID.":".$this->uuid; - } - - public static function getEntryIdByLetter ($startingLetter) { - return self::ALL_BOOKS_ID.":letter:".$startingLetter; - } - - public function getUri () { - return "?page=".parent::PAGE_BOOK_DETAIL."&id=$this->id"; - } - - public function getDetailUrl () { - $urlParam = $this->getUri (); - if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB)); - return 'index.php' . $urlParam; - } - - public function getTitle () { - return $this->title; - } - - /* Other class (author, series, tag, ...) initialization and accessors */ - - /** - * @return Author[] - */ - public function getAuthors () { - if (is_null ($this->authors)) { - $this->authors = Author::getAuthorByBookId ($this->id); - } - return $this->authors; - } - - public function getAuthorsName () { - return implode (", ", array_map (function ($author) { return $author->name; }, $this->getAuthors ())); - } - - public function getAuthorsSort () { - return implode (", ", array_map (function ($author) { return $author->sort; }, $this->getAuthors ())); - } - - public function getPublisher () { - if (is_null ($this->publisher)) { - $this->publisher = Publisher::getPublisherByBookId ($this->id); - } - return $this->publisher; - } - - /** - * @return Serie - */ - public function getSerie () { - if (is_null ($this->serie)) { - $this->serie = Serie::getSerieByBookId ($this->id); - } - return $this->serie; - } - - /** - * @return string - */ - public function getLanguages () { - $lang = array (); - $result = parent::getDb ()->prepare('select languages.lang_code - from books_languages_link, languages - where books_languages_link.lang_code = languages.id - and book = ? - order by item_order'); - $result->execute (array ($this->id)); - while ($post = $result->fetchObject ()) - { - array_push ($lang, Language::getLanguageString($post->lang_code)); - } - return implode (", ", $lang); - } - - /** - * @return Tag[] - */ - public function getTags () { - if (is_null ($this->tags)) { - $this->tags = array (); - - $result = parent::getDb ()->prepare('select tags.id as id, name - from books_tags_link, tags - where tag = tags.id - and book = ? - order by name'); - $result->execute (array ($this->id)); - while ($post = $result->fetchObject ()) - { - array_push ($this->tags, new Tag ($post)); - } - } - return $this->tags; - } - - public function getTagsName () { - return implode (", ", array_map (function ($tag) { return $tag->name; }, $this->getTags ())); - } - - /** - * @return Data[] - */ - public function getDatas () - { - if (is_null ($this->datas)) { - $this->datas = Data::getDataByBook ($this); - } - return $this->datas; - } - - /* End of other class (author, series, tag, ...) initialization and accessors */ - - public static function getFilterString () { - $filter = getURLParam ("tag", NULL); - if (empty ($filter)) return ""; - - $exists = true; - if (preg_match ("/^!(.*)$/", $filter, $matches)) { - $exists = false; - $filter = $matches[1]; - } - - $result = "exists (select null from books_tags_link, tags where books_tags_link.book = books.id and books_tags_link.tag = tags.id and tags.name = '" . $filter . "')"; - - if (!$exists) { - $result = "not " . $result; - } - - return "and " . $result; - } - - public function GetMostInterestingDataToSendToKindle () - { - $bestFormatForKindle = array ("EPUB", "PDF", "AZW3", "MOBI"); - $bestRank = -1; - $bestData = NULL; - foreach ($this->getDatas () as $data) { - $key = array_search ($data->format, $bestFormatForKindle); - if ($key !== false && $key > $bestRank) { - $bestRank = $key; - $bestData = $data; - } - } - return $bestData; - } - - public function getDataById ($idData) - { - $reduced = array_filter ($this->getDatas (), function ($data) use ($idData) { - return $data->id == $idData; - }); - return reset ($reduced); - } - - public function getRating () { - if (is_null ($this->rating) || $this->rating == 0) { - return ""; - } - $retour = ""; - for ($i = 0; $i < $this->rating / 2; $i++) { - $retour .= "★"; - } - for ($i = 0; $i < 5 - $this->rating / 2; $i++) { - $retour .= "☆"; - } - return $retour; - } - - public function getPubDate () { - if (empty ($this->pubdate)) { - return ""; - } - $dateY = (int) substr($this->pubdate, 0, 4); - if ($dateY > 102) { - return str_pad($dateY, 4, "0", STR_PAD_LEFT); - } - return ""; - } - - public function getComment ($withSerie = true) { - $addition = ""; - $se = $this->getSerie (); - if (!is_null ($se) && $withSerie) { - $addition = $addition . "" . localize("content.series") . "" . str_format (localize ("content.series.data"), $this->seriesIndex, htmlspecialchars ($se->name)) . "
\n"; - } - if (preg_match ("/<\/(div|p|a|span)>/", $this->comment)) - { - return $addition . html2xhtml ($this->comment); - } - else - { - return $addition . htmlspecialchars ($this->comment); - } - } - - public function getDataFormat ($format) { - $reduced = array_filter ($this->getDatas (), function ($data) use ($format) { - return $data->format == $format; - }); - return reset ($reduced); - } - - public function getFilePath ($extension, $idData = NULL, $relative = false) - { - if ($extension == "jpg") - { - $file = "cover.jpg"; - } - else - { - $data = $this->getDataById ($idData); - if (!$data) return NULL; - $file = $data->name . "." . strtolower ($data->format); - } - - if ($relative) - { - return $this->relativePath."/".$file; - } - else - { - return $this->path."/".$file; - } - } - - public function getUpdatedEpub ($idData) - { - global $config; - $data = $this->getDataById ($idData); - - try - { - $epub = new EPub ($data->getLocalPath ()); - - $epub->Title ($this->title); - $authorArray = array (); - foreach ($this->getAuthors() as $author) { - $authorArray [$author->sort] = $author->name; - } - $epub->Authors ($authorArray); - $epub->Language ($this->getLanguages ()); - $epub->Description ($this->getComment (false)); - $epub->Subjects ($this->getTagsName ()); - $epub->Cover2 ($this->getFilePath ("jpg"), "image/jpeg"); - $epub->Calibre ($this->uuid); - $se = $this->getSerie (); - if (!is_null ($se)) { - $epub->Serie ($se->name); - $epub->SerieIndex ($this->seriesIndex); - } - if ($config['cops_provide_kepub'] == "1" && preg_match("/Kobo/", $_SERVER['HTTP_USER_AGENT'])) { - $epub->updateForKepub (); - } - $epub->download ($data->getUpdatedFilenameEpub ()); - } - catch (Exception $e) - { - echo "Exception : " . $e->getMessage(); - } - } - - public function getThumbnail ($width, $height, $outputfile = NULL) { - if (is_null ($width) && is_null ($height)) { - return false; - } - - $file = $this->getFilePath ("jpg"); - // get image size - if ($size = GetImageSize($file)) { - $w = $size[0]; - $h = $size[1]; - //set new size - if (!is_null ($width)) { - $nw = $width; - if ($nw >= $w) { return false; } - $nh = ($nw*$h)/$w; - } else { - $nh = $height; - if ($nh >= $h) { return false; } - $nw = ($nh*$w)/$h; - } - } else { - return false; - } - - //draw the image - $src_img = imagecreatefromjpeg($file); - $dst_img = imagecreatetruecolor($nw,$nh); - imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $nw, $nh, $w, $h);//resizing the image - imagejpeg($dst_img,$outputfile,80); - imagedestroy($src_img); - imagedestroy($dst_img); - - return true; - } - - public function getLinkArray () - { - $linkArray = array(); - - if ($this->hasCover) - { - array_push ($linkArray, Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_IMAGE_TYPE, "cover.jpg", NULL)); - - array_push ($linkArray, Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL)); - } - - foreach ($this->getDatas () as $data) - { - if ($data->isKnownType ()) - { - array_push ($linkArray, $data->getDataLink (Link::OPDS_ACQUISITION_TYPE, $data->format)); - } - } - - foreach ($this->getAuthors () as $author) { - /* @var $author Author */ - array_push ($linkArray, new LinkNavigation ($author->getUri (), "related", str_format (localize ("bookentry.author"), localize ("splitByLetter.book.other"), $author->name))); - } - - $serie = $this->getSerie (); - if (!is_null ($serie)) { - array_push ($linkArray, new LinkNavigation ($serie->getUri (), "related", str_format (localize ("content.series.data"), $this->seriesIndex, $serie->name))); - } - - return $linkArray; - } - - - public function getEntry () { - return new EntryBook ($this->getTitle (), $this->getEntryId (), - $this->getComment (), "text/html", - $this->getLinkArray (), $this); - } - - public static function getBookCount($database = NULL) { - return parent::executeQuerySingle ('select count(*) from books', $database); - } - - public static function getCount() { - global $config; - $nBooks = parent::executeQuerySingle ('select count(*) from books'); - $result = array(); - $entry = new Entry (localize ("allbooks.title"), - self::ALL_BOOKS_ID, - str_format (localize ("allbooks.alphabetical", $nBooks), $nBooks), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS)), "", $nBooks); - array_push ($result, $entry); - if ($config['cops_recentbooks_limit'] > 0) { - $entry = new Entry (localize ("recent.title"), - self::ALL_RECENT_BOOKS_ID, - str_format (localize ("recent.list"), $config['cops_recentbooks_limit']), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_ALL_RECENT_BOOKS)), "", $config['cops_recentbooks_limit']); - array_push ($result, $entry); - } - return $result; - } - - public static function getBooksByAuthor($authorId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_AUTHOR, array ($authorId), $n); - } - - public static function getBooksByRating($ratingId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_RATING, array ($ratingId), $n); - } - - public static function getBooksByPublisher($publisherId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_PUBLISHER, array ($publisherId), $n); - } - - public static function getBooksBySeries($serieId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_SERIE, array ($serieId), $n); - } - - public static function getBooksByTag($tagId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_TAG, array ($tagId), $n); - } - - public static function getBooksByLanguage($languageId, $n) { - return self::getEntryArray (self::SQL_BOOKS_BY_LANGUAGE, array ($languageId), $n); - } - - /** - * @param $customColumn CustomColumn - * @param $id integer - * @param $n integer - * @return array - */ - public static function getBooksByCustom($customColumn, $id, $n) { - list($query, $params) = $customColumn->getQuery($id); - - return self::getEntryArray ($query, $params, $n); - } - - public static function getBookById($bookId) { - $result = parent::getDb ()->prepare('select ' . self::BOOK_COLUMNS . ' -from books ' . self::SQL_BOOKS_LEFT_JOIN . ' -where books.id = ?'); - $result->execute (array ($bookId)); - while ($post = $result->fetchObject ()) - { - $book = new Book ($post); - return $book; - } - return NULL; - } - - public static function getBookByDataId($dataId) { - $result = parent::getDb ()->prepare('select ' . self::BOOK_COLUMNS . ', data.name, data.format -from data, books ' . self::SQL_BOOKS_LEFT_JOIN . ' -where data.book = books.id and data.id = ?'); - $result->execute (array ($dataId)); - while ($post = $result->fetchObject ()) - { - $book = new Book ($post); - $data = new Data ($post, $book); - $data->id = $dataId; - $book->datas = array ($data); - return $book; - } - return NULL; - } - - public static function getBooksByQuery($query, $n, $database = NULL, $numberPerPage = NULL) { - $i = 0; - $critArray = array (); - foreach (array (PageQueryResult::SCOPE_AUTHOR, - PageQueryResult::SCOPE_TAG, - PageQueryResult::SCOPE_SERIES, - PageQueryResult::SCOPE_PUBLISHER, - PageQueryResult::SCOPE_BOOK) as $key) { - if (in_array($key, getCurrentOption ('ignored_categories')) || - (!array_key_exists ($key, $query) && !array_key_exists ("all", $query))) { - $critArray [$i] = self::BAD_SEARCH; - } - else { - if (array_key_exists ($key, $query)) { - $critArray [$i] = $query [$key]; - } else { - $critArray [$i] = $query ["all"]; - } - } - $i++; - } - return self::getEntryArray (self::SQL_BOOKS_QUERY, $critArray, $n, $database, $numberPerPage); - } - - public static function getBooks($n) { - list ($entryArray, $totalNumber) = self::getEntryArray (self::SQL_BOOKS_ALL , array (), $n); - return array ($entryArray, $totalNumber); - } - - public static function getAllBooks() { - /* @var $result PDOStatement */ - - list (, $result) = parent::executeQuery ("select {0} -from books -group by substr (upper (sort), 1, 1) -order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, count(*) as count", self::getFilterString (), array (), -1); - - $entryArray = array(); - while ($post = $result->fetchObject ()) - { - array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title), - str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title))), "", $post->count)); - } - return $entryArray; - } - - public static function getBooksByStartingLetter($letter, $n, $database = NULL, $numberPerPage = NULL) { - return self::getEntryArray (self::SQL_BOOKS_BY_FIRST_LETTER, array ($letter . "%"), $n, $database, $numberPerPage); - } - - public static function getEntryArray ($query, $params, $n, $database = NULL, $numberPerPage = NULL) { - /* @var $totalNumber integer */ - /* @var $result PDOStatement */ - list($totalNumber, $result) = parent::executeQuery($query, self::BOOK_COLUMNS, self::getFilterString (), $params, $n, $database, $numberPerPage); - - $entryArray = array(); - while ($post = $result->fetchObject()) - { - $book = new Book ($post); - array_push ($entryArray, $book->getEntry()); - } - return array ($entryArray, $totalNumber); - } - - public static function getAllRecentBooks() { - global $config; - list ($entryArray, ) = self::getEntryArray (self::SQL_BOOKS_RECENT . $config['cops_recentbooks_limit'], array (), -1); - return $entryArray; - } - - /** - * The values of all the specified columns - * - * @param string[] $columns - * @return CustomColumn[] - */ - public function getCustomColumnValues($columns, $asArray = false) { - $result = array(); - - foreach ($columns as $lookup) { - $col = CustomColumnType::createByLookup($lookup); - if (! is_null($col)) { - $cust = $col->getCustomByBook($this); - if (! is_null($cust)) { - if ($asArray) { - array_push($result, $cust->toArray()); - } else { - array_push($result, $cust); - } - } - } - } - - return $result; - } -} diff --git a/sources/checkconfig.php b/sources/checkconfig.php deleted file mode 100644 index 4ef2a29..0000000 --- a/sources/checkconfig.php +++ /dev/null @@ -1,257 +0,0 @@ - - - - * - */ - - require_once ("config.php"); - require_once ("base.php"); - - $err = getURLParam ("err", -1); - $full = getURLParam ("full"); - $error = NULL; - switch ($err) { - case 1 : - $error = "Database error"; - break; - } - -?> - - - - COPS Configuration Check - - - -
-
-
-

COPS Configuration Check

-
-
- -
- -
-

You've been redirected because COPS is not configured properly

-

-
- -
-

Check if PHP version is correct

-

- = 50300) { - echo "OK (" . PHP_VERSION . ")"; - } else { - echo "Please install PHP >= 5.3 (" . PHP_VERSION . ")"; - } - } else { - echo "Please install PHP >= 5.3"; - } - ?> -

-
-
-

Check if GD is properly installed and loaded

-

- -

-
-
-

Check if Sqlite is properly installed and loaded

-

- -

-
-
-

Check if libxml is properly installed and loaded

-

- -

-
-
-

Check if Json is properly installed and loaded

-

- -

-
-
-

Check if mbstring is properly installed and loaded

-

- -

-
-
-

Check if intl is properly installed and loaded

-

- -

-
-
-

Check if Normalizer class is properly installed and loaded

-

- -

-
-
-

Check if the rendering will be done on client side or server side

-

- -

-
- $database) { -?> -
-

Check if Calibre database path is not an URL

-

- -

-
-
-

Check if Calibre database file exists and is readable

-

- -
  • Value of \$config['calibre_directory'] in config_local.php
  • -
  • Value of open_basedir in your php.ini
  • -
  • The access rights of the Calibre Database
  • -
  • Synology users please read this
  • -"; - } - ?> -

    -
    - -
    -

    Check if Calibre database file can be opened with PHP

    -

    - -

    -
    -
    -

    Check if Calibre database file contains at least some of the needed tables

    -

    - query("select count(*) FROM sqlite_master WHERE type='table' AND name in ('books', 'authors', 'tags', 'series')")->fetchColumn(); - if ($count == 4) { - echo "{$name} OK"; - } else { - echo "{$name} Not all Calibre tables were found. Are you sure you're using the correct database."; - } - } catch (Exception $e) { - echo "{$name} If the file is readable, check your php configuration. Exception detail : " . $e; - } - ?> -

    -
    - -
    -

    Check if all Calibre books are found

    -

    - prepare("select books.path || '/' || data.name || '.' || lower (format) as fullpath from data join books on data.book = books.id"); - $result->execute (); - while ($post = $result->fetchObject ()) - { - if (!is_file (Base::getDbDirectory ($i) . $post->fullpath)) { - echo "

    " . Base::getDbDirectory ($i) . $post->fullpath . "

    "; - } - } - } catch (Exception $e) { - echo "{$name} If the file is readable, check your php configuration. Exception detail : " . $e; - } - ?> -

    -
    - - - -
    -
    -
    - - diff --git a/sources/config.php b/sources/config.php deleted file mode 100644 index 2990244..0000000 --- a/sources/config.php +++ /dev/null @@ -1,35 +0,0 @@ - - */ - -require_once 'config_default.php'; -if (file_exists(dirname(__FILE__) . '/config_local.php') && (php_sapi_name() !== 'cli')) { - require_once 'config_local.php'; -} - -$remote_user = array_key_exists('PHP_AUTH_USER', $_SERVER) ? $_SERVER['PHP_AUTH_USER'] : ''; -// Clean username, only allow a-z, A-Z, 0-9, -_ chars -$remote_user = preg_replace( "/[^a-zA-Z0-9_-]/", "", $remote_user); -$user_config_file = 'config_local.' . $remote_user . '.php'; -if (file_exists(dirname(__FILE__) . '/' . $user_config_file) && (php_sapi_name() !== 'cli')) { - require_once $user_config_file; -} - -if(!is_null($config['cops_basic_authentication']) && - is_array($config['cops_basic_authentication'])) -{ - if (!isset($_SERVER['PHP_AUTH_USER']) || - (isset($_SERVER['PHP_AUTH_USER']) && - ($_SERVER['PHP_AUTH_USER']!=$config['cops_basic_authentication']['username'] || - $_SERVER['PHP_AUTH_PW'] != $config['cops_basic_authentication']['password']))) - { - header('WWW-Authenticate: Basic realm="COPS Authentication"'); - header('HTTP/1.0 401 Unauthorized'); - echo 'This site is password protected'; - exit; - } -} diff --git a/sources/config_default.php b/sources/config_default.php deleted file mode 100644 index 4b7b5f7..0000000 --- a/sources/config_default.php +++ /dev/null @@ -1,328 +0,0 @@ - - */ - - if (!isset($config)) - $config = array(); - - /* - * The directory containing calibre's metadata.db file, with sub-directories - * containing all the formats. - * BEWARE : it has to end with a / - * You can enable multiple database with this notation instead of a simple string : - * $config['calibre_directory'] = array ("My database name" => "/home/directory/calibre1/", "My other database name" => "/home/directory/calibre2/"); - */ - $config['calibre_directory'] = './'; - - /* - * SPECIFIC TO NGINX - * The internal directory set in nginx config file - * Leave empty if you don't know what you're doing - */ - $config['calibre_internal_directory'] = ''; - - /* - * Full URL prefix (with trailing /) - * useful especially for Opensearch where a full URL is often required - * For example Mantano, Aldiko and Marvin require it. - */ - $config['cops_full_url'] = ''; - - /* - * Number of recent books to show - */ - $config['cops_recentbooks_limit'] = '50'; - - /* - * Catalog's author name - */ - $config['cops_author_name'] = "Sébastien Lucas"; - - /* - * Catalog's author uri - */ - $config['cops_author_uri'] = "http://blog.slucas.fr"; - - /* - * Catalog's author email - */ - $config['cops_author_email'] = "sebastien@slucas.fr"; - - /* - * Catalog's title - */ - $config['cops_title_default'] = "COPS"; - - /* - * Catalog's subtitle - */ - $config['cops_subtitle_default'] = ""; - - /* - * Wich header to use when downloading books outside the web directory - * Possible values are : - * X-Accel-Redirect : For Nginx - * X-Sendfile : For Lightttpd or Apache (with mod_xsendfile) - * No value (default) : Let PHP handle the download - */ - $config['cops_x_accel_redirect'] = ""; - - /* - * Height of thumbnail image for OPDS - */ - $config['cops_opds_thumbnail_height'] = "164"; - - /* - * Height of thumbnail image for HTML - */ - $config['cops_html_thumbnail_height'] = "164"; - - /* - * Icon for both OPDS and HTML catalog - * Note that this has to be a real icon (.ico) - */ - $config['cops_icon'] = "favicon.ico"; - - /* - * Show icon for authors, series, tags and books on OPDS feed - * 1 : enable - * 0 : disable - */ - $config['cops_show_icons'] = "1"; - - /* - * Default timezone - * Check following link for other timezones : - * http://www.php.net/manual/en/timezones.php - */ - $config['default_timezone'] = "Europe/Paris"; - - /* - * Prefered format for HTML catalog - * The two first will be displayed in book entries - * The other only appear in book detail - */ - $config['cops_prefered_format'] = array ("EPUB", "PDF", "AZW3", "AZW", "MOBI", "CBR", "CBZ"); - - /* - * use URL rewriting for downloading of ebook in HTML catalog - * See Github wiki for more information - * 1 : enable - * 0 : disable - */ - $config['cops_use_url_rewriting'] = "0"; - - /* - * generate a invalid OPDS stream to allow bad OPDS client to use search - * Example of non compliant OPDS client : Moon+ Reader - * Example of good OPDS client : Mantano, FBReader - * 1 : enable support for non compliant OPDS client - * 0 : always generate valid OPDS code - */ - $config['cops_generate_invalid_opds_stream'] = "0"; - - /* - * Max number of items per page - * -1 unlimited - */ - $config['cops_max_item_per_page'] = "-1"; - - /* - * split authors by first letter - * 1 : Yes - * 0 : No - */ - $config['cops_author_split_first_letter'] = "1"; - - /* - * split titles by first letter - * 1 : Yes - * 0 : No - */ - $config['cops_titles_split_first_letter'] = "1"; - - /* - * Enable the Lightboxes (for popups) - * 1 : Yes (enable) - * 0 : No - */ - $config['cops_use_fancyapps'] = "1"; - - /* - * Update Epub metadata before download - * 1 : Yes (enable) - * 0 : No - */ - $config['cops_update_epub-metadata'] = "0"; - - /* - * Filter on tags to book list - * Only works with the OPDS catalog - * Usage : array ("I only want to see books using the tag : Tag1" => "Tag1", - * "I only want to see books not using the tag : Tag1" => "!Tag1", - * "I want to see every books" => "", - * - * Example : array ("All" => "", "Unread" => "!Read", "Read" => "Read") - */ - $config['cops_books_filter'] = array (); - - /* - * Custom Columns for the index page - * to add as an array containing the lookup names configured in Calibre - * - * For example : array ("genre", "mycolumn"); - * - * Note that the composite custom columns are not supported - */ - $config['cops_calibre_custom_column'] = array (); - - /* - * Custom Columns for the list representation - * to add as an array containing the lookup names configured in Calibre - * - * For example : array ("genre", "mycolumn"); - * - * Note that the composite custom columns are not supported - */ - $config['cops_calibre_custom_column_list'] = array (); - - /* - * Custom Columns for the book preview panel - * to add as an array containing the lookup names configured in Calibre - * - * For example : array ("genre", "mycolumn"); - * - * Note that the composite custom columns are not supported - */ - $config['cops_calibre_custom_column_preview'] = array (); - - /* - * Rename .epub to .kepub.epub if downloaded from a Kobo eReader - * The ebook will then be recognized a Kepub so with chaptered paging, statistics, ... - * You have to enable URL rewriting if you want to enable kepup.epub download - * 1 : Yes (enable) - * 0 : No - */ - $config['cops_provide_kepub'] = "0"; - - /* - * Enable and configure Send To Kindle (or Email) feature. - * - * Don't forget to authorize the sender email you configured in your Kindle's Approved Personal Document E-mail List. - * - * If you want to use a simple smtp server (provided by your ISP for example), you can configure it like that : - * $config['cops_mail_configuration'] = array( "smtp.host" => "smtp.free.fr", - * "smtp.username" => "", - * "smtp.password" => "", - * "smtp.secure" => "", - * "address.from" => "cops@slucas.fr" - * ); - * - * For Gmail (ssl is mandatory) : - * $config['cops_mail_configuration'] = array( "smtp.host" => "smtp.gmail.com", - * "smtp.username" => "YOUR GMAIL ADRESS", - * "smtp.password" => "YOUR GMAIL PASSWORD", - * "smtp.secure" => "ssl", - * "address.from" => "cops@slucas.fr" - * ); - */ - $config['cops_mail_configuration'] = NULL; - - /* - * Use filter in HTML catalog - * 1 : Yes (enable) - * 0 : No - */ - $config['cops_html_tag_filter'] = "0"; - - /* - * Thumbnails are generated on-the-fly so it can be problematic on servers with slow CPU (Raspberry Pi, Dockstar, Piratebox, ...). - * This configuration item allow to customize how thumbnail will be generated - * "" : Generate thumbnail (CPU hungry) - * "1" : always send the full size image (Network hungry) - * any url : Send a constant image as the thumbnail (you can try "images/bookcover.png") - */ - $config['cops_thumbnail_handling'] = ""; - - /* - * Directory to keep resized thumbnails: allow to resize thumbnails only on first access, then use this cache. - * $config['cops_thumbnail_handling'] must be "" - * "" : don't cache thumbnail - * "/tmp/cache/" (example) : will generate thumbnails in /tmp/cache/ - * BEWARE : it has to end with a / - */ - $config['cops_thumbnail_cache_directory'] = ""; - - /* - * Contains a list of user agent for browsers not compatible with client side rendering - * For now : Kindle, Sony PRS-T1, Sony PRS-T2, All Cybook devices (maybe a little extreme). - * This item is used as regular expression so "." will force server side rendering for all devices - */ - $config['cops_server_side_render'] = "Kindle\/1\.0|Kindle\/2\.0|Kindle\/3\.0|EBRD1101|EBRD1201|cybook"; - - /* - * Specify the ignored categories for the home screen and with search - * Meaning that if you don't want to search in publishers or tags just add them from the list - * Only accepted values : - * - author - * - book - * - series - * - tag - * - publisher - * - rating - * - language - */ - $config ['cops_ignored_categories'] = array (); - - /* - * If you use a Sony eReader or Aldiko you can't download ebooks if your catalog - * is password protected. A simple workaround is to leave fetch.php not protected (see .htaccess). - * But In that case your COPS installation is not completely safe. - * Setting this parameter to "1" ensure that nobody can access fetch.php before accessing - * index.php or feed.php first. - * BEWARE : Do not touch this if you're not using password, not using PRS-TX or not using Aldiko. - */ - $config ['cops_fetch_protect'] = "0"; - - /* - * WARNING NOT READY FOR PRODUCTION USE - * Make the search better (don't care about diacritics, uppercase should work on Cyrillic) but slower. - * 1 : Yes (enable) - * 0 : No - */ - $config ['cops_normalized_search'] = "0"; - - /* - * Enable PHP password protection (You can use if htpasswd is not possible for you) - * If possible prefer htpasswd ! - * array( "username" => "xxx", "password" => "secret") : Enable PHP password protection - * NULL : Disable PHP password protection (You can still use htpasswd) - */ - $config['cops_basic_authentication'] = NULL; - - /* - * Which template is used by default : - * 'default' - * 'bootstrap' - */ - $config['cops_template'] = 'default'; - - /* - * Which style is used by default : - * 'base' - * 'default' - * 'eink' (only available for the 'default' template) - * 'iphone' (only available for the 'default' template) - * 'iphone7' (only available for the 'default' template) - */ - $config['cops_style'] = 'default'; - - /* - * Set language code to force a language (see lang/ directory for available languages). - * When empty it will auto detect the language. - */ - $config['cops_language'] = ''; diff --git a/sources/config_local.php.example b/sources/config_local.php.example deleted file mode 100644 index 2bf34bf..0000000 --- a/sources/config_local.php.example +++ /dev/null @@ -1,23 +0,0 @@ - - */ - -require_once('base.php'); - -/** - * A CustomColumn with an value - */ -class CustomColumn extends Base -{ - /* @var string|integer the ID of the value */ - public $valueID; - /* @var string the (string) representation of the value */ - public $value; - /* @var CustomColumnType the custom column that contains the value */ - public $customColumnType; - /* @var string the value encoded for HTML displaying */ - public $htmlvalue; - - /** - * CustomColumn constructor. - * - * @param integer $pid id of the chosen value - * @param string $pvalue string representation of the value - * @param CustomColumnType $pcustomColumnType the CustomColumn this value lives in - */ - public function __construct($pid, $pvalue, $pcustomColumnType) - { - $this->valueID = $pid; - $this->value = $pvalue; - $this->customColumnType = $pcustomColumnType; - $this->htmlvalue = $this->customColumnType->encodeHTMLValue($this->value); - } - - /** - * Get the URI to show all books with this value - * - * @return string - */ - public function getUri() - { - return $this->customColumnType->getUri($this->valueID); - } - - /** - * Get the EntryID to show all books with this value - * - * @return string - */ - public function getEntryId() - { - return $this->customColumnType->getEntryId($this->valueID); - } - - /** - * Get the query to find all books with this value - * the returning array has two values: - * - first the query (string) - * - second an array of all PreparedStatement parameters - * - * @return array - */ - public function getQuery() - { - return $this->customColumnType->getQuery($this->valueID); - } - - /** - * Return the value of this column as an HTML snippet - * - * @return string - */ - public function getHTMLEncodedValue() - { - return $this->htmlvalue; - } - - /** - * Craete an CustomColumn by CustomColumnID and ValueID - * - * @param integer $customId the id of the customColumn - * @param integer $id the id of the chosen value - * @return CustomColumn|null - */ - public static function createCustom($customId, $id) - { - $columnType = CustomColumnType::createByCustomID($customId); - - return $columnType->getCustom($id); - } - - /** - * Return this object as an array - * - * @return array - */ - public function toArray() - { - return array( - 'valueID' => $this->valueID, - 'value' => $this->value, - 'customColumnType' => (array) $this->customColumnType, - 'htmlvalue' => $this->htmlvalue); - } -} - -/** - * A single calibre custom column - */ -abstract class CustomColumnType extends Base -{ - const ALL_CUSTOMS_ID = "cops:custom"; - - const CUSTOM_TYPE_TEXT = "text"; // type 1 + 2 - const CUSTOM_TYPE_COMMENT = "comments"; // type 3 - const CUSTOM_TYPE_SERIES = "series"; // type 4 - const CUSTOM_TYPE_ENUM = "enumeration"; // type 5 - const CUSTOM_TYPE_DATE = "datetime"; // type 6 - const CUSTOM_TYPE_FLOAT = "float"; // type 7 - const CUSTOM_TYPE_INT = "int"; // type 8 - const CUSTOM_TYPE_RATING = "rating"; // type 9 - const CUSTOM_TYPE_BOOL = "bool"; // type 10 - const CUSTOM_TYPE_COMPOSITE = "composite"; // type 11 + 12 - - /** @var array[integer]CustomColumnType */ - private static $customColumnCacheID = array(); - - /** @var array[string]CustomColumnType */ - private static $customColumnCacheLookup = array(); - - /** @var integer the id of this column */ - public $customId; - /** @var string name/title of this column */ - public $columnTitle; - /** @var string the datatype of this column (one of the CUSTOM_TYPE_* constant values) */ - public $datatype; - /** @var null|Entry[] */ - private $customValues = NULL; - - protected function __construct($pcustomId, $pdatatype) - { - $this->columnTitle = self::getTitleByCustomID($pcustomId); - $this->customId = $pcustomId; - $this->datatype = $pdatatype; - $this->customValues = NULL; - } - - /** - * The URI to show all book swith a specific value in this column - * - * @param string|integer $id the id of the value to show - * @return string - */ - public function getUri($id) - { - return "?page=" . parent::PAGE_CUSTOM_DETAIL . "&custom={$this->customId}&id={$id}"; - } - - /** - * The URI to show all the values of this column - * - * @return string - */ - public function getUriAllCustoms() - { - return "?page=" . parent::PAGE_ALL_CUSTOMS . "&custom={$this->customId}"; - } - - /** - * The EntryID to show all book swith a specific value in this column - * - * @param string|integer $id the id of the value to show - * @return string - */ - public function getEntryId($id) - { - return self::ALL_CUSTOMS_ID . ":" . $this->customId . ":" . $id; - } - - /** - * The EntryID to show all the values of this column - * - * @return string - */ - public function getAllCustomsId() - { - return self::ALL_CUSTOMS_ID . ":" . $this->customId; - } - - /** - * The title of this column - * - * @return string - */ - public function getTitle() - { - return $this->columnTitle; - } - - /** - * The description of this column as it is definied in the database - * - * @return string|null - */ - public function getDatabaseDescription() - { - $result = $this->getDb()->prepare('SELECT display FROM custom_columns WHERE id = ?'); - $result->execute(array($this->customId)); - if ($post = $result->fetchObject()) { - $json = json_decode($post->display); - return (isset($json->description) && !empty($json->description)) ? $json->description : NULL; - } - return NULL; - } - - /** - * Get the Entry for this column - * This is used in the initializeContent method to display e.g. the index page - * - * @return Entry - */ - public function getCount() - { - $ptitle = $this->getTitle(); - $pid = $this->getAllCustomsId(); - $pcontent = $this->getDescription(); - $pcontentType = $this->datatype; - $plinkArray = array(new LinkNavigation($this->getUriAllCustoms())); - $pclass = ""; - $pcount = $this->getDistinctValueCount(); - - return new Entry($ptitle, $pid, $pcontent, $pcontentType, $plinkArray, $pclass, $pcount); - } - - /** - * Get the amount of distinct values for this column - * - * @return int - */ - protected function getDistinctValueCount() - { - return count($this->getAllCustomValues()); - } - - /** - * Encode a value of this column ready to be displayed in an HTML document - * - * @param integer|string $value - * @return string - */ - public function encodeHTMLValue($value) - { - return htmlspecialchars($value); - } - - /** - * Get the datatype of a CustomColumn by its customID - * - * @param integer $customId - * @return string|null - */ - private static function getDatatypeByCustomID($customId) - { - $result = parent::getDb()->prepare('SELECT datatype FROM custom_columns WHERE id = ?'); - $result->execute(array($customId)); - if ($post = $result->fetchObject()) { - return $post->datatype; - } - return NULL; - } - - /** - * Create a CustomColumnType by CustomID - * - * @param integer $customId the id of the custom column - * @return CustomColumnType|null - * @throws Exception If the $customId is not found or the datatype is unknown - */ - public static function createByCustomID($customId) - { - // Reuse already created CustomColumns for performance - if (array_key_exists($customId, self::$customColumnCacheID)) - return self::$customColumnCacheID[$customId]; - - $datatype = self::getDatatypeByCustomID($customId); - - switch ($datatype) { - case self::CUSTOM_TYPE_TEXT: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeText($customId); - case self::CUSTOM_TYPE_SERIES: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeSeries($customId); - case self::CUSTOM_TYPE_ENUM: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeEnumeration($customId); - case self::CUSTOM_TYPE_COMMENT: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeComment($customId); - case self::CUSTOM_TYPE_DATE: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeDate($customId); - case self::CUSTOM_TYPE_FLOAT: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeFloat($customId); - case self::CUSTOM_TYPE_INT: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeInteger($customId); - case self::CUSTOM_TYPE_RATING: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeRating($customId); - case self::CUSTOM_TYPE_BOOL: - return self::$customColumnCacheID[$customId] = new CustomColumnTypeBool($customId); - case self::CUSTOM_TYPE_COMPOSITE: - return NULL; //TODO Currently not supported - default: - throw new Exception("Unkown column type: " . $datatype); - } - } - - /** - * Create a CustomColumnType by its lookup name - * - * @param string $lookup the lookup-name of the custom column - * @return CustomColumnType|null - */ - public static function createByLookup($lookup) - { - // Reuse already created CustomColumns for performance - if (array_key_exists($lookup, self::$customColumnCacheLookup)) - return self::$customColumnCacheLookup[$lookup]; - - $result = parent::getDb()->prepare('SELECT id FROM custom_columns WHERE label = ?'); - $result->execute(array($lookup)); - if ($post = $result->fetchObject()) { - return self::$customColumnCacheLookup[$lookup] = self::createByCustomID($post->id); - } - return self::$customColumnCacheLookup[$lookup] = NULL; - } - - /** - * Return an entry array for all possible (in the DB used) values of this column - * These are the values used in the getUriAllCustoms() page - * - * @return Entry[] - */ - public function getAllCustomValues() - { - // lazy loading - if ($this->customValues == NULL) - $this->customValues = $this->getAllCustomValuesFromDatabase(); - - return $this->customValues; - } - - /** - * Get the title of a CustomColumn by its customID - * - * @param integer $customId - * @return string - */ - protected static function getTitleByCustomID($customId) - { - $result = parent::getDb()->prepare('SELECT name FROM custom_columns WHERE id = ?'); - $result->execute(array($customId)); - if ($post = $result->fetchObject()) { - return $post->name; - } - return ""; - } - - /** - * Get the query to find all books with a specific value of this column - * the returning array has two values: - * - first the query (string) - * - second an array of all PreparedStatement parameters - * - * @param string|integer $id the id of the searched value - * @return array - */ - abstract public function getQuery($id); - - /** - * Get a CustomColumn for a specified (by ID) value - * - * @param string|integer $id the id of the searched value - * @return CustomColumn - */ - abstract public function getCustom($id); - - /** - * Return an entry array for all possible (in the DB used) values of this column by querying the database - * - * @return Entry[] - */ - abstract protected function getAllCustomValuesFromDatabase(); - - /** - * The description used in the index page - * - * @return string - */ - abstract public function getDescription(); - - /** - * Find the value of this column for a specific book - * - * @param Book $book - * @return CustomColumn - */ - public abstract function getCustomByBook($book); - - /** - * Is this column searchable by value - * only searchable columns can be displayed on the index page - * - * @return bool - */ - public abstract function isSearchable(); -} - -class CustomColumnTypeText extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_TEXT); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - /** - * Get the name of the linking sqlite table for this column - * (or NULL if there is no linktable) - * - * @return string|null - */ - private function getTableLinkName() - { - return "books_custom_column_{$this->customId}_link"; - } - - /** - * Get the name of the linking column in the linktable - * - * @return string|null - */ - private function getTableLinkColumn() - { - return "value"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM, "{0}", "{1}", $this->getTableLinkName(), $this->getTableLinkColumn()); - return array($query, array($id)); - } - - public function getCustom($id) - { - $result = $this->getDb()->prepare(str_format("SELECT id, value AS name FROM {0} WHERE id = ?", $this->getTableName())); - $result->execute(array($id)); - if ($post = $result->fetchObject()) { - return new CustomColumn($id, $post->name, $this); - } - return NULL; - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT {0}.id AS id, {0}.value AS name, count(*) AS count FROM {0}, {1} WHERE {0}.id = {1}.{2} GROUP BY {0}.id, {0}.value ORDER BY {0}.value"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn()); - - $result = $this->getDb()->query($query); - $entryArray = array(); - while ($post = $result->fetchObject()) - { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation ($this->getUri($post->id))); - - $entry = new Entry($post->name, $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - $desc = $this->getDatabaseDescription(); - if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle()); - return $desc; - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.id AS id, {0}.{2} AS name FROM {0}, {1} WHERE {0}.id = {1}.{2} AND {1}.book = {3} ORDER BY {0}.value"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->id, $post->name, $this); - } - return new CustomColumn(NULL, "", $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeSeries extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_SERIES); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - /** - * Get the name of the linking sqlite table for this column - * (or NULL if there is no linktable) - * - * @return string|null - */ - private function getTableLinkName() - { - return "books_custom_column_{$this->customId}_link"; - } - - /** - * Get the name of the linking column in the linktable - * - * @return string|null - */ - private function getTableLinkColumn() - { - return "value"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM, "{0}", "{1}", $this->getTableLinkName(), $this->getTableLinkColumn()); - return array($query, array($id)); - } - - public function getCustom($id) - { - $result = $this->getDb()->prepare(str_format("SELECT id, value AS name FROM {0} WHERE id = ?", $this->getTableName())); - $result->execute(array($id)); - if ($post = $result->fetchObject()) { - return new CustomColumn($id, $post->name, $this); - } - return NULL; - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT {0}.id AS id, {0}.value AS name, count(*) AS count FROM {0}, {1} WHERE {0}.id = {1}.{2} GROUP BY {0}.id, {0}.value ORDER BY {0}.value"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn()); - - $result = $this->getDb()->query($query); - $entryArray = array(); - while ($post = $result->fetchObject()) { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation($this->getUri($post->id))); - - $entry = new Entry($post->name, $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - return str_format(localize("customcolumn.description.series", $this->getDistinctValueCount()), $this->getDistinctValueCount()); - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.id AS id, {1}.{2} AS name, {1}.extra AS extra FROM {0}, {1} WHERE {0}.id = {1}.{2} AND {1}.book = {3}"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->id, $post->name . " [" . $post->extra . "]", $this); - } - return new CustomColumn(NULL, "", $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeEnumeration extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_ENUM); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - /** - * Get the name of the linking sqlite table for this column - * (or NULL if there is no linktable) - * - * @return string|null - */ - private function getTableLinkName() - { - return "books_custom_column_{$this->customId}_link"; - } - - /** - * Get the name of the linking column in the linktable - * - * @return string|null - */ - private function getTableLinkColumn() - { - return "value"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM, "{0}", "{1}", $this->getTableLinkName(), $this->getTableLinkColumn()); - return array($query, array($id)); - } - - public function getCustom($id) - { - $result = $this->getDb()->prepare(str_format("SELECT id, value AS name FROM {0} WHERE id = ?", $this->getTableName())); - $result->execute(array($id)); - if ($post = $result->fetchObject()) { - return new CustomColumn ($id, $post->name, $this); - } - return NULL; - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT {0}.id AS id, {0}.value AS name, count(*) AS count FROM {0}, {1} WHERE {0}.id = {1}.{2} GROUP BY {0}.id, {0}.value ORDER BY {0}.value"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn()); - - $result = $this->getDb()->query($query); - $entryArray = array(); - while ($post = $result->fetchObject()) { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation ($this->getUri($post->id))); - - $entry = new Entry ($post->name, $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - return str_format(localize("customcolumn.description.enum", $this->getDistinctValueCount()), $this->getDistinctValueCount()); - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.id AS id, {0}.{2} AS name FROM {0}, {1} WHERE {0}.id = {1}.{2} AND {1}.book = {3}"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->id, $post->name, $this); - } - return new CustomColumn(NULL, localize("customcolumn.enum.unknown"), $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeDate extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_DATE); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - public function getQuery($id) - { - $date = new DateTime($id); - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_DATE, "{0}", "{1}", $this->getTableName()); - return array($query, array($date->format("Y-m-d"))); - } - - public function getCustom($id) - { - $date = new DateTime($id); - - return new CustomColumn($id, $date->format(localize("customcolumn.date.format")), $this); - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT date(value) AS datevalue, count(*) AS count FROM {0} GROUP BY datevalue"; - $query = str_format($queryFormat, $this->getTableName()); - $result = $this->getDb()->query($query); - - $entryArray = array(); - while ($post = $result->fetchObject()) { - $date = new DateTime($post->datevalue); - $id = $date->format("Y-m-d"); - - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation ($this->getUri($id))); - - $entry = new Entry($date->format(localize("customcolumn.date.format")), $this->getEntryId($id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - - return $entryArray; - } - - public function getDescription() - { - $desc = $this->getDatabaseDescription(); - if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle()); - return $desc; - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT date({0}.value) AS datevalue FROM {0} WHERE {0}.book = {1}"; - $query = str_format($queryFormat, $this->getTableName(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - $date = new DateTime($post->datevalue); - - return new CustomColumn($date->format("Y-m-d"), $date->format(localize("customcolumn.date.format")), $this); - } - return new CustomColumn(NULL, localize("customcolumn.date.unknown"), $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeRating extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_RATING); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - /** - * Get the name of the linking sqlite table for this column - * (or NULL if there is no linktable) - * - * @return string|null - */ - private function getTableLinkName() - { - return "books_custom_column_{$this->customId}_link"; - } - - /** - * Get the name of the linking column in the linktable - * - * @return string|null - */ - private function getTableLinkColumn() - { - return "value"; - } - - public function getQuery($id) - { - if ($id == 0) { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_RATING_NULL, "{0}", "{1}", $this->getTableLinkName(), $this->getTableName(), $this->getTableLinkColumn()); - return array($query, array()); - } else { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_RATING, "{0}", "{1}", $this->getTableLinkName(), $this->getTableName(), $this->getTableLinkColumn()); - return array($query, array($id)); - } - } - - public function getCustom($id) - { - return new CustomColumn ($id, str_format(localize("customcolumn.stars", $id / 2), $id / 2), $this); - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT coalesce({0}.value, 0) AS value, count(*) AS count FROM books LEFT JOIN {1} ON books.id = {1}.book LEFT JOIN {0} ON {0}.id = {1}.value GROUP BY coalesce({0}.value, -1)"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName()); - $result = $this->getDb()->query($query); - - $countArray = array(0 => 0, 2 => 0, 4 => 0, 6 => 0, 8 => 0, 10 => 0); - while ($row = $result->fetchObject()) { - $countArray[$row->value] = $row->count; - } - - $entryArray = array(); - - for ($i = 0; $i <= 5; $i++) { - $count = $countArray[$i * 2]; - $name = str_format(localize("customcolumn.stars", $i), $i); - $entryid = $this->getEntryId($i * 2); - $content = str_format(localize("bookword", $count), $count); - $linkarray = array(new LinkNavigation($this->getUri($i * 2))); - $entry = new Entry($name, $entryid, $content, $this->datatype, $linkarray, "", $count); - array_push($entryArray, $entry); - } - - return $entryArray; - } - - public function getDescription() - { - return localize("customcolumn.description.rating"); - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.value AS value FROM {0}, {1} WHERE {0}.id = {1}.{2} AND {1}.book = {3}"; - $query = str_format($queryFormat, $this->getTableName(), $this->getTableLinkName(), $this->getTableLinkColumn(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->value, str_format(localize("customcolumn.stars", $post->value / 2), $post->value / 2), $this); - } - return new CustomColumn(NULL, localize("customcolumn.rating.unknown"), $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeBool extends CustomColumnType -{ - // PHP pre 5.6 does not support const arrays - private $BOOLEAN_NAMES = array( - -1 => "customcolumn.boolean.unknown", // localize("customcolumn.boolean.unknown") - 00 => "customcolumn.boolean.no", // localize("customcolumn.boolean.no") - +1 => "customcolumn.boolean.yes", // localize("customcolumn.boolean.yes") - ); - - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_BOOL); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - public function getQuery($id) - { - if ($id == -1) { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_BOOL_NULL, "{0}", "{1}", $this->getTableName()); - return array($query, array()); - } else if ($id == 0) { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_BOOL_FALSE, "{0}", "{1}", $this->getTableName()); - return array($query, array()); - } else if ($id == 1) { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_BOOL_TRUE, "{0}", "{1}", $this->getTableName()); - return array($query, array()); - } else { - return NULL; - } - } - - public function getCustom($id) - { - return new CustomColumn($id, localize($this->BOOLEAN_NAMES[$id]), $this); - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT coalesce({0}.value, -1) AS id, count(*) AS count FROM books LEFT JOIN {0} ON books.id = {0}.book GROUP BY {0}.value ORDER BY {0}.value"; - $query = str_format($queryFormat, $this->getTableName()); - $result = $this->getDb()->query($query); - - $entryArray = array(); - while ($post = $result->fetchObject()) { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation ($this->getUri($post->id))); - - $entry = new Entry(localize($this->BOOLEAN_NAMES[$post->id]), $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - return localize("customcolumn.description.bool"); - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.value AS boolvalue FROM {0} WHERE {0}.book = {1}"; - $query = str_format($queryFormat, $this->getTableName(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->boolvalue, localize($this->BOOLEAN_NAMES[$post->boolvalue]), $this); - } else { - return new CustomColumn(-1, localize($this->BOOLEAN_NAMES[-1]), $this); - } - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeInteger extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_INT); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_DIRECT, "{0}", "{1}", $this->getTableName()); - return array($query, array($id)); - } - - public function getCustom($id) - { - return new CustomColumn($id, $id, $this); - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT value AS id, count(*) AS count FROM {0} GROUP BY value"; - $query = str_format($queryFormat, $this->getTableName()); - - $result = $this->getDb()->query($query); - $entryArray = array(); - while ($post = $result->fetchObject()) { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation($this->getUri($post->id))); - - $entry = new Entry($post->id, $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - $desc = $this->getDatabaseDescription(); - if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle()); - return $desc; - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.value AS value FROM {0} WHERE {0}.book = {1}"; - $query = str_format($queryFormat, $this->getTableName(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->value, $post->value, $this); - } - return new CustomColumn(NULL, localize("customcolumn.int.unknown"), $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeFloat extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_FLOAT); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_DIRECT, "{0}", "{1}", $this->getTableName()); - return array($query, array($id)); - } - - public function getCustom($id) - { - return new CustomColumn($id, $id, $this); - } - - protected function getAllCustomValuesFromDatabase() - { - $queryFormat = "SELECT value AS id, count(*) AS count FROM {0} GROUP BY value"; - $query = str_format($queryFormat, $this->getTableName()); - - $result = $this->getDb()->query($query); - $entryArray = array(); - while ($post = $result->fetchObject()) { - $entryPContent = str_format(localize("bookword", $post->count), $post->count); - $entryPLinkArray = array(new LinkNavigation($this->getUri($post->id))); - - $entry = new Entry($post->id, $this->getEntryId($post->id), $entryPContent, $this->datatype, $entryPLinkArray, "", $post->count); - - array_push($entryArray, $entry); - } - return $entryArray; - } - - public function getDescription() - { - $desc = $this->getDatabaseDescription(); - if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle()); - return $desc; - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.value AS value FROM {0} WHERE {0}.book = {1}"; - $query = str_format($queryFormat, $this->getTableName(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->value, $post->value, $this); - } - return new CustomColumn(NULL, localize("customcolumn.float.unknown"), $this); - } - - public function isSearchable() - { - return true; - } -} - -class CustomColumnTypeComment extends CustomColumnType -{ - protected function __construct($pcustomId) - { - parent::__construct($pcustomId, self::CUSTOM_TYPE_COMMENT); - } - - /** - * Get the name of the sqlite table for this column - * - * @return string|null - */ - private function getTableName() - { - return "custom_column_{$this->customId}"; - } - - public function getQuery($id) - { - $query = str_format(Book::SQL_BOOKS_BY_CUSTOM_DIRECT_ID, "{0}", "{1}", $this->getTableName()); - return array($query, array($id)); - } - - public function getCustom($id) - { - return new CustomColumn($id, $id, $this); - } - - public function encodeHTMLValue($value) - { - return "
    " . $value . "
    "; // no htmlspecialchars, this is already HTML - } - - protected function getAllCustomValuesFromDatabase() - { - return NULL; - } - - public function getDescription() - { - $desc = $this->getDatabaseDescription(); - if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle()); - return $desc; - } - - public function getCustomByBook($book) - { - $queryFormat = "SELECT {0}.id AS id, {0}.value AS value FROM {0} WHERE {0}.book = {1}"; - $query = str_format($queryFormat, $this->getTableName(), $book->id); - - $result = $this->getDb()->query($query); - if ($post = $result->fetchObject()) { - return new CustomColumn($post->id, $post->value, $this); - } - return new CustomColumn(NULL, localize("customcolumn.float.unknown"), $this); - } - - public function isSearchable() - { - return false; - } -} diff --git a/sources/data.php b/sources/data.php deleted file mode 100644 index ce4a619..0000000 --- a/sources/data.php +++ /dev/null @@ -1,209 +0,0 @@ - - */ - -require_once('base.php'); - -class Data extends Base { - public $id; - public $name; - public $format; - public $realFormat; - public $extension; - public $book; - - public static $mimetypes = array( - 'aac' => 'audio/aac', - 'azw' => 'application/x-mobipocket-ebook', - 'azw1' => 'application/x-topaz-ebook', - 'azw2' => 'application/x-kindle-application', - 'azw3' => 'application/x-mobi8-ebook', - 'cbz' => 'application/x-cbz', - 'cbr' => 'application/x-cbr', - 'djv' => 'image/vnd.djvu', - 'djvu' => 'image/vnd.djvu', - 'doc' => 'application/msword', - 'epub' => 'application/epub+zip', - 'fb2' => 'text/fb2+xml', - 'ibooks'=> 'application/x-ibooks+zip', - 'kepub' => 'application/epub+zip', - 'kobo' => 'application/x-koboreader-ebook', - 'm4a' => 'audio/mp4', - 'mobi' => 'application/x-mobipocket-ebook', - 'mp3' => 'audio/mpeg', - 'lit' => 'application/x-ms-reader', - 'lrs' => 'text/x-sony-bbeb+xml', - 'lrf' => 'application/x-sony-bbeb', - 'lrx' => 'application/x-sony-bbeb', - 'ncx' => 'application/x-dtbncx+xml', - 'opf' => 'application/oebps-package+xml', - 'otf' => 'application/x-font-opentype', - 'pdb' => 'application/vnd.palm', - 'pdf' => 'application/pdf', - 'prc' => 'application/x-mobipocket-ebook', - 'rtf' => 'application/rtf', - 'svg' => 'image/svg+xml', - 'ttf' => 'application/x-font-truetype', - 'tpz' => 'application/x-topaz-ebook', - 'wav' => 'audio/wav', - 'wmf' => 'image/wmf', - 'xhtml' => 'application/xhtml+xml', - 'xpgt' => 'application/adobe-page-template+xml', - 'zip' => 'application/zip' - ); - - public function __construct($post, $book = null) { - $this->id = $post->id; - $this->name = $post->name; - $this->format = $post->format; - $this->realFormat = str_replace ("ORIGINAL_", "", $post->format); - $this->extension = strtolower ($this->realFormat); - $this->book = $book; - } - - public function isKnownType () { - return array_key_exists ($this->extension, self::$mimetypes); - } - - public function getMimeType () { - $result = "application/octet-stream"; - if ($this->isKnownType ()) { - return self::$mimetypes [$this->extension]; - } elseif (function_exists('finfo_open') === true) { - $finfo = finfo_open(FILEINFO_MIME_TYPE); - - if (is_resource($finfo) === true) - { - $result = finfo_file($finfo, $this->getLocalPath ()); - } - - finfo_close($finfo); - - } - return $result; - } - - public function isEpubValidOnKobo () { - return $this->format == "EPUB" || $this->format == "KEPUB"; - } - - public function getFilename () { - return $this->name . "." . strtolower ($this->format); - } - - public function getUpdatedFilename () { - return $this->book->getAuthorsSort () . " - " . $this->book->title; - } - - public function getUpdatedFilenameEpub () { - return $this->getUpdatedFilename () . ".epub"; - } - - public function getUpdatedFilenameKepub () { - $str = $this->getUpdatedFilename () . ".kepub.epub"; - return str_replace(array(':', '#', '&'), - array('-', '-', ' '), $str ); - } - - public function getDataLink ($rel, $title = NULL) { - global $config; - - if ($rel == Link::OPDS_ACQUISITION_TYPE && $config['cops_use_url_rewriting'] == "1") { - return $this->getHtmlLinkWithRewriting($title); - } - - return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title); - } - - public function getHtmlLink () { - return $this->getDataLink(Link::OPDS_ACQUISITION_TYPE)->href; - } - - public function getLocalPath () { - return $this->book->path . "/" . $this->getFilename (); - } - - public function getHtmlLinkWithRewriting ($title = NULL) { - global $config; - - $database = ""; - if (!is_null (GetUrlParam (DB))) $database = GetUrlParam (DB) . "/"; - - $href = "download/" . $this->id . "/" . $database; - - if ($config['cops_provide_kepub'] == "1" && - $this->isEpubValidOnKobo () && - preg_match("/Kobo/", $_SERVER['HTTP_USER_AGENT'])) { - $href .= rawurlencode ($this->getUpdatedFilenameKepub ()); - } else { - $href .= rawurlencode ($this->getFilename ()); - } - return new Link ($href, $this->getMimeType (), Link::OPDS_ACQUISITION_TYPE, $title); - } - - public static function getDataByBook ($book) { - $out = array (); - $result = parent::getDb ()->prepare('select id, format, name - from data where book = ?'); - $result->execute (array ($book->id)); - - while ($post = $result->fetchObject ()) - { - array_push ($out, new Data ($post, $book)); - } - return $out; - } - - public static function handleThumbnailLink ($urlParam, $height) { - global $config; - - if (is_null ($height)) { - if (preg_match ('/feed.php/', $_SERVER["SCRIPT_NAME"])) { - $height = $config['cops_opds_thumbnail_height']; - } - else - { - $height = $config['cops_html_thumbnail_height']; - } - } - if ($config['cops_thumbnail_handling'] != "1") { - $urlParam = addURLParameter($urlParam, "height", $height); - } - - return $urlParam; - } - - public static function getLink ($book, $type, $mime, $rel, $filename, $idData, $title = NULL, $height = NULL) - { - global $config; - - $urlParam = addURLParameter("", "data", $idData); - - if (Base::useAbsolutePath () || - $rel == Link::OPDS_THUMBNAIL_TYPE || - ($type == "epub" && $config['cops_update_epub-metadata'])) - { - if ($type != "jpg") $urlParam = addURLParameter($urlParam, "type", $type); - if ($rel == Link::OPDS_THUMBNAIL_TYPE) { - $urlParam = self::handleThumbnailLink($urlParam, $height); - } - $urlParam = addURLParameter($urlParam, "id", $book->id); - if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB)); - if ($config['cops_thumbnail_handling'] != "1" && - !empty ($config['cops_thumbnail_handling']) && - $rel == Link::OPDS_THUMBNAIL_TYPE) { - return new Link ($config['cops_thumbnail_handling'], $mime, $rel, $title); - } else { - return new Link ("fetch.php?" . $urlParam, $mime, $rel, $title); - } - } - else - { - return new Link (str_replace('%2F','/',rawurlencode ($book->path."/".$filename)), $mime, $rel, $title); - } - } -} diff --git a/sources/epubfs.php b/sources/epubfs.php deleted file mode 100644 index c94e21e..0000000 --- a/sources/epubfs.php +++ /dev/null @@ -1,80 +0,0 @@ - - */ - -require_once ("config.php"); -require_once ("base.php"); -require_once ("book.php"); -require_once ("resources/php-epub-meta/epub.php"); - -function getComponentContent ($book, $component, $add) { - $data = $book->component ($component); - - $callback = function ($m) use ($book, $component, $add) { - $method = $m[1]; - $path = $m[2]; - $end = ""; - if (preg_match ("/^src\s*:/", $method)) { - $end = ")"; - } - if (preg_match ("/^#/", $path)) { - return "{$method}'{$path}'{$end}"; - } - $hash = ""; - if (preg_match ("/^(.+)#(.+)$/", $path, $matches)) { - $path = $matches [1]; - $hash = "#" . $matches [2]; - } - $comp = $book->getComponentName ($component, $path); - if (!$comp) return "{$method}'#'{$end}"; - $out = "{$method}'epubfs.php?{$add}comp={$comp}{$hash}'{$end}"; - if ($end) { - return $out; - } - return str_replace ("&", "&", $out); - }; - - $data = preg_replace_callback ("/(src=)[\"']([^:]*?)[\"']/", $callback, $data); - $data = preg_replace_callback ("/(href=)[\"']([^:]*?)[\"']/", $callback, $data); - $data = preg_replace_callback ("/(\@import\s+)[\"'](.*?)[\"'];/", $callback, $data); - $data = preg_replace_callback ("/(src\s*:\s*url\()(.*?)\)/", $callback, $data); - - return $data; -} - -if (php_sapi_name() === 'cli') { return; } - -$idData = getURLParam ("data", NULL); -$add = "data=$idData&"; -if (!is_null (GetUrlParam (DB))) $add .= DB . "=" . GetUrlParam (DB) . "&"; -$myBook = Book::getBookByDataId($idData); - -$book = new EPub ($myBook->getFilePath ("EPUB", $idData)); - -$book->initSpineComponent (); - -if (!isset ($_GET["comp"])) { - notFound (); - return; -} - -$component = $_GET["comp"]; - -try { - $data = getComponentContent ($book, $component, $add); - - $expires = 60*60*24*14; - header("Pragma: public"); - header("Cache-Control: maxage=".$expires); - header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT'); - header ("Content-Type: " . $book->componentContentType($component)); - echo $data; -} -catch (Exception $e) { - error_log ($e); - notFound (); -} \ No newline at end of file diff --git a/sources/epubreader.php b/sources/epubreader.php deleted file mode 100644 index 482dda9..0000000 --- a/sources/epubreader.php +++ /dev/null @@ -1,74 +0,0 @@ - - - - */ - -require_once ("config.php"); -require_once ("base.php"); -require_once ("book.php"); -require_once ("resources/php-epub-meta/epub.php"); - -header ("Content-Type: text/html;charset=utf-8"); - -$idData = getURLParam ("data", NULL); -$add = "data=$idData&"; -if (!is_null (GetUrlParam (DB))) $add .= DB . "=" . GetUrlParam (DB) . "&"; -$myBook = Book::getBookByDataId($idData); - -$book = new EPub ($myBook->getFilePath ("EPUB", $idData)); -$book->initSpineComponent (); - -?> - - - - - COPS's Epub Reader - - - " media="screen" /> - " media="screen" /> - - - " media="screen" /> - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/sources/favicon.ico b/sources/favicon.ico deleted file mode 100644 index 9be986b..0000000 Binary files a/sources/favicon.ico and /dev/null differ diff --git a/sources/feed.php b/sources/feed.php deleted file mode 100644 index c20dbaa..0000000 --- a/sources/feed.php +++ /dev/null @@ -1,44 +0,0 @@ - - * - */ - - require_once ("config.php"); - require_once ("base.php"); - require_once ("author.php"); - require_once ("serie.php"); - require_once ("tag.php"); - require_once ("book.php"); - require_once ("OPDS_renderer.php"); - - header ("Content-Type:application/xml"); - $page = getURLParam ("page", Base::PAGE_INDEX); - $query = getURLParam ("query"); - $n = getURLParam ("n", "1"); - if ($query) - $page = Base::PAGE_OPENSEARCH_QUERY; - $qid = getURLParam ("id"); - - if ($config ['cops_fetch_protect'] == "1") { - session_start(); - if (!isset($_SESSION['connected'])) { - $_SESSION['connected'] = 0; - } - } - - $OPDSRender = new OPDSRenderer (); - - switch ($page) { - case Base::PAGE_OPENSEARCH : - echo $OPDSRender->getOpenSearch (); - return; - default: - $currentPage = Page::getPage ($page, $qid, $query, $n); - $currentPage->InitializeContent (); - echo $OPDSRender->render ($currentPage); - return; - } diff --git a/sources/fetch.php b/sources/fetch.php deleted file mode 100644 index 108450d..0000000 --- a/sources/fetch.php +++ /dev/null @@ -1,130 +0,0 @@ - - */ - - require_once ("config.php"); - require_once ("book.php"); - require_once ("data.php"); - - global $config; - - if ($config ['cops_fetch_protect'] == "1") { - session_start(); - if (!isset($_SESSION['connected'])) { - notFound (); - return; - } - } - - $expires = 60*60*24*14; - header("Pragma: public"); - header("Cache-Control: maxage=".$expires); - header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT'); - $bookId = getURLParam ("id", NULL); - $type = getURLParam ("type", "jpg"); - $idData = getURLParam ("data", NULL); - if (is_null ($bookId)) - { - $book = Book::getBookByDataId($idData); - } - else - { - $book = Book::getBookById($bookId); - } - - if (!$book) { - notFound (); - return; - } - - if ($book && ($type == "jpg" || empty ($config['calibre_internal_directory']))) { - if ($type == "jpg") { - $file = $book->getFilePath ($type); - } else { - $file = $book->getFilePath ($type, $idData); - } - if (!$file || !file_exists ($file)) { - notFound (); - return; - } - } - - switch ($type) - { - case "jpg": - header("Content-Type: image/jpeg"); - //by default, we don't cache - $thumbnailCacheFullpath = null; - if ( isset($config['cops_thumbnail_cache_directory']) && $config['cops_thumbnail_cache_directory'] !== '' ) { - $thumbnailCacheFullpath = $config['cops_thumbnail_cache_directory']; - //if multiple databases, add a subfolder with the database ID - $thumbnailCacheFullpath .= !is_null (GetUrlParam (DB)) ? 'db-' . GetUrlParam (DB) . DIRECTORY_SEPARATOR : ''; - //when there are lots of thumbnails, it's better to save files in subfolders, so if the book's uuid is - //"01234567-89ab-cdef-0123-456789abcdef", we will save the thumbnail in .../0/12/34567-89ab-cdef-0123-456789abcdef-... - $thumbnailCacheFullpath .= substr($book->uuid, 0, 1) . DIRECTORY_SEPARATOR . substr($book->uuid, 1, 2) . DIRECTORY_SEPARATOR; - //check if cache folder exists or create it - if ( file_exists($thumbnailCacheFullpath) || mkdir($thumbnailCacheFullpath, 0700, true) ) { - //we name the thumbnail from the book's uuid and it's dimensions (width and/or height) - $thumbnailCacheName = substr($book->uuid, 3) . '-' . getURLParam ("width") . 'x' . getURLParam ("height") . '.jpg'; - $thumbnailCacheFullpath = $thumbnailCacheFullpath . $thumbnailCacheName; - } - else { - //error creating the folder, so we don't cache - $thumbnailCacheFullpath = null; - } - } - - if ( $thumbnailCacheFullpath !== null && file_exists($thumbnailCacheFullpath) ) { - //return the already cached thumbnail - readfile( $thumbnailCacheFullpath ); - return; - } - - if ($book->getThumbnail (getURLParam ("width"), getURLParam ("height"), $thumbnailCacheFullpath)) { - //if we don't cache the thumbnail, imagejpeg() in $book->getThumbnail() already return the image data - if ( $thumbnailCacheFullpath === null ) { - // The cover had to be resized - return; - } - else { - //return the just cached thumbnail - readfile( $thumbnailCacheFullpath ); - return; - } - } - break; - default: - $data = $book->getDataById ($idData); - header("Content-Type: " . $data->getMimeType ()); - break; - } - $file = $book->getFilePath ($type, $idData, true); - if ($type == "epub" && $config['cops_update_epub-metadata']) - { - $book->getUpdatedEpub ($idData); - return; - } - if ($type == "jpg") { - header('Content-Disposition: filename="' . basename ($file) . '"'); - } else { - header('Content-Disposition: attachment; filename="' . basename ($file) . '"'); - } - - $dir = $config['calibre_internal_directory']; - if (empty ($config['calibre_internal_directory'])) { - $dir = Base::getDbDirectory (); - } - - if (empty ($config['cops_x_accel_redirect'])) { - $filename = $dir . $file; - $fp = fopen($filename, 'rb'); - header("Content-Length: " . filesize($filename)); - fpassthru($fp); - } - else { - header ($config['cops_x_accel_redirect'] . ": " . $dir . $file); - } diff --git a/sources/getJSON.php b/sources/getJSON.php deleted file mode 100644 index 2697d19..0000000 --- a/sources/getJSON.php +++ /dev/null @@ -1,17 +0,0 @@ - - * - */ - - require_once ("config.php"); - require_once ("JSON_renderer.php"); - - header ("Content-Type:application/json;charset=utf-8"); - - - echo json_encode (JSONRenderer::getJson ()); - diff --git a/sources/images/allbook.png b/sources/images/allbook.png deleted file mode 100644 index 6803171..0000000 Binary files a/sources/images/allbook.png and /dev/null differ diff --git a/sources/images/author.png b/sources/images/author.png deleted file mode 100644 index 5c09d1a..0000000 Binary files a/sources/images/author.png and /dev/null differ diff --git a/sources/images/bookcover.png b/sources/images/bookcover.png deleted file mode 100644 index 6c3c8c7..0000000 Binary files a/sources/images/bookcover.png and /dev/null differ diff --git a/sources/images/custom.png b/sources/images/custom.png deleted file mode 100644 index 86020c3..0000000 Binary files a/sources/images/custom.png and /dev/null differ diff --git a/sources/images/icons/icon114.png b/sources/images/icons/icon114.png deleted file mode 100644 index 559a4c6..0000000 Binary files a/sources/images/icons/icon114.png and /dev/null differ diff --git a/sources/images/icons/icon144.png b/sources/images/icons/icon144.png deleted file mode 100644 index 9bbcdcd..0000000 Binary files a/sources/images/icons/icon144.png and /dev/null differ diff --git a/sources/images/icons/icon57.png b/sources/images/icons/icon57.png deleted file mode 100644 index 5dd81f3..0000000 Binary files a/sources/images/icons/icon57.png and /dev/null differ diff --git a/sources/images/icons/icon72.png b/sources/images/icons/icon72.png deleted file mode 100644 index 87eab9a..0000000 Binary files a/sources/images/icons/icon72.png and /dev/null differ diff --git a/sources/images/language.png b/sources/images/language.png deleted file mode 100644 index 5b18b4f..0000000 Binary files a/sources/images/language.png and /dev/null differ diff --git a/sources/images/publisher.png b/sources/images/publisher.png deleted file mode 100644 index f34b24f..0000000 Binary files a/sources/images/publisher.png and /dev/null differ diff --git a/sources/images/rating.png b/sources/images/rating.png deleted file mode 100644 index 68c53c5..0000000 Binary files a/sources/images/rating.png and /dev/null differ diff --git a/sources/images/recent.png b/sources/images/recent.png deleted file mode 100644 index e792a20..0000000 Binary files a/sources/images/recent.png and /dev/null differ diff --git a/sources/images/serie.png b/sources/images/serie.png deleted file mode 100644 index fcf4140..0000000 Binary files a/sources/images/serie.png and /dev/null differ diff --git a/sources/images/tag.png b/sources/images/tag.png deleted file mode 100644 index 746d236..0000000 Binary files a/sources/images/tag.png and /dev/null differ diff --git a/sources/index.php b/sources/index.php deleted file mode 100644 index 0ce7951..0000000 --- a/sources/index.php +++ /dev/null @@ -1,75 +0,0 @@ - - * - */ - - require_once ("config.php"); - require_once ("base.php"); - require_once ("author.php"); - require_once ("rating.php"); - require_once ("publisher.php"); - require_once ("serie.php"); - require_once ("tag.php"); - require_once ("language.php"); - require_once ("customcolumn.php"); - require_once ("book.php"); - require_once ("resources/doT-php/doT.php"); - - // If we detect that an OPDS reader try to connect try to redirect to feed.php - if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon\+ Reader|Chunky|AlReader|org\.ebookdroid)/", $_SERVER['HTTP_USER_AGENT'])) { - header("location: feed.php"); - exit (); - } - - $page = getURLParam ("page", Base::PAGE_INDEX); - $query = getURLParam ("query"); - $qid = getURLParam ("id"); - $n = getURLParam ("n", "1"); - $database = GetUrlParam (DB); - - - // Access the database ASAP to be sure it's readable, redirect if that's not the case. - // It has to be done before any header is sent. - Base::checkDatabaseAvailability (); - - if ($config ['cops_fetch_protect'] == "1") { - session_start(); - if (!isset($_SESSION['connected'])) { - $_SESSION['connected'] = 0; - } - } - - header ("Content-Type:text/html;charset=utf-8"); - - $data = array("title" => $config['cops_title_default'], - "version" => VERSION, - "opds_url" => $config['cops_full_url'] . "feed.php", - "customHeader" => "", - "template" => getCurrentTemplate (), - "server_side_rendering" => useServerSideRendering (), - "current_css" => getCurrentCss (), - "favico" => $config['cops_icon'], - "getjson_url" => "getJSON.php?" . addURLParameter (getQueryString (), "complete", 1)); - if (preg_match("/Kindle/", $_SERVER['HTTP_USER_AGENT'])) { - $data ["customHeader"] = ''; - } - $headcontent = file_get_contents('templates/' . getCurrentTemplate () . '/file.html'); - $template = new doT (); - $dot = $template->template ($headcontent, NULL); - echo ($dot ($data)); -?> - - - diff --git a/sources/lang/Localization_ca.json b/sources/lang/Localization_ca.json deleted file mode 100644 index 7ed234c..0000000 --- a/sources/lang/Localization_ca.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Sobre COPS", - "allbooks.alphabetical.many": "Llistat alfabètic de {0} llibres", - "allbooks.alphabetical.none": "Llistat sense llibres", - "allbooks.alphabetical.one": "Llistat amb un llibre", - "allbooks.title": "Tots els llibres", - "authors.alphabetical.many": "Llistat alfabètic de {0} autors", - "authors.alphabetical.none": "Llistat sense autors", - "authors.alphabetical.one": "Llistat amb un autor", - "authors.title": "Autors", - "authorword.many": "{0} autors", - "authorword.none": "Cap autor", - "authorword.one": "1 autor", - "bookentry.author": "{0} de {1}", - "bookword.many": "{0} llibres", - "bookword.none": "Cap llibre", - "bookword.one": "1 llibre", - "bookword.title": "Llibres", - "cog.alternate": "Buscar, ordenar i filtres", - "content.series": "Series:", - "content.series.data": "Llibre {0} de la sèrie {1}", - "content.summary": "Sinopsi:", - "customcolumn.boolean.no": "No", - "customcolumn.boolean.unknown": "No Establert", - "customcolumn.boolean.yes": "Si", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "No Establert", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "{0} sèries ordenades alfabèticament", - "customcolumn.description.series.none": "Llistat sense sèries", - "customcolumn.description.series.one": "Llistat alfabètic d'una sola sèrie", - "customcolumn.enum.unknown": "No Establert", - "customcolumn.float.unknown": "No Establert", - "customcolumn.int.unknown": "No Establert", - "customcolumn.rating.unknown": "No Establert", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Introdueix el teu email (permitir enviament de llibres per e-mail)", - "customize.fancybox": "Usar Lightbox (llibres en marc flotant)", - "customize.filter": "Habilitar filtre per etiqueta", - "customize.ignored": "Ocultar categories", - "customize.paging": "Nombre màx de llibres per pàgina (-1 per deshabilitar)", - "customize.style": "Tema", - "customize.title": "Configura COPS UI", - "home.alternate": "Inici", - "i18n.coversection": "Portada", - "language.title": "Idioma", - "languages.alphabetical.many": "Llistat alfabètic de {0} llenguatges", - "languages.alphabetical.none": "Llistat sense idiomes disponibles", - "languages.alphabetical.one": "llistat amb un idioma", - "languages.title": "Idiomes", - "mail.messagenotsent": "El missatge no por ser enviat.", - "mail.messagesent": "Missatge enviat", - "paging.next.alternate": "Següent", - "paging.previous.alternate": "Anterior", - "permalink.alternate": "Enllaç permanent", - "pubdate.title": "Any publicació", - "publisher.name": "Publicador", - "publishers.alphabetical.many": "Llistat alfabètic de {0} editorials", - "publishers.alphabetical.none": "Llistat sense editorials", - "publishers.alphabetical.one": "Llistat amb una editorial", - "publishers.title": "Editorials", - "publisherword.many": "{0} editorials", - "publisherword.none": "Sense editorials", - "publisherword.one": "1 editorial", - "ratings.many": "{0} valoració", - "ratings.none": "sense valoracions", - "ratings.one": "1 valoració", - "ratings.title": "Valoracions", - "ratingword.many": "{0} estrelles", - "ratingword.none": "Sense estrella", - "ratingword.one": "1 estrella", - "recent.list": "{0} darrers títols incorporats", - "recent.title": "Els més recents", - "search.alternate": "Cerca", - "search.result": "Resultats de búsqueda per *{0}*", - "search.result.author": "Resultats de búsqueda per *{0}* per autors", - "search.result.book": "Resultats de búsqueda per *{0}* per llibres", - "search.result.publisher": "Resultats de búsqueda per *{0}* per editorials", - "search.result.series": "Resultats de búsqueda per *{0}* per sèries", - "search.result.tag": "Resultats de búsqueda per *{0}* per etiquetes", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "{0} sèries ordenades alfabèticament", - "series.alphabetical.none": "Llistat sense sèries", - "series.alphabetical.one": "Llistat alfabètic d'una sola sèrie", - "series.title": "Sèries", - "seriesword.many": "sèries", - "seriesword.none": "Cap sèrie", - "seriesword.one": "1 sèrie", - "sort.alternate": "Ordenar", - "splitByLetter.book.other": "Altres llibres", - "splitByLetter.letter": "{0} ({1})", - "tags.alphabetical.many": "{0} etiquetes ordenades alfabèticament", - "tags.alphabetical.none": "Llistat sense etiquetes", - "tags.alphabetical.one": "Llistat alfabètic de la única etiqueta", - "tags.title": "Etiquetes", - "tagword.many": "etiquetes", - "tagword.none": "Cap etiqueta", - "tagword.one": "1 etiqueta", - "tagword.title": "Etiquetes", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Africà", - "languages.aka": "Akan", - "languages.sqi": "Albani", - "languages.amh": "Amharic", - "languages.ara": "Àrab", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgar", - "languages.mya": "Burmese", - "languages.cat": "Català", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinès", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croat", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Holandès", - "languages.dzo": "Dzongkha", - "languages.eng": "Anglès", - "languages.epo": "Esperant", - "languages.est": "Estoni", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "Francès", - "languages.ful": "Fula", - "languages.glg": "Gallec", - "languages.kat": "Georgià", - "languages.deu": "Alemany", - "languages.ell": "Grec", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitià", - "languages.hau": "Hausa", - "languages.hed": "Hebreu", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarià", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japonès", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Coreà", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latí", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Maorí", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongol", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occità", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persa", - "languages.pol": "Polac", - "languages.pus": "Pashto", - "languages.por": "Portuguès", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanià", - "languages.rus": "Rus", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbi", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Espanyol", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_cs.json b/sources/lang/Localization_cs.json deleted file mode 100644 index 298652a..0000000 --- a/sources/lang/Localization_cs.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Více o COPS", - "allbooks.alphabetical.many": "Abecední seznam {0} knih", - "allbooks.alphabetical.none": "Abecední seznam neobsahuje žádné knihy", - "allbooks.alphabetical.one": "Abecední seznam obsahuje jednu knihu", - "allbooks.title": "Všechny knihy", - "authors.alphabetical.many": "Abecední seznam {0} autorů", - "authors.alphabetical.none": "Abecední seznam neobsahuje žádné autory", - "authors.alphabetical.one": "Abecední seznam obsahuje jednoho autora", - "authors.title": "Autoři", - "authorword.many": "{0} autorů", - "authorword.none": "Žádný autor", - "authorword.one": "Jeden autor", - "bookentry.author": "{0} by {1}", - "bookword.many": "{0} knih", - "bookword.none": "Žádná kniha", - "bookword.one": "Jedna kniha", - "bookword.title": "Knihy", - "cog.alternate": "Hledání, třídění a filtry", - "content.series": "Série:", - "content.series.data": "Kniha {0} ze série {1}", - "content.summary": "Shrnutí", - "customcolumn.boolean.no": "Ne", - "customcolumn.boolean.unknown": "Není nastaveno", - "customcolumn.boolean.yes": "Ano", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Není nastaveno", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Abecední výpis {0} sérií", - "customcolumn.description.series.none": "Abecední výpis neobsahuje žádné série", - "customcolumn.description.series.one": "Abecední výpis jedné série", - "customcolumn.enum.unknown": "Není nastaveno", - "customcolumn.float.unknown": "Není nastaveno", - "customcolumn.int.unknown": "Není nastaveno", - "customcolumn.rating.unknown": "Není nastaveno", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Nastavit email (umožní zasílání knih)", - "customize.fancybox": "Použít Lightbox", - "customize.filter": "Povolit filtrování štítků", - "customize.ignored": "Ignorované kategorie", - "customize.paging": "Maximální počet knih na stránku (-1 pro vypnutí)", - "customize.style": "Téma", - "customize.title": "Úpravy vzhledu COPS", - "home.alternate": "Domů", - "i18n.coversection": "Obálka", - "language.title": "Jazyk", - "languages.alphabetical.many": "Abecední seznam {0} jazyků", - "languages.alphabetical.none": "Abecední seznam neobsahuje žádné jazyky", - "languages.alphabetical.one": "Abecední seznam obsahuje jeden jazyk", - "languages.title": "Jazyky", - "mail.messagenotsent": "Zprávu se nepodařilo odeslat.", - "mail.messagesent": "Zpráva byla odeslána", - "paging.next.alternate": "Další", - "paging.previous.alternate": "Předchozí", - "permalink.alternate": "Permalink", - "pubdate.title": "Rok vydání", - "publisher.name": "Vydavatel", - "publishers.alphabetical.many": "Abecední výpis {0} vydavatelů", - "publishers.alphabetical.none": "Abecední výpis neobsahuje žádné vydavetele", - "publishers.alphabetical.one": "Abecední výpis jednoho vydavetele", - "publishers.title": "Vydavatelé", - "publisherword.many": "{0} vydavatelů", - "publisherword.none": "Žádný vydavatel", - "publisherword.one": "Jeden vydavatel", - "ratings.many": "{0} hodnocení", - "ratings.none": "bez hodnocení", - "ratings.one": "1 hodnocení", - "ratings.title": "Hodnocení", - "ratingword.many": "{0} hvězd", - "ratingword.none": "Bez hvězd", - "ratingword.one": "1 hvězda", - "recent.list": "{0} posledních přidaných knih", - "recent.title": "Poslední přidané knihy", - "search.alternate": "Hledat", - "search.result": "Výsledek hledání pro *{0}*", - "search.result.author": "Výsledek hledání pro *{0}* mezi autory", - "search.result.book": "Výsledek hledání pro *{0}* mezi knihami", - "search.result.publisher": "Výsledek hledání pro *{0}* vydavateli", - "search.result.series": "Výsledek hledání pro *{0}* sériemi", - "search.result.tag": "Výsledek hledání pro *{0}* mezi štítky", - "search.sortorder.asc": "Vzestupně", - "search.sortorder.desc": "Sestupně", - "series.alphabetical.many": "Abecední výpis {0} sérií", - "series.alphabetical.none": "Abecední výpis neobsahuje žádné série", - "series.alphabetical.one": "Abecední výpis jedné série", - "series.title": "Série", - "seriesword.many": "{0} sérií", - "seriesword.none": "Žádné série", - "seriesword.one": "Jedna série", - "sort.alternate": "Třídit", - "splitByLetter.book.other": "Other books", - "splitByLetter.letter": "{0} knih začínajících na {1}", - "tags.alphabetical.many": "Abecední výpis {0} štítků", - "tags.alphabetical.none": "Abecední výpis neobsahuje žádné štítky", - "tags.alphabetical.one": "Abecední výpis obsahuje jeden štítek", - "tags.title": "Štítky", - "tagword.many": "{0} štítků", - "tagword.none": "Žádné štítky", - "tagword.one": "Jeden štítek", - "tagword.title": "Štítky", - "languages.abk": "Abcházština", - "languages.aaf": "Afarština", - "languages.afr": "Afrikánština", - "languages.aka": "Akanština", - "languages.sqi": "Albánština", - "languages.amh": "Amharština", - "languages.ara": "Arabština", - "languages.arg": "Aragonština", - "languages.hye": "Arménština", - "languages.asm": "Ásámština", - "languages.ava": "Avarština", - "languages.ave": "Avestánština", - "languages.aym": "Ajmarština", - "languages.aze": "Ázerbájdžánština", - "languages.bam": "Bambarština", - "languages.bak": "Baškirština", - "languages.eus": "Baskičtina", - "languages.bel": "Běloruština", - "languages.ben": "Bengálština", - "languages.bih": "Bihárština", - "languages.bis": "Bislamština", - "languages.bos": "Bosenština", - "languages.bre": "Bretonština", - "languages.bul": "Bulharština", - "languages.mya": "Barmština", - "languages.cat": "Katalánština", - "languages.cha": "Chamorro", - "languages.che": "Čečenština", - "languages.nya": "Čičevština", - "languages.zho": "Čínština", - "languages.chv": "Čuvaština", - "languages.cor": "Kornština", - "languages.cos": "Korsičtina", - "languages.cre": "Kríjština", - "languages.hrv": "Chorvatština", - "languages.ces": "Čeština", - "languages.dan": "Dánština", - "languages.div": "Divehi", - "languages.nld": "Nizozemština", - "languages.dzo": "Dzongkha", - "languages.eng": "Angličtina", - "languages.epo": "Esperanto", - "languages.est": "Estonština", - "languages.ewe": "Eveština", - "languages.fao": "Faerština", - "languages.fij": "Fidžijština", - "languages.fin": "Finština", - "languages.fra": "Francouština", - "languages.ful": "Fulbština", - "languages.glg": "Galicijština", - "languages.kat": "Gruzínština", - "languages.deu": "Němčina", - "languages.ell": "Řečtina", - "languages.grn": "Guaraní", - "languages.guj": "Gudžarátština", - "languages.hat": "Haitština", - "languages.hau": "Hauština", - "languages.hed": "Hebrejština", - "languages.her": "Hererština", - "languages.hin": "Hindština", - "languages.hmo": "Hiri motu", - "languages.hun": "Maďarština", - "languages.ina": "Interlingua", - "languages.ind": "Indonéština", - "languages.ile": "Interlingue", - "languages.gle": "Irština", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Islandština", - "languages.ita": "Italština", - "languages.iku": "Inuitština", - "languages.jpn": "Japonština", - "languages.jav": "Javánština", - "languages.kal": "Grónština", - "languages.kan": "Kannadština", - "languages.kau": "Kanurijština", - "languages.kas": "Kašmírština", - "languages.kaz": "Kazaština", - "languages.khm": "Khmerština", - "languages.kik": "Kikujština", - "languages.kin": "Rwandština", - "languages.kir": "Kyrgyzština", - "languages.kom": "Komijština", - "languages.kon": "Konžština", - "languages.kor": "Korejština", - "languages.kur": "Kurdština", - "languages.kua": "Kuanyama", - "languages.lat": "Latina", - "languages.ltz": "Lucemburština", - "languages.lug": "Gandština", - "languages.lim": "Limburština", - "languages.lin": "Ngalština", - "languages.lao": "Laoština", - "languages.lit": "Litevština", - "languages.lub": "Lubština", - "languages.lav": "Lotyština", - "languages.glv": "Manština", - "languages.mkd": "Makedonština", - "languages.mlg": "Malgaština", - "languages.msa": "Malajština", - "languages.mal": "Malajámština", - "languages.mlt": "Maltština", - "languages.mri": "Maorština", - "languages.mar": "Maráthština", - "languages.mah": "Maršálština", - "languages.mon": "Mongolština", - "languages.nau": "Nauruština", - "languages.nav": "Navažština", - "languages.nob": "Bokmål", - "languages.nde": "Severní Ndebelština", - "languages.nep": "Nepálština", - "languages.ndo": "Ndonga", - "languages.nno": "Nynorsk", - "languages.nor": "Norština", - "languages.iii": "Yi", - "languages.nbl": "Jižní Ndebelština", - "languages.oci": "Okcitánština", - "languages.oji": "Odžibvejština", - "languages.chu": "Staroslověnština", - "languages.orm": "Oromština", - "languages.ori": "Urijština", - "languages.oss": "Osetština", - "languages.pan": "Paňdžábština", - "languages.pli": "Páli", - "languages.fas": "Perština", - "languages.pol": "Polština", - "languages.pus": "Paštština", - "languages.por": "Portugalština", - "languages.que": "Kečuánština", - "languages.roh": "Románština", - "languages.run": "Kirundština", - "languages.ron": "Rumunština", - "languages.rus": "Ruština", - "languages.san": "Sanskrt", - "languages.srd": "Sardština", - "languages.snd": "Sindhština", - "languages.sme": "Severní Sámština", - "languages.smo": "Samojština", - "languages.sag": "Sangština", - "languages.srp": "Srbština", - "languages.gla": "Skotská Gaelština", - "languages.sna": "Šonština", - "languages.sin": "Sinhálština", - "languages.slk": "Slovenština", - "languages.slv": "Slovinština", - "languages.som": "Somálština", - "languages.sot": "Sotština", - "languages.spa": "Španělština", - "languages.sun": "Sundština", - "languages.swa": "Svahilština", - "languages.ssw": "Svazijština", - "languages.swe": "Švédština", - "languages.tam": "Tamilština", - "languages.tel": "Telugština", - "languages.tgk": "Tádžičtina", - "languages.tha": "Thajština", - "languages.tir": "Tigriňňa", - "languages.bod": "Tibetština", - "languages.tuk": "Turkmenština", - "languages.tgl": "Tagalština", - "languages.tsn": "Čwanština", - "languages.ton": "Tonžština", - "languages.tur": "Turečtina", - "languages.tso": "Tsonga", - "languages.tat": "Tatarština", - "languages.twi": "Ťwiština", - "languages.tah": "Tahitština", - "languages.uig": "Ujgurština", - "languages.ukr": "Ukrajinština", - "languages.urd": "Urdština", - "languages.uzb": "Uzbečtina", - "languages.ven": "Luvendština", - "languages.vie": "Vietnamština", - "languages.vol": "Volapük", - "languages.win": "Walonština", - "languages.cym": "Velština", - "languages.wol": "Volofština", - "languages.fry": "Západofríština", - "languages.xho": "Xhoština", - "languages.yid": "Jidiš", - "languages.yor": "Jorubština", - "languages.zha": "Čuangština", - "languages.zul": "Zulština", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_da.json b/sources/lang/Localization_da.json deleted file mode 100644 index 244de8c..0000000 --- a/sources/lang/Localization_da.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "About COPS", - "allbooks.alphabetical.many": "Alphabetical index of the {0} books", - "allbooks.alphabetical.none": "Alphabetical index of absolutely no books", - "allbooks.alphabetical.one": "Alphabetical index of the single book", - "allbooks.title": "All books", - "authors.alphabetical.many": "Alphabetical index of the {0} authors", - "authors.alphabetical.none": "Alphabetical index of absolutely no authors", - "authors.alphabetical.one": "Alphabetical index of the single author", - "authors.title": "Authors", - "authorword.many": "{0} authors", - "authorword.none": "No authors", - "authorword.one": "1 author", - "bookentry.author": "{0} by {1}", - "bookword.many": "{0} books", - "bookword.none": "No books", - "bookword.one": "1 book", - "bookword.title": "Books", - "cog.alternate": "Search, sort and filters", - "content.series": "Series:", - "content.series.data": "Book {0} in the {1} series", - "content.summary": "Oversigt", - "customcolumn.boolean.no": "Nej", - "customcolumn.boolean.unknown": "Ikke sat", - "customcolumn.boolean.yes": "Ja", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Ikke sat", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alphabetical index of the {0} series", - "customcolumn.description.series.none": "Alphabetical index of absolutely no series", - "customcolumn.description.series.one": "Alphabetical index of the single series", - "customcolumn.enum.unknown": "Ikke sat", - "customcolumn.float.unknown": "Ikke sat", - "customcolumn.int.unknown": "Ikke sat", - "customcolumn.rating.unknown": "Ikke sat", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Set your email (to allow book emailing)", - "customize.fancybox": "Use Lightbox (books load in floating frame)", - "customize.filter": "Enable tag filtering", - "customize.ignored": "Ignored categories", - "customize.paging": "Max number of books per page (-1 to disable)", - "customize.style": "Tema", - "customize.title": "Customize COPS UI", - "home.alternate": "Startside", - "i18n.coversection": "Cover", - "language.title": "Sprog", - "languages.alphabetical.many": "Alphabetical index of the {0} languages", - "languages.alphabetical.none": "Alphabetical index of absolutely no languages", - "languages.alphabetical.one": "Alphabetical index of the single language", - "languages.title": "Sprog", - "mail.messagenotsent": "Message could not be sent.", - "mail.messagesent": "Message has been sent", - "paging.next.alternate": "Næste", - "paging.previous.alternate": "Foregående", - "permalink.alternate": "Permalink", - "pubdate.title": "Publication year", - "publisher.name": "Publisher", - "publishers.alphabetical.many": "Alphabetical index of the {0} publishers", - "publishers.alphabetical.none": "Alphabetical index of absolutely no publishers", - "publishers.alphabetical.one": "Alphabetical index of the single publisher", - "publishers.title": "Publishers", - "publisherword.many": "{0} publishers", - "publisherword.none": "No publishers", - "publisherword.one": "1 publisher", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "{0} most recent books", - "recent.title": "Recent additions", - "search.alternate": "Søg", - "search.result": "Search result for *{0}*", - "search.result.author": "Search result for *{0}* in authors", - "search.result.book": "Search result for *{0}* in books", - "search.result.publisher": "Search result for *{0}* in publishers", - "search.result.series": "Search result for *{0}* in series", - "search.result.tag": "Search result for *{0}* in tags", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Alphabetical index of the {0} series", - "series.alphabetical.none": "Alphabetical index of absolutely no series", - "series.alphabetical.one": "Alphabetical index of the single series", - "series.title": "Series", - "seriesword.many": "{0} series", - "seriesword.none": "No series", - "seriesword.one": "1 series", - "sort.alternate": "Sort", - "splitByLetter.book.other": "Other books", - "splitByLetter.letter": "{0} starting with {1}", - "tags.alphabetical.many": "Alphabetical index of the {0} tags", - "tags.alphabetical.none": "Alphabetical index of absolutely no tags", - "tags.alphabetical.one": "Alphabetical index of the single tag", - "tags.title": "Tags", - "tagword.many": "{0} tags", - "tagword.none": "No tags", - "tagword.one": "1 tag", - "tagword.title": "Tags", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_de.json b/sources/lang/Localization_de.json deleted file mode 100644 index d73ac2e..0000000 --- a/sources/lang/Localization_de.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Über COPS", - "allbooks.alphabetical.many": "Alphabetischer Index der {0} Bücher", - "allbooks.alphabetical.none": "Alphabetischer Index von absolut keinem Buch", - "allbooks.alphabetical.one": "Alphabetischer Index des einzigen Buchs", - "allbooks.title": "Alle Bücher", - "authors.alphabetical.many": "Alphabetischer Index der {0} Autoren", - "authors.alphabetical.none": "Alphabetischer Index von absolut keinem Autor", - "authors.alphabetical.one": "Alphabetischer Index des einzigen Autors", - "authors.title": "Autoren", - "authorword.many": "{0} Autoren", - "authorword.none": "Kein Autor", - "authorword.one": "1 Autor", - "bookentry.author": "{0} von {1}", - "bookword.many": "{0} Bücher", - "bookword.none": "Kein Buch", - "bookword.one": "1 Buch", - "bookword.title": "Bücher", - "cog.alternate": "Suche, Sortierung und Filter", - "content.series": "Serien:", - "content.series.data": "Buch {0} der {1} - Reihe", - "content.summary": "Inhalt", - "customcolumn.boolean.no": "Nein", - "customcolumn.boolean.unknown": "Nicht gesetzt", - "customcolumn.boolean.yes": "Ja", - "customcolumn.date.format": "d.m.Y", - "customcolumn.date.unknown": "Nicht gesetzt", - "customcolumn.description": "Bentzerdefinierte Spalte '{0}", - "customcolumn.description.bool": "Index eines Wahrheitswertes", - "customcolumn.description.enum.many": "Alphabetischer Index der {0} Werte", - "customcolumn.description.enum.none": "Alphabetischer Index von absolut keinen Werten", - "customcolumn.description.enum.one": "Alphabetischer Index von einem Wert", - "customcolumn.description.rating": "Index von Bewertungen", - "customcolumn.description.series.many": "Alphabetischer Index der {0} Serien", - "customcolumn.description.series.none": "Alphabetischer Index von absolut keinen Serien", - "customcolumn.description.series.one": "Alphabetischer Index der einzigen Serie", - "customcolumn.enum.unknown": "Nicht gesetzt", - "customcolumn.float.unknown": "Nicht gesetzt", - "customcolumn.int.unknown": "Nicht gesetzt", - "customcolumn.rating.unknown": "Nicht gesetzt", - "customcolumn.stars.many": "{0} Sterne", - "customcolumn.stars.none": "Kein Sterne", - "customcolumn.stars.one": "1 Stern", - "customize.email": "Geben Sie Ihre E-Mail-Adresse an (erlaubt das Zusenden von Büchern)", - "customize.fancybox": "Benutze die Lightbox", - "customize.filter": "Erlaube das Filtern nach Stichworten", - "customize.ignored": "Nicht verwendete Kategorien", - "customize.paging": "Maximale Anzahl von Büchern pro Seite (-1 zum Deaktivieren)", - "customize.style": "Thema", - "customize.title": "Anpassungen an COPS", - "home.alternate": "Startseite", - "i18n.coversection": "Umschlag", - "language.title": "Sprache", - "languages.alphabetical.many": "Alphabetischer Index der {0} Sprachen", - "languages.alphabetical.none": "Alphabetischer Index von absolut keiner Sprache", - "languages.alphabetical.one": "Alphabetischer Index der einzigen Sprache", - "languages.title": "Sprachen", - "mail.messagenotsent": "E-Mail konnte nicht gesendet werden.", - "mail.messagesent": "E-Mail wurde gesendet.", - "paging.next.alternate": "Nächste", - "paging.previous.alternate": "Vorherige", - "permalink.alternate": "Permalink", - "pubdate.title": "Veröffentlichung", - "publisher.name": "Verlag", - "publishers.alphabetical.many": "Alphabetischer Index der {0} Verlage", - "publishers.alphabetical.none": "Alphabetischer Index von absolut keinem Verlag", - "publishers.alphabetical.one": "Alphabetischer Index des einzigen Verlags", - "publishers.title": "Verlage", - "publisherword.many": "{0} Verlage", - "publisherword.none": "Kein Verlag", - "publisherword.one": "1 Verlag", - "ratings.many": "{0} verschiedene Bewertungen", - "ratings.none": "Keine Bewertungen", - "ratings.one": "{0} Bewertung", - "ratings.title": "Bewertung", - "ratingword.many": "{0} Sterne", - "ratingword.none": "{0} Sterne", - "ratingword.one": "{0} Stern", - "recent.list": "{0} neue Bücher", - "recent.title": "Neuzugänge", - "search.alternate": "Suche", - "search.result": "Suchergebnis für", - "search.result.author": "Suchergebnis für *{0}* in Autoren", - "search.result.book": "Suchergebnis für *{0}* in Bücher", - "search.result.publisher": "Suchergebnis für *{0}* in Verlage", - "search.result.series": "Suchergebnis für *{0}* in Serien", - "search.result.tag": "Suchergebnis für *{0}* in Schlagwörter", - "search.sortorder.asc": "Auf", - "search.sortorder.desc": "Ab", - "series.alphabetical.many": "Alphabetischer Index der {0} Serien", - "series.alphabetical.none": "Alphabetischer Index von absolut keiner Serie", - "series.alphabetical.one": "Alphabetischer Index der Serie", - "series.title": "Serien", - "seriesword.many": "{0} Serien", - "seriesword.none": "Keine Serie", - "seriesword.one": "1 Serie", - "sort.alternate": "Sortierung", - "splitByLetter.book.other": "Andere Bücher", - "splitByLetter.letter": "{0} unter {1}", - "tags.alphabetical.many": "Alphabetischer Index der {0} Schlagwörter", - "tags.alphabetical.none": "Alphabetischer Index von absolut keinem Schlagwort", - "tags.alphabetical.one": "Alphabetischer Index des Schlagworts", - "tags.title": "Schlagwörter", - "tagword.many": "{0} Schlagwörter", - "tagword.none": "Kein Schlagwort", - "tagword.one": "1 Schlagwort", - "tagword.title": "Schlagwörter", - "languages.abk": "Abchasisch", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanisch", - "languages.amh": "Amharisch", - "languages.ara": "Arabisch", - "languages.arg": "Aragonisch", - "languages.hye": "Armenisch", - "languages.asm": "Assamesisch", - "languages.ava": "Awarisch", - "languages.ave": "Avestisch", - "languages.aym": "Aymara", - "languages.aze": "Aserbaidschanisch", - "languages.bam": "Bambara", - "languages.bak": "Baschkirisch", - "languages.eus": "Baskisch", - "languages.bel": "Weissrussisch", - "languages.ben": "Bengalisch", - "languages.bih": "Biharisch", - "languages.bis": "Bislamisch", - "languages.bos": "Bosnisch", - "languages.bre": "Bretonisch", - "languages.bul": "Bulgarisch", - "languages.mya": "Burmesisch", - "languages.cat": "Katalanisch", - "languages.cha": "Chamorro", - "languages.che": "Tschetschenisch", - "languages.nya": "Chichewa", - "languages.zho": "Chinesisch", - "languages.chv": "Tschuwaschisch", - "languages.cor": "Kornisch", - "languages.cos": "Korsisch", - "languages.cre": "Cree", - "languages.hrv": "Kroatisch", - "languages.ces": "Tschechisch", - "languages.dan": "Dänisch", - "languages.div": "Divehi", - "languages.nld": "Niederländisch", - "languages.dzo": "Dzongkha", - "languages.eng": "Englisch", - "languages.epo": "Esperanto", - "languages.est": "Estisch", - "languages.ewe": "Ewe", - "languages.fao": "Färöisch", - "languages.fij": "Fidschi", - "languages.fin": "Finnisch", - "languages.fra": "Französisch", - "languages.ful": "Fulfulde", - "languages.glg": "Galizisch", - "languages.kat": "Georgisch", - "languages.deu": "Deutsch", - "languages.ell": "Griechisch", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitianisch", - "languages.hau": "Haussa", - "languages.hed": "Hebräisch", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Ungarisch", - "languages.ina": "Interlingua", - "languages.ind": "Indonesisch", - "languages.ile": "Interlingue", - "languages.gle": "Irisch", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Isländisch", - "languages.ita": "Italienisch", - "languages.iku": "Inuktitut (Eskimo)", - "languages.jpn": "Japanisch", - "languages.jav": "Javanisch", - "languages.kal": "Kalaallisut (Grönländisch)", - "languages.kan": "Kanarisch", - "languages.kau": "Kanuri", - "languages.kas": "Kaschmirisch", - "languages.kaz": "Kasachisch", - "languages.khm": "Kambodschanisch", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kirgisisch", - "languages.kom": "Komi", - "languages.kon": "Kongolesisch", - "languages.kor": "Koreanisch", - "languages.kur": "Kurdisch", - "languages.kua": "Oshivambo", - "languages.lat": "Lateinisch", - "languages.ltz": "Luxemburgisch", - "languages.lug": "Luganda", - "languages.lim": "Limburgisch", - "languages.lin": "Lingála", - "languages.lao": "Laotisch", - "languages.lit": "Litauisch", - "languages.lub": "Kiluba", - "languages.lav": "Lettisch", - "languages.glv": "Manx", - "languages.mkd": "Mazedonisch", - "languages.mlg": "Malagasy", - "languages.msa": "Malaiisch", - "languages.mal": "Malaysisch", - "languages.mlt": "Maltesisch", - "languages.mri": "Maorisch", - "languages.mar": "Marathi", - "languages.mah": "Marshallesisch", - "languages.mon": "Mongolisch", - "languages.nau": "Nauruisch", - "languages.nav": "Navajo", - "languages.nob": "Norwegisch (Bokmål)", - "languages.nde": "Nord-Ndebele", - "languages.nep": "Nepalesisch", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegisch (Nynorsk)", - "languages.nor": "Norwegisch", - "languages.iii": "Yiyu", - "languages.nbl": "Süd-Ndebele", - "languages.oci": "Okzitanisch", - "languages.oji": "Ojibwe", - "languages.chu": "Altkirchenslawisch", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetisch", - "languages.pan": "Punjabisch", - "languages.pli": "Pali", - "languages.fas": "Persisch", - "languages.pol": "Polnisch", - "languages.pus": "Pashtu", - "languages.por": "Portugisisch", - "languages.que": "Quechua", - "languages.roh": "Bündnerromanisch", - "languages.run": "Kirundisch", - "languages.ron": "Rumänisch", - "languages.rus": "Russisch", - "languages.san": "Sanskrit", - "languages.srd": "Sardisch", - "languages.snd": "Sindhi", - "languages.sme": "Nordsamisch", - "languages.smo": "Samoanisch", - "languages.sag": "Sango", - "languages.srp": "Serbisch", - "languages.gla": "Schottisches Gälisch", - "languages.sna": "Schonisch", - "languages.sin": "Singhalesisch", - "languages.slk": "Slowakisch", - "languages.slv": "Slowenisch", - "languages.som": "Somalisch", - "languages.sot": "Sesotho", - "languages.spa": "Spanisch", - "languages.sun": "Sundanesisch", - "languages.swa": "Kisuaheli", - "languages.ssw": "Siswati", - "languages.swe": "Schwedisch", - "languages.tam": "Tamilisch", - "languages.tel": "Telugisch", - "languages.tgk": "Tadschikisch", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetisch", - "languages.tuk": "Turkmenisch", - "languages.tgl": "Tagalog", - "languages.tsn": "Setswana", - "languages.ton": "Tongaisch", - "languages.tur": "Türkisch", - "languages.tso": "Tsongaisch", - "languages.tat": "Tatarisch", - "languages.twi": "Twi", - "languages.tah": "Tahitianisch", - "languages.uig": "Uigur", - "languages.ukr": "Ukrainisch", - "languages.urd": "Urdu", - "languages.uzb": "Usbekisch", - "languages.ven": "Tshivenda", - "languages.vie": "Vietnamesisch", - "languages.vol": "Volapük", - "languages.win": "Wallonisch", - "languages.cym": "Walisisch", - "languages.wol": "Wolof", - "languages.fry": "Westfriesisch", - "languages.xho": "IsiXhosa", - "languages.yid": "Yi (Jiddisch)", - "languages.yor": "Joruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_el.json b/sources/lang/Localization_el.json deleted file mode 100644 index 5be2cd2..0000000 --- a/sources/lang/Localization_el.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Σχετικά με COPS", - "allbooks.alphabetical.many": "Αλφαβητικό ευρετήριο των {0} βιβλίων", - "allbooks.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως κανένα βιβλίο", - "allbooks.alphabetical.one": "Αλφαβητικό ευρετήριο του μοναδικού βιβλίου", - "allbooks.title": "Όλα τα βιβλία", - "authors.alphabetical.many": "Αλφαβητικό ευρετήριο των {0} συγγραφέων", - "authors.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως κανένα συγγραφέα", - "authors.alphabetical.one": "Αλφαβητικό ευρετήριο του μοναδικού συγγραφέα", - "authors.title": "Συγγραφείς", - "authorword.many": "{0} συγγραφείς", - "authorword.none": "Χωρίς συγγραφείς", - "authorword.one": "1 συγγραφέας", - "bookentry.author": "{0} από {1}", - "bookword.many": "{0} βιβλία", - "bookword.none": "Δεν υπάρχουν βιβλία", - "bookword.one": "1 βιβλίο", - "bookword.title": "Βιβλία", - "cog.alternate": "Αναζήτηση, ταξινόμηση και φίλτρα", - "content.series": "Σειρά:", - "content.series.data": "Βιβλίο {0} από την σειρά {1}", - "content.summary": "Περίληψη", - "customcolumn.boolean.no": "Όχι", - "customcolumn.boolean.unknown": "Προεπιλογή", - "customcolumn.boolean.yes": "Ναι", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Προεπιλογή", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Αλφαβητικό ευρετήριο των {0} σειρών", - "customcolumn.description.series.none": "Αλφαβητικός κατάλογος από απολύτως καμία σειρά", - "customcolumn.description.series.one": "Αλφαβητικό ευρετήριο της μοναδικής σειράς", - "customcolumn.enum.unknown": "Προεπιλογή", - "customcolumn.float.unknown": "Προεπιλογή", - "customcolumn.int.unknown": "Προεπιλογή", - "customcolumn.rating.unknown": "Προεπιλογή", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Ρυθμίστε το email σας (για να επιτραπεί αποστολή email)", - "customize.fancybox": "Χρήση Lightbox (τα βιβλία φορτώνουν σε πλαίσιο)", - "customize.filter": "Ενεργοποίηση φιλτραρίσματος ανά ετικέτα", - "customize.ignored": "Αγνοείστε κατηγορίες", - "customize.paging": "Μέγιστος αριθμός βιβλίων ανά σελίδα (-1 για απενεργοποίηση)", - "customize.style": "Θέμα", - "customize.title": "Προσαρμογή COPS UI", - "home.alternate": "Αρχική", - "i18n.coversection": "Εξώφυλλο", - "language.title": "Γλώσσα", - "languages.alphabetical.many": "Αλφαβητικό ευρετήριο των {0} γλωσσών", - "languages.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως καμία γλώσσες", - "languages.alphabetical.one": "Αλφαβητικό ευρετήριο της μοναδικής γλώσσας", - "languages.title": "Γλώσσες", - "mail.messagenotsent": "Το μήνυμα δεν μπόρεσε να σταλεί.", - "mail.messagesent": "Το μήνυμα εστάλη", - "paging.next.alternate": "Επόμενος", - "paging.previous.alternate": "Προηγούμενος", - "permalink.alternate": "Permalink", - "pubdate.title": "Έτος έκδοσης", - "publisher.name": "Εκδότης", - "publishers.alphabetical.many": "Αλφαβητικό ευρετήριο από {0} εκδότες", - "publishers.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως κανένα εκδότη", - "publishers.alphabetical.one": "Αλφαβητικό ευρετήριο του μοναδικού εκδότη", - "publishers.title": "Εκδότες", - "publisherword.many": "{0} εκδότες", - "publisherword.none": "Δεν υπάρχουν εκδότες", - "publisherword.one": "1 εκδότης", - "ratings.many": "{0} αξιολογήσεις", - "ratings.none": "Δεν υπάρχουν αξιολογήσεις", - "ratings.one": "1 αξιολόγηση", - "ratings.title": "Αξιολογήσεις", - "ratingword.many": "{0} αστέρια", - "ratingword.none": "Χωρίς αστέρι", - "ratingword.one": "1 αστέρι", - "recent.list": "{0} πιο πρόσφατα βιβλία", - "recent.title": "Πρόσφατες προσθήκες", - "search.alternate": "Αναζήτηση", - "search.result": "Αποτέλεσμα αναζήτησης για * {0} *", - "search.result.author": "Αποτέλεσμα αναζήτησης για * {0} * σε συγγραφείς", - "search.result.book": "Αποτέλεσμα αναζήτησης για * {0} * στα βιβλία", - "search.result.publisher": "Αποτέλεσμα αναζήτησης για * {0} * σε εκδότες", - "search.result.series": "Αποτέλεσμα αναζήτησης για * {0} * σε σειρά", - "search.result.tag": "Αποτέλεσμα αναζήτησης για * {0} * σε ετικέτες", - "search.sortorder.asc": "Αυξ", - "search.sortorder.desc": "Φθιν", - "series.alphabetical.many": "Αλφαβητικό ευρετήριο των {0} σειρών", - "series.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως καμία σειρά", - "series.alphabetical.one": "Αλφαβητικό ευρετήριο της μοναδικής σειράς", - "series.title": "Σειρά", - "seriesword.many": "{0} σειρά", - "seriesword.none": "Χωρίς σειρά", - "seriesword.one": "Σειρά 1", - "sort.alternate": "Ταξινόμηση", - "splitByLetter.book.other": "Άλλα βιβλία", - "splitByLetter.letter": "{0} ξεκινά με {1}", - "tags.alphabetical.many": "Αλφαβητικό ευρετήριο των {0} ετικετών", - "tags.alphabetical.none": "Αλφαβητικός κατάλογος από απολύτως καμία ετικέτες", - "tags.alphabetical.one": "Αλφαβητικό ευρετήριο της μοναδικής ετικέτας", - "tags.title": "Ετικέτες", - "tagword.many": "{0} ετικέτες", - "tagword.none": "Δεν υπάρχουν ετικέτες", - "tagword.one": "1 ετικέτα", - "tagword.title": "Ετικέτες", - "languages.abk": "Αμπχαζίας", - "languages.aaf": "Αφάρ", - "languages.afr": "Αφρικάνικα", - "languages.aka": "Akan", - "languages.sqi": "Αλβανικά", - "languages.amh": "Αμαρικά", - "languages.ara": "Αραβικά", - "languages.arg": "Αραγονίας", - "languages.hye": "Αρμενικός", - "languages.asm": "Ασαμέζικα", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Αζερμπαϊτζάν", - "languages.bam": "Μπαμπάρα", - "languages.bak": "Μπασκίρ", - "languages.eus": "Βάσκων", - "languages.bel": "Λευκορωσίας", - "languages.ben": "Βεγγαλική", - "languages.bih": "Μπιχάρι", - "languages.bis": "Μπισλάμα", - "languages.bos": "Βοσνιακά", - "languages.bre": "Breton", - "languages.bul": "Βούλγαρος", - "languages.mya": "Βιρμανίας", - "languages.cat": "Καταλανικά", - "languages.cha": "Chamorro", - "languages.che": "Της Τσετσενίας", - "languages.nya": "Chichewa", - "languages.zho": "Κινέζικα", - "languages.chv": "Χουβάς", - "languages.cor": "Cornish", - "languages.cos": "Κορσικανός", - "languages.cre": "Κρι", - "languages.hrv": "Κροατία", - "languages.ces": "Τσέχος", - "languages.dan": "Δανός", - "languages.div": "Ντιβέχι", - "languages.nld": "Ολλανδός", - "languages.dzo": "Dzongkha", - "languages.eng": "Αγγλικά", - "languages.epo": "Εσπεράντο", - "languages.est": "Εσθονική", - "languages.ewe": "Προβατίνα", - "languages.fao": "Των Νήσων Φερόε", - "languages.fij": "Φίτζι", - "languages.fin": "Φινλανδικά", - "languages.fra": "Γαλλικά", - "languages.ful": "Fula", - "languages.glg": "Γαλικίας", - "languages.kat": "Γεωργιανά", - "languages.deu": "Γερμανός", - "languages.ell": "Ελληνικά", - "languages.grn": "Γκουαρανί", - "languages.guj": "Γκουτζαρατικά", - "languages.hat": "Αϊτής", - "languages.hau": "Χάουσα", - "languages.hed": "Εβραϊκά", - "languages.her": "Herero", - "languages.hin": "Χίντι", - "languages.hmo": "Hiri Motu", - "languages.hun": "Ούγγρος", - "languages.ina": "Ιντερλίνγκουα", - "languages.ind": "Ινδονησίας", - "languages.ile": "Ιντερλίνγκουε", - "languages.gle": "Ιρλανδικός", - "languages.ibo": "Ίγκμπο", - "languages.ipk": "Ινουπιάκ", - "languages.ido": "Ιντο", - "languages.isl": "Ισλανδικός", - "languages.ita": "Ιταλικά", - "languages.iku": "Ινουκτιτούτ", - "languages.jpn": "Ιαπωνικά", - "languages.jav": "Ιάβας", - "languages.kal": "Kalaallisut", - "languages.kan": "Κανάντα", - "languages.kau": "Κανούρι", - "languages.kas": "Κασμίρ", - "languages.kaz": "Του Καζακστάν", - "languages.khm": "Χμερ", - "languages.kik": "Κικούγιου", - "languages.kin": "Kinyarwanda", - "languages.kir": "Κιργιζίας", - "languages.kom": "Κώμη", - "languages.kon": "Kongo", - "languages.kor": "Κορέατικα", - "languages.kur": "Κουρδικά", - "languages.kua": "Kwanyama", - "languages.lat": "Λατινικά", - "languages.ltz": "Λουξεμβούργου", - "languages.lug": "Ganda", - "languages.lim": "Λιμβουργιανά", - "languages.lin": "Lingala", - "languages.lao": "Λάος", - "languages.lit": "Λιθουανικά", - "languages.lub": "Λούμπα-Κατάνγκα", - "languages.lav": "Της Λετονίας", - "languages.glv": "Μανξ", - "languages.mkd": "ΦΥΡΟΜ", - "languages.mlg": "Μαδαγασκάρης", - "languages.msa": "Μαλαισίας", - "languages.mal": "Μαλαγιάλαμ", - "languages.mlt": "Της Μάλτας", - "languages.mri": "Μαορί", - "languages.mar": "Μαράθι", - "languages.mah": "Μάρσαλ", - "languages.mon": "Μογγόλος", - "languages.nau": "Ναουρού", - "languages.nav": "Navajo", - "languages.nob": "Νορβηγικά", - "languages.nde": "Βόρεια Ντέμπελε", - "languages.nep": "Νεπάλ", - "languages.ndo": "Ndonga", - "languages.nno": "Νορβηγικά Νινόρσκ", - "languages.nor": "Νορβηγός", - "languages.iii": "Nuosu", - "languages.nbl": "Ισλανδική γλώσσα", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Παλιά εκκλησιαστική σλαβονική", - "languages.orm": "Ορόμο", - "languages.ori": "Οριγικά", - "languages.oss": "Οσετίας", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Πέρσης", - "languages.pol": "Πολωνός", - "languages.pus": "Πάστο", - "languages.por": "Πορτογάλος", - "languages.que": "Κέτσουα", - "languages.roh": "Ρωμανικά", - "languages.run": "Kirundi", - "languages.ron": "Ρουμανικός", - "languages.rus": "Ρωσικός", - "languages.san": "Σανσκριτικά", - "languages.srd": "Σαρδηνίας", - "languages.snd": "Σίντι", - "languages.sme": "Βόρεια Σάμι", - "languages.smo": "Σαμόα", - "languages.sag": "Σάνγκο", - "languages.srp": "Σέρβικα", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Σόνα", - "languages.sin": "Sinhala", - "languages.slk": "Σλοβάκος", - "languages.slv": "Σλοβενικά", - "languages.som": "Της Σομαλίας", - "languages.sot": "Νότια Σόθο", - "languages.spa": "Ισπανικά", - "languages.sun": "Σουδανικά", - "languages.swa": "Σουαχίλι", - "languages.ssw": "Swati", - "languages.swe": "Σουηδικά", - "languages.tam": "Ταμίλ", - "languages.tel": "Τελούγκου", - "languages.tgk": "Τατζικιστάν", - "languages.tha": "Ταϊλάνδης", - "languages.tir": "Τιγκρινιανά", - "languages.bod": "Θιβετιανά κανονικά", - "languages.tuk": "Τουρκμενιστάν", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Τόνγκα", - "languages.tur": "Τουρκική", - "languages.tso": "Τσόνγκα", - "languages.tat": "Ταταρικά", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Ουιγούρων", - "languages.ukr": "Ουκρανός", - "languages.urd": "Ούρντου", - "languages.uzb": "Ουζμπεκιστάν", - "languages.ven": "Venda", - "languages.vie": "Βιετνάμ", - "languages.vol": "Βόλαπικ", - "languages.win": "Βαλλονίας", - "languages.cym": "Ουαλίας", - "languages.wol": "Γουόλοφ", - "languages.fry": "Δυτικά Φριζιανά", - "languages.xho": "Xhosa", - "languages.yid": "Γίντις", - "languages.yor": "Γιορούμπα", - "languages.zha": "Zhuang", - "languages.zul": "Ζουλού", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_en.json b/sources/lang/Localization_en.json deleted file mode 100644 index 0074eaf..0000000 --- a/sources/lang/Localization_en.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "About COPS", - "allbooks.alphabetical.many": "Alphabetical index of the {0} books", - "allbooks.alphabetical.none": "Alphabetical index of absolutely no books", - "allbooks.alphabetical.one": "Alphabetical index of the single book", - "allbooks.title": "All books", - "authors.alphabetical.many": "Alphabetical index of the {0} authors", - "authors.alphabetical.none": "Alphabetical index of absolutely no authors", - "authors.alphabetical.one": "Alphabetical index of the single author", - "authors.title": "Authors", - "authorword.many": "{0} authors", - "authorword.none": "No authors", - "authorword.one": "1 author", - "bookentry.author": "{0} by {1}", - "bookword.many": "{0} books", - "bookword.none": "No books", - "bookword.one": "1 book", - "bookword.title": "Books", - "cog.alternate": "Search, sort and filters", - "content.series": "Series:", - "content.series.data": "Book {0} in the {1} series", - "content.summary": "Summary", - "customcolumn.boolean.no": "No", - "customcolumn.boolean.unknown": "Not Set", - "customcolumn.boolean.yes": "Yes", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Not Set", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alphabetical index of the {0} series", - "customcolumn.description.series.none": "Alphabetical index of absolutely no series", - "customcolumn.description.series.one": "Alphabetical index of the single series", - "customcolumn.enum.unknown": "Not Set", - "customcolumn.float.unknown": "Not Set", - "customcolumn.int.unknown": "Not Set", - "customcolumn.rating.unknown": "Not Set", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Set your email (to allow book emailing)", - "customize.fancybox": "Use Lightbox (books load in floating frame)", - "customize.filter": "Enable tag filtering", - "customize.ignored": "Ignored categories", - "customize.paging": "Max number of books per page (-1 to disable)", - "customize.style": "Theme", - "customize.title": "Customize COPS UI", - "home.alternate": "Home", - "i18n.coversection": "Cover", - "language.title": "Language", - "languages.alphabetical.many": "Alphabetical index of the {0} languages", - "languages.alphabetical.none": "Alphabetical index of absolutely no languages", - "languages.alphabetical.one": "Alphabetical index of the single language", - "languages.title": "Languages", - "mail.messagenotsent": "Message could not be sent.", - "mail.messagesent": "Message has been sent", - "paging.next.alternate": "Next", - "paging.previous.alternate": "Previous", - "permalink.alternate": "Permalink", - "pubdate.title": "Publication year", - "publisher.name": "Publisher", - "publishers.alphabetical.many": "Alphabetical index of the {0} publishers", - "publishers.alphabetical.none": "Alphabetical index of absolutely no publishers", - "publishers.alphabetical.one": "Alphabetical index of the single publisher", - "publishers.title": "Publishers", - "publisherword.many": "{0} publishers", - "publisherword.none": "No publishers", - "publisherword.one": "1 publisher", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "{0} most recent books", - "recent.title": "Recent additions", - "search.alternate": "Search", - "search.result": "Search result for *{0}*", - "search.result.author": "Search result for *{0}* in authors", - "search.result.book": "Search result for *{0}* in books", - "search.result.publisher": "Search result for *{0}* in publishers", - "search.result.series": "Search result for *{0}* in series", - "search.result.tag": "Search result for *{0}* in tags", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Alphabetical index of the {0} series", - "series.alphabetical.none": "Alphabetical index of absolutely no series", - "series.alphabetical.one": "Alphabetical index of the single series", - "series.title": "Series", - "seriesword.many": "{0} series", - "seriesword.none": "No series", - "seriesword.one": "1 series", - "sort.alternate": "Sort", - "splitByLetter.book.other": "Other books", - "splitByLetter.letter": "{0} starting with {1}", - "tags.alphabetical.many": "Alphabetical index of the {0} tags", - "tags.alphabetical.none": "Alphabetical index of absolutely no tags", - "tags.alphabetical.one": "Alphabetical index of the single tag", - "tags.title": "Tags", - "tagword.many": "{0} tags", - "tagword.none": "No tags", - "tagword.one": "1 tag", - "tagword.title": "Tags", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_es.json b/sources/lang/Localization_es.json deleted file mode 100644 index d68138e..0000000 --- a/sources/lang/Localization_es.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Acerca de COPS", - "allbooks.alphabetical.many": "Listado alfabético de {0} libros", - "allbooks.alphabetical.none": "Listado sin libros", - "allbooks.alphabetical.one": "Listado con un libro", - "allbooks.title": "Todos los libros", - "authors.alphabetical.many": "Listado alfabético de {0} autores", - "authors.alphabetical.none": "Listado sin autores", - "authors.alphabetical.one": "Listado con un autor", - "authors.title": "Autores", - "authorword.many": "{0} autores", - "authorword.none": "Sin autor", - "authorword.one": "1 autor", - "bookentry.author": "{0} de {1}", - "bookword.many": "{0} libros", - "bookword.none": "Sin libros", - "bookword.one": "1 libro", - "bookword.title": "Libros", - "cog.alternate": "Búsqueda, ordenación y filtros", - "content.series": "Series:", - "content.series.data": "Libro {0} en la {1} serie", - "content.summary": "Resumen", - "customcolumn.boolean.no": "No", - "customcolumn.boolean.unknown": "No Establecido", - "customcolumn.boolean.yes": "Sí", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "No Establecido", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Listado alfabético de {0} series", - "customcolumn.description.series.none": "Listado sin series", - "customcolumn.description.series.one": "Listado de una serie", - "customcolumn.enum.unknown": "No Establecido", - "customcolumn.float.unknown": "No Establecido", - "customcolumn.int.unknown": "No Establecido", - "customcolumn.rating.unknown": "No Establecido", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Su correo (Para envío de libros por correo)", - "customize.fancybox": "Usar LightBox", - "customize.filter": "Activar filtro por etiqueta", - "customize.ignored": "Ocultar categorías", - "customize.paging": "Max. número de libros por página (-1 para desactivar)", - "customize.style": "Tema", - "customize.title": "Configurar COPS UI", - "home.alternate": "Inicio", - "i18n.coversection": "Cubierta", - "language.title": "Idioma", - "languages.alphabetical.many": "Listado alfabético de {0} idiomas", - "languages.alphabetical.none": "Listado sin idiomas disponibles", - "languages.alphabetical.one": "Listado con un idioma", - "languages.title": "Idiomas", - "mail.messagenotsent": "El mensaje no pudo enviarse.", - "mail.messagesent": "El mensaje se ha enviado", - "paging.next.alternate": "Siguiente", - "paging.previous.alternate": "Anterior", - "permalink.alternate": "Enlace permanente", - "pubdate.title": "Año de publicación", - "publisher.name": "Editorial", - "publishers.alphabetical.many": "Listado alfabético de {0} editoriales", - "publishers.alphabetical.none": "Listado sin editoriales", - "publishers.alphabetical.one": "Listado con una editorial", - "publishers.title": "Editoriales", - "publisherword.many": "{0} editoriales", - "publisherword.none": "No hay editoriales", - "publisherword.one": "1 editorial", - "ratings.many": "{0} valoraciones", - "ratings.none": "sin valoraciones", - "ratings.one": "1 valoración", - "ratings.title": "Puntuaciones", - "ratingword.many": "{0} estrellas", - "ratingword.none": "Sin estrellas", - "ratingword.one": "1 estrella", - "recent.list": "{0} libros más recientes", - "recent.title": "Añadidos recientemente", - "search.alternate": "Buscar", - "search.result": "Resultados de buscar *{0}*", - "search.result.author": "Resultados de buscar *{0}* en autores", - "search.result.book": "Resultados de buscar *{0}* en libros", - "search.result.publisher": "Resultados de buscar *{0}* en editoriales", - "search.result.series": "Resultados de buscar *{0}* en series", - "search.result.tag": "Resultados de buscar *{0}* en etiquetas", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Listado alfabético de {0} series", - "series.alphabetical.none": "Listado sin series", - "series.alphabetical.one": "Listado de una serie", - "series.title": "Series", - "seriesword.many": "{0} series", - "seriesword.none": "Sin series", - "seriesword.one": "1 serie", - "sort.alternate": "Ordenar", - "splitByLetter.book.other": "Otros libros", - "splitByLetter.letter": "{0} que empiezan por {1}", - "tags.alphabetical.many": "Listado alfabético de las {0} etiquetas", - "tags.alphabetical.none": "Listado sin etiquetas", - "tags.alphabetical.one": "Listado alfabético de la unica etiqueta", - "tags.title": "Etiquetas", - "tagword.many": "etiquetas", - "tagword.none": "Sin etiquetas", - "tagword.one": "1 etiqueta", - "tagword.title": "Etiquetas", - "languages.abk": "Abjasio", - "languages.aaf": "Afar", - "languages.afr": "Afrikáans", - "languages.aka": "Ákan", - "languages.sqi": "Albano", - "languages.amh": "Amharic", - "languages.ara": "Arabe", - "languages.arg": "Aragonés", - "languages.hye": "Armenio", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Euskera", - "languages.bel": "Belarusian", - "languages.ben": "Bengalí", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnio", - "languages.bre": "Bretón", - "languages.bul": "Bulgaro", - "languages.mya": "Burmese", - "languages.cat": "Catalán", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chino", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croata", - "languages.ces": "Checo", - "languages.dan": "Danés", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "Inglés", - "languages.epo": "Esperanto", - "languages.est": "Estonio", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fiji", - "languages.fin": "Finlandés", - "languages.fra": "Francés", - "languages.ful": "Fula", - "languages.glg": "Gallego", - "languages.kat": "Georgiano", - "languages.deu": "Alemán", - "languages.ell": "Griego", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitiano", - "languages.hau": "Hausa", - "languages.hed": "Hebreo", - "languages.her": "Herero", - "languages.hin": "Hindú", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungaro", - "languages.ina": "Interlingua", - "languages.ind": "Indonesio", - "languages.ile": "Interlingue", - "languages.gle": "Irlandés", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Islandés", - "languages.ita": "Italiano", - "languages.iku": "Inuktitut", - "languages.jpn": "Japonés", - "languages.jav": "Javanés", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Congoleño", - "languages.kor": "Coreano", - "languages.kur": "Kurdo", - "languages.kua": "Kwanyama", - "languages.lat": "Latín", - "languages.ltz": "Luxemburgés", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lituano", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonio", - "languages.mlg": "Malagasy", - "languages.msa": "Malayo", - "languages.mal": "Malayalam", - "languages.mlt": "Maltés", - "languages.mri": "Maorí", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongol", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwego Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepalí", - "languages.ndo": "Ndonga", - "languages.nno": "Norwego Nynorsk", - "languages.nor": "Noruego", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persa", - "languages.pol": "Polaco", - "languages.pus": "Pashto", - "languages.por": "Portugués", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Rumano", - "languages.rus": "Ruso", - "languages.san": "Sánscrito", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbio", - "languages.gla": "Escocés Gaélico", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Sloveno", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Español", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Sueco", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turco", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitiano", - "languages.uig": "Uighur", - "languages.ukr": "Ucrainiano", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamita", - "languages.vol": "Volapük", - "languages.win": "Valón", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulú", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_eu.json b/sources/lang/Localization_eu.json deleted file mode 100644 index e69abf8..0000000 --- a/sources/lang/Localization_eu.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "COPS-i buruz", - "allbooks.alphabetical.many": "{0} libururen zerrenda alfabetikoa", - "allbooks.alphabetical.none": "Liburu gabeko zerrenda", - "allbooks.alphabetical.one": "Liburu bakarreko zerrenda", - "allbooks.title": "Liburu guztiak", - "authors.alphabetical.many": "{0} egileren zerrenda alfabetikoa", - "authors.alphabetical.none": "Egile gabeko zerrenda", - "authors.alphabetical.one": "Egile bakarreko zerrenda", - "authors.title": "Egileak", - "authorword.many": "{0} egile", - "authorword.none": "Egile gabe", - "authorword.one": "Egile 1", - "bookentry.author": "{1}-tik {0}", - "bookword.many": "{0} liburu", - "bookword.none": "Liburu gabe", - "bookword.one": "Liburu 1", - "bookword.title": "Liburuak", - "cog.alternate": "Bilaketa, ordena eta filtroak", - "content.series": "Sailak:", - "content.series.data": "{0} liburu {1} sailekoak", - "content.summary": "Laburpena:", - "customcolumn.boolean.no": "Ez", - "customcolumn.boolean.unknown": "Not Set", - "customcolumn.boolean.yes": "Bai", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Not Set", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "{0} sailen zerrenda alfabetikoa", - "customcolumn.description.series.none": "Sail gabeko zerrenda", - "customcolumn.description.series.one": "Sail bakarreko zerrenda", - "customcolumn.enum.unknown": "Not Set", - "customcolumn.float.unknown": "Not Set", - "customcolumn.int.unknown": "Not Set", - "customcolumn.rating.unknown": "Not Set", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Zure posta elektronikoa (posta bidezko liburu bidalketarako)", - "customize.fancybox": "LightBox erabili", - "customize.filter": "Etiketa bidezko filtroa aktibatu", - "customize.ignored": "Kategoriak ezkutatu", - "customize.paging": "Liburu kopuru maximoa orrialdeko (-1 desaktibatzeko)", - "customize.style": "Gaia", - "customize.title": "COPS UI konfiguratu", - "home.alternate": "Hasiera", - "i18n.coversection": "Azala", - "language.title": "Hizkuntza", - "languages.alphabetical.many": "{0} hizkuntzen zerrenda alfabetikoa", - "languages.alphabetical.none": "Hizkutzarik gabeko zerrenda", - "languages.alphabetical.one": "Hizkuntza bakarreko zerrenda", - "languages.title": "Hizkuntza", - "mail.messagenotsent": "Mezua ezin izan da bidali.", - "mail.messagesent": "Mezua bidali da", - "paging.next.alternate": "Hurrengoa", - "paging.previous.alternate": "Aurrekoa", - "permalink.alternate": "Esteka iraunkorra", - "pubdate.title": "Argitaratze urtea", - "publisher.name": "Argitaletxea", - "publishers.alphabetical.many": "{0} argitaletxeren zerrenda alfabetikoa", - "publishers.alphabetical.none": "Argitaletxe gabeko zerrenda", - "publishers.alphabetical.one": "Argitaletxe bakarreko zerrenda", - "publishers.title": "Argitaletxeak", - "publisherword.many": "{0} argitaletxe", - "publisherword.none": "Ez dago argitaletxerik", - "publisherword.one": "Argitaletxe 1", - "ratings.many": "{0} puntuaketa", - "ratings.none": "Ez dago puntuaketarik", - "ratings.one": "Puntuaketa 1", - "ratings.title": "Puntuaketak", - "ratingword.many": "{0} izar", - "ratingword.none": "Izar gabe", - "ratingword.one": "Izar 1", - "recent.list": "{0} liburu berrienak", - "recent.title": "Berriki zerrendatuak", - "search.alternate": "Bilatu", - "search.result": "*{0}* bilaketaren emaitzak", - "search.result.author": "*{0}* bilaketaren emaitzak egileetan", - "search.result.book": "*{0}* bilaketaren emaitzak liburuetan", - "search.result.publisher": "*{0}* bilaketaren emaitzak argitaletxetan", - "search.result.series": "*{0}* bilaketaren emaitzak sailetan", - "search.result.tag": "*{0}* bilaketaren emaitzak etiketetan", - "search.sortorder.asc": "Gora", - "search.sortorder.desc": "Behera", - "series.alphabetical.many": "{0} sailen zerrenda alfabetikoa", - "series.alphabetical.none": "Sail gabeko zerrenda", - "series.alphabetical.one": "Sail bakarreko zerrenda", - "series.title": "Sailak", - "seriesword.many": "{0} sail", - "seriesword.none": "Sail gabe", - "seriesword.one": "Sail 1", - "sort.alternate": "Ordenatu", - "splitByLetter.book.other": "Beste liburu batzuk", - "splitByLetter.letter": "{1}-tik haste d(ir)en {0}", - "tags.alphabetical.many": "{0} etiketen zerrenda alfabetikoa", - "tags.alphabetical.none": "Etiketa gabeko zerrenda", - "tags.alphabetical.one": "Etiketa bakarreko zerrenda", - "tags.title": "Etiketak", - "tagword.many": "{0} etiketa", - "tagword.none": "Etiketa gabe", - "tagword.one": "Etiketa 1", - "tagword.title": "Etiketak", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Euskara", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Katalana", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "Ingelesa", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "Frantzesa", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "Alemana", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italiera", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latina", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Gaztelania", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_fr.json b/sources/lang/Localization_fr.json deleted file mode 100644 index 85b9c19..0000000 --- a/sources/lang/Localization_fr.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "A propos de COPS", - "allbooks.alphabetical.many": "Index alphabétique des {0} livres", - "allbooks.alphabetical.none": "Index alphabétique - aucun livre", - "allbooks.alphabetical.one": "Index alphabétique du seul livre", - "allbooks.title": "Tous les livres", - "authors.alphabetical.many": "Index alphabétique des {0} auteurs", - "authors.alphabetical.none": "Index alphabétique - aucun auteur", - "authors.alphabetical.one": "Index alphabétique du seul auteur", - "authors.title": "Auteurs", - "authorword.many": "{0} auteurs", - "authorword.none": "Pas d'auteur", - "authorword.one": "1 auteur", - "bookentry.author": "{0} de {1}", - "bookword.many": "{0} livres", - "bookword.none": "Aucun livre", - "bookword.one": "1 livre", - "bookword.title": "Livres", - "cog.alternate": "Recherche, tri et filtres", - "content.series": "Collection:", - "content.series.data": "Livre {0} dans la collection {1}", - "content.summary": "Résumé", - "customcolumn.boolean.no": "Non", - "customcolumn.boolean.unknown": "Non défini", - "customcolumn.boolean.yes": "Oui", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Non défini", - "customcolumn.description": "Colonne personnalisée '{0}'", - "customcolumn.description.bool": "Index des valeurs booléenne", - "customcolumn.description.enum.many": "Index alphabétique de {0} valeurs", - "customcolumn.description.enum.none": "Index alphabétique - aucune valeur", - "customcolumn.description.enum.one": "Index alphabétique - une seule valeur", - "customcolumn.description.rating": "Index des appréciations", - "customcolumn.description.series.many": "Index alphabétique de {0} collections", - "customcolumn.description.series.none": "Index alphabétique - aucune collection", - "customcolumn.description.series.one": "Index alphabétique - Une seule collection", - "customcolumn.enum.unknown": "Non défini", - "customcolumn.float.unknown": "Non défini", - "customcolumn.int.unknown": "Non défini", - "customcolumn.rating.unknown": "Non défini", - "customcolumn.stars.many": "{0} étoiles", - "customcolumn.stars.none": "Aucune étoile", - "customcolumn.stars.one": "1 étoile", - "customize.email": "Adresse email (pour l'envoi automatique de livres)", - "customize.fancybox": "Utiliser une Lightbox", - "customize.filter": "Filtrage via les étiquettes", - "customize.ignored": "Catégories ignorées", - "customize.paging": "Nombre de livres par page (-1 pour désactiver)", - "customize.style": "Thème", - "customize.title": "Paramétrage de COPS", - "home.alternate": "Accueil", - "i18n.coversection": "Couverture", - "language.title": "Langue", - "languages.alphabetical.many": "Index alphabétique des {0} langues", - "languages.alphabetical.none": "Index alphabétique - Aucune langue", - "languages.alphabetical.one": "Index alphabétique - Une seule langue", - "languages.title": "Langues", - "mail.messagenotsent": "Le message n'a pas pu être envoyé.", - "mail.messagesent": "Le message a été envoyé", - "paging.next.alternate": "Suivant", - "paging.previous.alternate": "Précédent", - "permalink.alternate": "Permalien", - "pubdate.title": "Année de publication", - "publisher.name": "Editeur", - "publishers.alphabetical.many": "Index alphabétique des {0} éditeurs", - "publishers.alphabetical.none": "Index alphabétique - Aucun éditeur", - "publishers.alphabetical.one": "Index alphabétique - Un seul éditeur", - "publishers.title": "Editeurs", - "publisherword.many": "{0} éditeurs", - "publisherword.none": "Aucun éditeur", - "publisherword.one": "1 éditeur", - "ratings.many": "{0} Appréciations", - "ratings.none": "Pas d'appréciations", - "ratings.one": "1 appréciation", - "ratings.title": "Appréciations", - "ratingword.many": "{0} étoiles", - "ratingword.none": "Aucune étoile", - "ratingword.one": "1 étoile", - "recent.list": "{0} livres les plus récents", - "recent.title": "Ajouts récents", - "search.alternate": "Rechercher", - "search.result": "Résultats pour *{0}*", - "search.result.author": "Résultats pour *{0}* dans les auteurs", - "search.result.book": "Résultats pour *{0}* dans les livres", - "search.result.publisher": "Résultats pour *{0}* dans les éditeurs", - "search.result.series": "Résultats pour *{0}* dans les colllections", - "search.result.tag": "Résultats pour *{0}* dans les étiquettes", - "search.sortorder.asc": "Crois.", - "search.sortorder.desc": "Décrois.", - "series.alphabetical.many": "Index alphabétique de {0} collections", - "series.alphabetical.none": "Index alphabétique - aucune collection", - "series.alphabetical.one": "Index alphabétique - Une seule collection", - "series.title": "Collections", - "seriesword.many": "{0} collections", - "seriesword.none": "Pas de collection", - "seriesword.one": "1 collection", - "sort.alternate": "Trier", - "splitByLetter.book.other": "Autres livres", - "splitByLetter.letter": "{0} débutant par {1}", - "tags.alphabetical.many": "Index alphabétique des {0} étiquettes", - "tags.alphabetical.none": "Index alphabétique - aucune étiquette", - "tags.alphabetical.one": "Index alphabétique - Une seule étiquette", - "tags.title": "Étiquettes", - "tagword.many": "{0} étiquettes", - "tagword.none": "Sans étiquette", - "tagword.one": "1 étiquette", - "tagword.title": "Étiquettes", - "languages.abk": "Abkhaze", - "languages.aaf": "Afar", - "languages.afr": "Afrikaner", - "languages.aka": "Akan", - "languages.sqi": "Albanais", - "languages.amh": "Amharique", - "languages.ara": "Arabe", - "languages.arg": "Aragonais", - "languages.hye": "Armenien", - "languages.asm": "Assamais", - "languages.ava": "Avar", - "languages.ave": "Avestique", - "languages.aym": "Aymara", - "languages.aze": "Azerbaïjanais", - "languages.bam": "Bambara", - "languages.bak": "Bachkir", - "languages.eus": "Basque", - "languages.bel": "Bielorusse", - "languages.ben": "Bengalais", - "languages.bih": "Bihari", - "languages.bis": "Bichelamar", - "languages.bos": "Bosnien", - "languages.bre": "Breton", - "languages.bul": "Bulgare", - "languages.mya": "Birman", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Tchétchène", - "languages.nya": "Chichewa", - "languages.zho": "Chinois", - "languages.chv": "Tchouvache", - "languages.cor": "Cornique", - "languages.cos": "Corse", - "languages.cre": "Cree", - "languages.hrv": "Croate", - "languages.ces": "Tchèque", - "languages.dan": "Danois", - "languages.div": "Divehi", - "languages.nld": "Néerlandais", - "languages.dzo": "Dzongkha", - "languages.eng": "Anglais", - "languages.epo": "Esperanto", - "languages.est": "Estonien", - "languages.ewe": "Ewe", - "languages.fao": "Féroïen", - "languages.fij": "Fidjien", - "languages.fin": "Finnois", - "languages.fra": "Français", - "languages.ful": "Peul", - "languages.glg": "Galicien", - "languages.kat": "Georgien", - "languages.deu": "Allemand", - "languages.ell": "Grec", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitien", - "languages.hau": "Hausa", - "languages.hed": "Hébreu", - "languages.her": "Héréro", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hongrois", - "languages.ina": "Interlingua", - "languages.ind": "Indonésien", - "languages.ile": "Interlingue", - "languages.gle": "Irlandais", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiak", - "languages.ido": "Ido", - "languages.isl": "Islandais", - "languages.ita": "Italien", - "languages.iku": "Inuktitut", - "languages.jpn": "Japonais", - "languages.jav": "Javanais", - "languages.kal": "Groenlandais", - "languages.kan": "Kannada", - "languages.kau": "Kanouri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazak", - "languages.khm": "Khmer", - "languages.kik": "Kikouyou", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgize", - "languages.kom": "Komi", - "languages.kon": "Kikongo", - "languages.kor": "Coréen", - "languages.kur": "Kurde", - "languages.kua": "Kuanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgeois", - "languages.lug": "Ganda", - "languages.lim": "Limburgeois", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanien", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvien", - "languages.glv": "Mannois", - "languages.mkd": "Macédonien", - "languages.mlg": "Malagais", - "languages.msa": "Malais", - "languages.mal": "Malayalam", - "languages.mlt": "Maltais", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallais", - "languages.mon": "Mongol", - "languages.nau": "Nauruan", - "languages.nav": "Navajo", - "languages.nob": "Norvégien Bokmål", - "languages.nde": "Ndébélé", - "languages.nep": "Népalais", - "languages.ndo": "Ndonga", - "languages.nno": "Norvégien Nynorsk", - "languages.nor": "Norvégien", - "languages.iii": "Nuosu", - "languages.nbl": "Sindebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Vieux-slave", - "languages.orm": "Oromo", - "languages.ori": "Odia", - "languages.oss": "Ossete", - "languages.pan": "Penjabais", - "languages.pli": "Pāli", - "languages.fas": "Perse", - "languages.pol": "Polonais", - "languages.pus": "Pachtoune", - "languages.por": "Portugais", - "languages.que": "Quechua", - "languages.roh": "Romanche", - "languages.run": "Kirundi", - "languages.ron": "Roumain", - "languages.rus": "Russe", - "languages.san": "Sanscrit", - "languages.srd": "Sarde", - "languages.snd": "Sindhi", - "languages.sme": "Sami du Nord", - "languages.smo": "Samoais", - "languages.sag": "Sango", - "languages.srp": "Serbe", - "languages.gla": "Gaélique Écossais", - "languages.sna": "Shona", - "languages.sin": "Cingalais", - "languages.slk": "Slovaque", - "languages.slv": "Slovene", - "languages.som": "Somalien", - "languages.sot": "Sotho du Sud", - "languages.spa": "Espagnol", - "languages.sun": "Soudanais", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Suédois", - "languages.tam": "Tamile", - "languages.tel": "Telougou", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinia", - "languages.bod": "Tibétain Standard", - "languages.tuk": "Turkmène", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tongien", - "languages.tur": "Turc", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitien", - "languages.uig": "Ouïghour", - "languages.ukr": "Ukrainien", - "languages.urd": "Ourdou", - "languages.uzb": "Ouzbeque", - "languages.ven": "Venda", - "languages.vie": "Vietnamien", - "languages.vol": "Volapük", - "languages.win": "Wallon", - "languages.cym": "Gallois", - "languages.wol": "Wolof", - "languages.fry": "Frison occidental", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zoulou", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_ht.json b/sources/lang/Localization_ht.json deleted file mode 100644 index 70d8de6..0000000 --- a/sources/lang/Localization_ht.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "A pwopo COPS", - "allbooks.alphabetical.many": "lòd endèks nan {0} liv", - "allbooks.alphabetical.none": "lòd endèks nan yon liv", - "allbooks.alphabetical.one": "lòd endèks nan yon sèl liv", - "allbooks.title": "Tout liv", - "authors.alphabetical.many": "lòd endèks nan otè {0}", - "authors.alphabetical.none": "lòd endèks ki pa gen otè", - "authors.alphabetical.one": "lòd endèks nan yon sèl otè", - "authors.title": "Otè", - "authorword.many": "{0} Otè", - "authorword.none": "Pa gen otè", - "authorword.one": "1 otè", - "bookentry.author": "{0} de {1}", - "bookword.many": "{0} liv", - "bookword.none": "Pa gen liv", - "bookword.one": "1 liv", - "bookword.title": "Liv", - "cog.alternate": "Chèche, sòt ak filtre", - "content.series": "Koleksyon:", - "content.series.data": "Liv {0} ki nan koleksyon an {1}", - "content.summary": "Rezime:", - "customcolumn.boolean.no": "No", - "customcolumn.boolean.unknown": "Not Set", - "customcolumn.boolean.yes": "Yes", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Not Set", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Lòd endèks nan {0} koleksyon s", - "customcolumn.description.series.none": "Lòd endèks nan absoliman okenn seri", - "customcolumn.description.series.one": "Lòd endèks nan koleksyon an sèlman", - "customcolumn.enum.unknown": "Not Set", - "customcolumn.float.unknown": "Not Set", - "customcolumn.int.unknown": "Not Set", - "customcolumn.rating.unknown": "Not Set", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "adrès Imèl (pou otomatik voye nan liv )", - "customize.fancybox": "Sèvi ak yon bwat limyè", - "customize.filter": "Filtraj atravè Tags", - "customize.ignored": "inyore Kategori", - "customize.paging": "Nimewo nan liv pou chak paj (-1 vin enfim )", - "customize.style": "Tèm", - "customize.title": "Mete flik COPS", - "home.alternate": "Kay", - "i18n.coversection": "Kouvri", - "language.title": "Lang", - "languages.alphabetical.many": "Lòd endèks nan {0} lang", - "languages.alphabetical.none": "Lòd endèks nan absoliman okenn lang", - "languages.alphabetical.one": "Lòd endèks pale yon sèl lang", - "languages.title": "Lang", - "mail.messagenotsent": "Mesaj la pa t 'kapab ap voye.", - "mail.messagesent": "te mesaj la te voye", - "paging.next.alternate": "Suivant", - "paging.previous.alternate": "Pwochen", - "permalink.alternate": "Permalien", - "pubdate.title": "ane Piblikasyon", - "publisher.name": "Editè", - "publishers.alphabetical.many": "Lòd endèks nan {0} editè", - "publishers.alphabetical.none": "Lòd endèks nan absoliman okenn piblikatè", - "publishers.alphabetical.one": "Lòd Index Editè", - "publishers.title": "Piblikatè", - "publisherword.many": "{0} editè", - "publisherword.none": "Pa gen editè", - "publisherword.one": "1 editè", - "ratings.many": "{0} Li renmen", - "ratings.none": "Pa gen evalyasyon", - "ratings.one": "1 Revizyon", - "ratings.title": "Li renmen", - "ratingword.many": "{0} zetwal", - "ratingword.none": "Pa gen Etwal", - "ratingword.one": "1 etwal", - "recent.list": "{0} liv ki pi resan", - "recent.title": "Dènyèman te ajoute", - "search.alternate": "Chèche", - "search.result": "Rezilta pou *{0}*", - "search.result.author": "Rezilta pou * {0} * nan otè yo", - "search.result.book": "Rezilta pou * {0} * nan liv yo", - "search.result.publisher": "Rezilta pou * {0} * nan editè yo", - "search.result.series": "Rezilta pou * {0} * nan koleksyon", - "search.result.tag": "Rezilta pou * {0} * nan etikèt", - "search.sortorder.asc": "Mete konfyans nou.", - "search.sortorder.desc": "Ap desann.", - "series.alphabetical.many": "Lòd endèks nan {0} koleksyon s", - "series.alphabetical.none": "Lòd endèks nan absoliman okenn seri", - "series.alphabetical.one": "Lòd endèks nan koleksyon an sèlman", - "series.title": "Koleksyon", - "seriesword.many": "{0} koleksyon", - "seriesword.none": "Pa gen koleksyon", - "seriesword.one": "1 koleksyon", - "sort.alternate": "Triye", - "splitByLetter.book.other": "lòt liv", - "splitByLetter.letter": "{0} kòmanse avèk {1}", - "tags.alphabetical.many": "Lòd endèks nan etikèt {0}", - "tags.alphabetical.none": "Lòd endèks nan absoliman okenn tags", - "tags.alphabetical.one": "Lòd endèks nan etikèt la sèl", - "tags.title": "Etikèt", - "tagword.many": "{0} etikèt", - "tagword.none": "Tagless", - "tagword.one": "1 tag", - "tagword.title": "Etikèt", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "Anglais", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "Français", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_hu.json b/sources/lang/Localization_hu.json deleted file mode 100644 index 83c621b..0000000 --- a/sources/lang/Localization_hu.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "COPS-ról", - "allbooks.alphabetical.many": "ABC sorrendben {0}. könyv", - "allbooks.alphabetical.none": "ABC sorrendben, ha teljessen nincs könyv", - "allbooks.alphabetical.one": "ABC sorrendben egyetlen könyv", - "allbooks.title": "Minden könyv", - "authors.alphabetical.many": "ABC sorrendben {0} szerző", - "authors.alphabetical.none": "ABC sorrendben, ha teljesen nincs szerző", - "authors.alphabetical.one": "ABC sorrendben egyetlen szerző", - "authors.title": "Szerzők", - "authorword.many": "{0} szerző", - "authorword.none": "Nincs szerző", - "authorword.one": "1 szerző", - "bookentry.author": "{0} az {1}ből", - "bookword.many": "{0} könyv", - "bookword.none": "Nincs könyv", - "bookword.one": "1 könyv", - "bookword.title": "Könyvek", - "cog.alternate": "Keresés, rendezés és szürés", - "content.series": "Sorozatok:", - "content.series.data": "{0} .dik könyv a {1} sorozatból", - "content.summary": "Összegzés", - "customcolumn.boolean.no": "Nem", - "customcolumn.boolean.unknown": "Alapértelmezett", - "customcolumn.boolean.yes": "Igen", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Alapértelmezett", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "ABC sorrendben {0} sorozat", - "customcolumn.description.series.none": "ABC sorrendben, ha teljessen nincs sorozat", - "customcolumn.description.series.one": "ABC sorrendben egyetlen sorozat", - "customcolumn.enum.unknown": "Alapértelmezett", - "customcolumn.float.unknown": "Alapértelmezett", - "customcolumn.int.unknown": "Alapértelmezett", - "customcolumn.rating.unknown": "Alapértelmezett", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Állitsd be az email cimed (engedélyezi a könyvek küldését emailban)", - "customize.fancybox": "Lightbox használata", - "customize.filter": "Engedélyzi a tag alapján a szürést", - "customize.ignored": "Figyelmen kivül hagyott kategoriák", - "customize.paging": "Maximum könyv oldalanként (-1 kikapcsolja)", - "customize.style": "Téma", - "customize.title": "Egyedi COPS UI", - "home.alternate": "Főoldal", - "i18n.coversection": "Boritó", - "language.title": "Nyelv", - "languages.alphabetical.many": "ABC sorrendben {0} nyelv", - "languages.alphabetical.none": "ABC sorrendben, ha teljessen nincs nyelv", - "languages.alphabetical.one": "ABC sorrendben egyetlen nyelv", - "languages.title": "Nyelvek", - "mail.messagenotsent": "Az üzenet nincs elküldve.", - "mail.messagesent": "Az üzenet elküldve", - "paging.next.alternate": "Következő", - "paging.previous.alternate": "Elöző", - "permalink.alternate": "Permalink", - "pubdate.title": "Kiadás éve", - "publisher.name": "Kiadó", - "publishers.alphabetical.many": "ABC sorrendben {0} kiadó", - "publishers.alphabetical.none": "ABC sorrendben, ha teljessen nincs kiadó", - "publishers.alphabetical.one": "ABC sorrendben egyetlen kiadó", - "publishers.title": "Kiadók", - "publisherword.many": "{0} kiadó", - "publisherword.none": "Nincs kiadó", - "publisherword.one": "1 kiadó", - "ratings.many": "{0} értékelés", - "ratings.none": "Nincs értékelés", - "ratings.one": "1 értékelés", - "ratings.title": "Értékelések", - "ratingword.many": "{0} csillag", - "ratingword.none": "Nincs csillag", - "ratingword.one": "1 csillag", - "recent.list": "{0} legutóbbi könyv", - "recent.title": "Legutobbi hozzáadás", - "search.alternate": "Keresés", - "search.result": "Keresés eredménye a *{0}*", - "search.result.author": "Keresés eredménye a *{0}* szerzők közt", - "search.result.book": "Keresés eredménye a *{0}* könyvek közt", - "search.result.publisher": "Keresés eredménye a *{0}* kiadók közt", - "search.result.series": "Keresés eredménye a *{0}* sorozatok közt", - "search.result.tag": "Keresés eredménye a *{0}* tagok közt", - "search.sortorder.asc": "Emelkedő", - "search.sortorder.desc": "Csökkenő", - "series.alphabetical.many": "ABC sorrendben {0} sorozat", - "series.alphabetical.none": "ABC sorrendben, ha teljessen nincs sorozat", - "series.alphabetical.one": "ABC sorrendben egyetlen sorozat", - "series.title": "Sorozatok", - "seriesword.many": "{0} sorozat", - "seriesword.none": "Nincs sorozat", - "seriesword.one": "1 sorozat", - "sort.alternate": "Rendezés", - "splitByLetter.book.other": "Egyébb könyvek", - "splitByLetter.letter": "{0} kezdőbetűje {1}", - "tags.alphabetical.many": "ABC sorrendben {0} tags", - "tags.alphabetical.none": "ABC sorrendben, ha teljessen nincs tag", - "tags.alphabetical.one": "ABC sorrendben egyetlen tag", - "tags.title": "Tagok", - "tagword.many": "{0} tags", - "tagword.none": "Nincs tag", - "tagword.one": "1 tag", - "tagword.title": "Tagok", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albán", - "languages.amh": "Amharic", - "languages.ara": "Arab", - "languages.arg": "Aragonese", - "languages.hye": "Örmény", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbajdzsán", - "languages.bam": "Bambara", - "languages.bak": "Baskír", - "languages.eus": "Baszk", - "languages.bel": "Fehérorosz", - "languages.ben": "Bengáli", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnyák", - "languages.bre": "Breton", - "languages.bul": "Bolgár", - "languages.mya": "Burmese", - "languages.cat": "Katalán", - "languages.cha": "Chamorro", - "languages.che": "Csecsen", - "languages.nya": "Chichewa", - "languages.zho": "Kínai", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Horvát", - "languages.ces": "Cseh", - "languages.dan": "Dán", - "languages.div": "Divehi", - "languages.nld": "Holland", - "languages.dzo": "Dzongkha", - "languages.eng": "Angol", - "languages.epo": "Eszperantó", - "languages.est": "Észt", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finn", - "languages.fra": "Francia", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "Német", - "languages.ell": "Görög", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haiti", - "languages.hau": "Hausa", - "languages.hed": "Héber", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Magyar", - "languages.ina": "Interlingua", - "languages.ind": "Indonéz", - "languages.ile": "Interlingue", - "languages.gle": "Ír", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Izlandi", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japán", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazah", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Koreai", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Makedón", - "languages.mlg": "Malagasy", - "languages.msa": "Maláj", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Maori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongol", - "languages.nau": "Nauru", - "languages.nav": "Navahó", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepáli", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norvég", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Pandzsabi", - "languages.pli": "Pāli", - "languages.fas": "Perzsa", - "languages.pol": "Lengyel", - "languages.pus": "Pastu", - "languages.por": "Portugál", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Román", - "languages.rus": "Orosz", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Szerb", - "languages.gla": "Skót", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Szlovák", - "languages.slv": "Szlovén", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanyol", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Svéd", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Török", - "languages.tso": "Tsonga", - "languages.tat": "Tatár", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrán", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnámi", - "languages.vol": "Volapük", - "languages.win": "Vallon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_it.json b/sources/lang/Localization_it.json deleted file mode 100644 index 5b34876..0000000 --- a/sources/lang/Localization_it.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "A proposito di COPS", - "allbooks.alphabetical.many": "Indice alfabetico di {0} libri", - "allbooks.alphabetical.none": "Indice alfabetico indipendente dal libro", - "allbooks.alphabetical.one": "Indice alfabetico di un solo libro", - "allbooks.title": "Tutti i libri", - "authors.alphabetical.many": "Indice alfabetico di {0} autori", - "authors.alphabetical.none": "Indice alfabetico indipendente dall'autore", - "authors.alphabetical.one": "Indice alfabetico di un solo autore", - "authors.title": "Autori", - "authorword.many": "{0} autori", - "authorword.none": "Senza autore", - "authorword.one": "1 autore", - "bookentry.author": "{0} di {1}", - "bookword.many": "{0} libri", - "bookword.none": "Nessun libro", - "bookword.one": "1 libro", - "bookword.title": "Libri", - "cog.alternate": "Ricerca, ordinamento e filtri", - "content.series": "Collana:", - "content.series.data": "Libro {0} nella collana {1}", - "content.summary": "Riassunto", - "customcolumn.boolean.no": "TLS", - "customcolumn.boolean.unknown": "Non Impostato", - "customcolumn.boolean.yes": "Si", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Non Impostato", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Indice alfabetico di {0} collane", - "customcolumn.description.series.none": "Indice alfabetico indipendente dalla collana", - "customcolumn.description.series.one": "Indice alfabetico di una sola collana", - "customcolumn.enum.unknown": "Non Impostato", - "customcolumn.float.unknown": "Non Impostato", - "customcolumn.int.unknown": "Non Impostato", - "customcolumn.rating.unknown": "Non Impostato", - "customcolumn.stars.many": "{0} Stelle", - "customcolumn.stars.none": "Senza stelle", - "customcolumn.stars.one": "1 stella", - "customize.email": "Imposta la tua email (per permettere l'invio di email)", - "customize.fancybox": "Usa una Lightbox", - "customize.filter": "Abilita il filtro per argomento", - "customize.ignored": "Categorie ignorate", - "customize.paging": "Numero massimo di libri per pagina (-1 per disabilitare)", - "customize.style": "Tema", - "customize.title": "Personalizza l'interfaccia di COPS", - "home.alternate": "Home", - "i18n.coversection": "Copertina", - "language.title": "Lingua", - "languages.alphabetical.many": "Indice alfabetico delle {0} lingue", - "languages.alphabetical.none": "Indice alfabetico indipendente dalla lingua", - "languages.alphabetical.one": "Indice alfabetico della singola lingua", - "languages.title": "Lingue", - "mail.messagenotsent": "L'e-mail non può essere spedita.", - "mail.messagesent": "L'e-mail è stata spedita", - "paging.next.alternate": "Prossimo", - "paging.previous.alternate": "Precedente", - "permalink.alternate": "Permalink", - "pubdate.title": "Anno di publicazione", - "publisher.name": "Editore", - "publishers.alphabetical.many": "Indice alfabetico degli {0} editori", - "publishers.alphabetical.none": "Indice alfabetico indipendente dall'editore", - "publishers.alphabetical.one": "Indice alfabetico del singolo editore", - "publishers.title": "Editori", - "publisherword.many": "{0} editori", - "publisherword.none": "Nessun editore", - "publisherword.one": "1 editore", - "ratings.many": "{0} valutazioni", - "ratings.none": "nessuna valutazione", - "ratings.one": "1 valutazione", - "ratings.title": "Valutazioni", - "ratingword.many": "{0} stelle", - "ratingword.none": "Nessuna stella", - "ratingword.one": "1 stella", - "recent.list": "I {0} libri più recenti", - "recent.title": "Ultime aggiunte", - "search.alternate": "Cerca", - "search.result": "Risultati per *{0}*", - "search.result.author": "Risultato della ricerca di *{0}* negli autori", - "search.result.book": "Risultato della ricerca di *{0}* nei libri", - "search.result.publisher": "Risultato della ricerca di *{0}* negli editori", - "search.result.series": "Risultato della ricerca di *{0}* nelle collane", - "search.result.tag": "Risultato della ricerca di *{0}* negli argomenti", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Disc", - "series.alphabetical.many": "Indice alfabetico di {0} collane", - "series.alphabetical.none": "Indice alfabetico indipendente dalla collana", - "series.alphabetical.one": "Indice alfabetico di una sola collana", - "series.title": "Collane", - "seriesword.many": "{0} collane", - "seriesword.none": "Nessuna collana", - "seriesword.one": "1 collana", - "sort.alternate": "Tipo", - "splitByLetter.book.other": "Altri libri", - "splitByLetter.letter": "{0} che iniziano per {1}", - "tags.alphabetical.many": "Indice alfabetico di {0} argomenti", - "tags.alphabetical.none": "Indice alfabetico indipendente dall'argomento", - "tags.alphabetical.one": "Indice alfabetico del solo argomento", - "tags.title": "Argomenti", - "tagword.many": "{0} argomenti", - "tagword.none": "Senza argomento", - "tagword.one": "1 argomento", - "tagword.title": "Argomenti", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanese", - "languages.amh": "Amharic", - "languages.ara": "Arabo", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italiano", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portoghese", - "languages.que": "Quechua", - "languages.roh": "Romancio", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spagnolo", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamita", - "languages.vol": "Volapük", - "languages.win": "vallone", - "languages.cym": "Gallese", - "languages.wol": "Senegalese", - "languages.fry": "Frisone del est", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "cinese semplificato", - "languages.zul": "Zuù", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_ko.json b/sources/lang/Localization_ko.json deleted file mode 100644 index 32e8a7f..0000000 --- a/sources/lang/Localization_ko.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "COPS에 대해", - "allbooks.alphabetical.many": "{0}권의 도서별 색인", - "allbooks.alphabetical.none": "0권의 도서별 색인", - "allbooks.alphabetical.one": "1권의 도서별 색인", - "allbooks.title": "전체 도서", - "authors.alphabetical.many": "{0}명의 저자별 색인", - "authors.alphabetical.none": "0명의 저자별 색인", - "authors.alphabetical.one": "1명의 저자별 색인", - "authors.title": "저자", - "authorword.many": "{0}명의 저자", - "authorword.none": "0명의 저자", - "authorword.one": "1명의 저자", - "bookentry.author": "{0} by {1}", - "bookword.many": "{0}권", - "bookword.none": "(없음)", - "bookword.one": "1권", - "bookword.title": "도서", - "cog.alternate": "검색, 정렬 및 필터링", - "content.series": "Series:", - "content.series.data": "Book {0} in the {1} series", - "content.summary": "요약", - "customcolumn.boolean.no": "2월", - "customcolumn.boolean.unknown": "Not Set", - "customcolumn.boolean.yes": "1월", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Not Set", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "{0}개의 시리즈별 색인", - "customcolumn.description.series.none": "0개의 시리즈별 색인", - "customcolumn.description.series.one": "1개의 시리즈별 색인", - "customcolumn.enum.unknown": "Not Set", - "customcolumn.float.unknown": "Not Set", - "customcolumn.int.unknown": "Not Set", - "customcolumn.rating.unknown": "Not Set", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "이메일주소 (도서 메일발송용)", - "customize.fancybox": "Lightbox 사용 (도서정보를 프레임으로 표시)", - "customize.filter": "태그 필터링기능 사용", - "customize.ignored": "무시할 카테고리", - "customize.paging": "페이지마다 표시할 도서 권수 (-1인 경우 무시)", - "customize.style": "스타일", - "customize.title": "COPS 설정", - "home.alternate": "최초", - "i18n.coversection": "Cover", - "language.title": "언어", - "languages.alphabetical.many": "4개의 언어별 색인", - "languages.alphabetical.none": "0개의 언어별 색인", - "languages.alphabetical.one": "1개의 언어별 색인", - "languages.title": "언어", - "mail.messagenotsent": "Message could not be sent.", - "mail.messagesent": "Message has been sent", - "paging.next.alternate": "다음", - "paging.previous.alternate": "이전", - "permalink.alternate": "Permalink", - "pubdate.title": "출판년도", - "publisher.name": "출판사", - "publishers.alphabetical.many": "{0}개 출판사별 색인", - "publishers.alphabetical.none": "0개 출판사별 색인", - "publishers.alphabetical.one": "1개 출판사별 색인", - "publishers.title": "출판사", - "publisherword.many": "{0}개 출판사", - "publisherword.none": "출판사 없음", - "publisherword.one": "1개 출판사", - "ratings.many": "{0}개 별점", - "ratings.none": "별점 없음", - "ratings.one": "1개 별점", - "ratings.title": "별점", - "ratingword.many": "별 {0}개", - "ratingword.none": "별 없음", - "ratingword.one": "별 1개", - "recent.list": "최근 추가된 {0}권의 책", - "recent.title": "최근 추가됨", - "search.alternate": "검색", - "search.result": "*{0}*의 검색결과", - "search.result.author": "저자명에서 *{0}* 검색", - "search.result.book": "도서정보에서 *{0}* 검색", - "search.result.publisher": "출판사명에서 *{0}* 검색", - "search.result.series": "시리즈명에서 *{0}* 검색", - "search.result.tag": "태그에서 *{0}* 검색", - "search.sortorder.asc": "오름차순", - "search.sortorder.desc": "내림차순", - "series.alphabetical.many": "{0}개의 시리즈별 색인", - "series.alphabetical.none": "0개의 시리즈별 색인", - "series.alphabetical.one": "1개의 시리즈별 색인", - "series.title": "시리즈", - "seriesword.many": "{0}개 시리즈", - "seriesword.none": "시리즈 없음", - "seriesword.one": "1개 시리즈", - "sort.alternate": "Sort", - "splitByLetter.book.other": "Other books", - "splitByLetter.letter": "{0} starting with {1}", - "tags.alphabetical.many": "{0}개의 태그별 색인", - "tags.alphabetical.none": "0개의 태그별 색인", - "tags.alphabetical.one": "1개의 태그별 색인", - "tags.title": "태그", - "tagword.many": "{0} tags", - "tagword.none": "No tags", - "tagword.one": "1 tag", - "tagword.title": "태그", - "languages.abk": "압하스어", - "languages.aaf": "아파르어", - "languages.afr": "아프리칸스어", - "languages.aka": "아칸어", - "languages.sqi": "알바니아어", - "languages.amh": "암하라어", - "languages.ara": "아랍어", - "languages.arg": "아라곤어", - "languages.hye": "아르메니아어", - "languages.asm": "아삼어", - "languages.ava": "아바르어", - "languages.ave": "아베스타어", - "languages.aym": "아이마라어", - "languages.aze": "아제르바이잔어", - "languages.bam": "밤바라어", - "languages.bak": "바슈키르어", - "languages.eus": "바스크어", - "languages.bel": "벨로루시어", - "languages.ben": "벵골어", - "languages.bih": "비하르어", - "languages.bis": "비슐라마어", - "languages.bos": "보스니아어", - "languages.bre": "브르타뉴어", - "languages.bul": "불가리아어", - "languages.mya": "버마어", - "languages.cat": "카탈루냐어", - "languages.cha": "차모로어", - "languages.che": "체첸어", - "languages.nya": "니안자어", - "languages.zho": "중국어", - "languages.chv": "추바슈어", - "languages.cor": "콘월어", - "languages.cos": "코르시카어", - "languages.cre": "크리어", - "languages.hrv": "크로아티아어", - "languages.ces": "체크어", - "languages.dan": "덴마크어", - "languages.div": "디베히어", - "languages.nld": "네덜란드어", - "languages.dzo": "종카어", - "languages.eng": "영어", - "languages.epo": "에스페란토", - "languages.est": "에스토이나어", - "languages.ewe": "에웨어", - "languages.fao": "페로어", - "languages.fij": "피지어", - "languages.fin": "핀란드어", - "languages.fra": "프랑스어", - "languages.ful": "풀라어", - "languages.glg": "갈리시아어", - "languages.kat": "조지아어", - "languages.deu": "독일어", - "languages.ell": "그리스어", - "languages.grn": "과라니어", - "languages.guj": "구자라트어", - "languages.hat": "아이티어", - "languages.hau": "하우사어", - "languages.hed": "히브리어", - "languages.her": "헤레로어", - "languages.hin": "힌디어", - "languages.hmo": "히리 모투어", - "languages.hun": "헝가리어", - "languages.ina": "인테르링구아", - "languages.ind": "인도네시아어", - "languages.ile": "인테르링구에", - "languages.gle": "아일랜드어", - "languages.ibo": "이그보어", - "languages.ipk": "이누피아크어", - "languages.ido": "이도", - "languages.isl": "아이슬란드어", - "languages.ita": "이탈리아어", - "languages.iku": "이누크티투트어", - "languages.jpn": "일본어", - "languages.jav": "자바어", - "languages.kal": "그린란드어", - "languages.kan": "칸나다어", - "languages.kau": "카누리어", - "languages.kas": "카슈미르어", - "languages.kaz": "카자흐어", - "languages.khm": "크메르어", - "languages.kik": "키쿠유어", - "languages.kin": "르완다어", - "languages.kir": "키르기스어", - "languages.kom": "코미어", - "languages.kon": "콩고어", - "languages.kor": "한국어", - "languages.kur": "쿠르드어", - "languages.kua": "콰냐마어", - "languages.lat": "라틴어", - "languages.ltz": "룩셈부르크어", - "languages.lug": "간다어", - "languages.lim": "림뷔르흐어", - "languages.lin": "링갈라어", - "languages.lao": "라오어", - "languages.lit": "리투아니아어", - "languages.lub": "루바-카탕가어", - "languages.lav": "라트비아어", - "languages.glv": "맨어", - "languages.mkd": "마케도니아어", - "languages.mlg": "마다가스카르어", - "languages.msa": "말레이어", - "languages.mal": "말라얄람어", - "languages.mlt": "몰타어", - "languages.mri": "마오리어", - "languages.mar": "마라티어", - "languages.mah": "마셜어", - "languages.mon": "몽골어", - "languages.nau": "나우루어", - "languages.nav": "나바호어", - "languages.nob": "덴마크-노르웨이어", - "languages.nde": "은데벨레어(북)", - "languages.nep": "네팔어", - "languages.ndo": "은동가어", - "languages.nno": "신노르웨이어", - "languages.nor": "노르웨이어", - "languages.iii": "쓰촨 이어", - "languages.nbl": "은데벨레어(남)", - "languages.oci": "오크어", - "languages.oji": "오지브와어", - "languages.chu": "슬라브어", - "languages.orm": "오로모어", - "languages.ori": "오리야어", - "languages.oss": "오세트어", - "languages.pan": "펀자브어", - "languages.pli": "팔리어", - "languages.fas": "페르시아어", - "languages.pol": "폴란드어", - "languages.pus": "파슈토어", - "languages.por": "포르투갈어", - "languages.que": "케추아어", - "languages.roh": "로만슈어", - "languages.run": "룬디어", - "languages.ron": "루마니아어", - "languages.rus": "러시아어", - "languages.san": "산스크리트어", - "languages.srd": "사르데냐어", - "languages.snd": "신드어", - "languages.sme": "사미어(북)", - "languages.smo": "사모아어", - "languages.sag": "상고어", - "languages.srp": "세르비아어", - "languages.gla": "게일어", - "languages.sna": "쇼나어", - "languages.sin": "싱할라어", - "languages.slk": "슬로바키아어", - "languages.slv": "슬로베니아어", - "languages.som": "소말리어", - "languages.sot": "소토어(남)", - "languages.spa": "스페인어", - "languages.sun": "순다어", - "languages.swa": "스와힐리어", - "languages.ssw": "스와티어", - "languages.swe": "스웨덴어", - "languages.tam": "타밀어", - "languages.tel": "텔루구어", - "languages.tgk": "타지크어", - "languages.tha": "태국어", - "languages.tir": "티그리냐어", - "languages.bod": "티베트어", - "languages.tuk": "투르크멘어", - "languages.tgl": "타갈로그어", - "languages.tsn": "츠와나어", - "languages.ton": "통가어", - "languages.tur": "터키어", - "languages.tso": "총가어", - "languages.tat": "타타르어", - "languages.twi": "트위어", - "languages.tah": "타히티어", - "languages.uig": "위구르어", - "languages.ukr": "우크라이나어", - "languages.urd": "우르두어", - "languages.uzb": "우즈베크어", - "languages.ven": "벤다어", - "languages.vie": "베트남어", - "languages.vol": "볼라퓌크", - "languages.win": "왈론어", - "languages.cym": "웨일스어", - "languages.wol": "월로프어", - "languages.fry": "프리지아어", - "languages.xho": "코사어", - "languages.yid": "이디시어", - "languages.yor": "요루바어", - "languages.zha": "좡어", - "languages.zul": "줄루어", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_nb.json b/sources/lang/Localization_nb.json deleted file mode 100644 index c0f84ed..0000000 --- a/sources/lang/Localization_nb.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Om COPS", - "allbooks.alphabetical.many": "Alfabetisk indeks for {0} bøker", - "allbooks.alphabetical.none": "Alfabetisk indeks for absolutt ingen bøker", - "allbooks.alphabetical.one": "Alfabetisk indeks for èn enkelt bok", - "allbooks.title": "Alle bøker", - "authors.alphabetical.many": "Alfabetisk indeks for {0} forfattere", - "authors.alphabetical.none": "Alfabetisk indeks for ingen forfattere", - "authors.alphabetical.one": "Alfabetisk indeks for èn forfatter", - "authors.title": "Forfattere", - "authorword.many": "{0} forfattere", - "authorword.none": "Ingen forfattere", - "authorword.one": "1 forfatter", - "bookentry.author": "{0} av {1}", - "bookword.many": "{0} bøker", - "bookword.none": "Ingen bøker", - "bookword.one": "1 bok", - "bookword.title": "Bøker", - "cog.alternate": "Søk, sortering og filtrering", - "content.series": "Serier:", - "content.series.data": "Bok {0} i serien {1}", - "content.summary": "Sammendrag", - "customcolumn.boolean.no": "Nei", - "customcolumn.boolean.unknown": "Ikke satt", - "customcolumn.boolean.yes": "Ja", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Ikke satt", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alfabetisk indeks for {0} serier", - "customcolumn.description.series.none": "Alfabetisk indeks for ingen serier", - "customcolumn.description.series.one": "Alfabetisk indeks for èn enkelt serie", - "customcolumn.enum.unknown": "Ikke satt", - "customcolumn.float.unknown": "Ikke satt", - "customcolumn.int.unknown": "Ikke satt", - "customcolumn.rating.unknown": "Ikke satt", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Sett e-postadresse (for å sende bøker i e-post)", - "customize.fancybox": "Bruk en Lightbox", - "customize.filter": "Tillat filtrering på nøkkelord", - "customize.ignored": "Ignorerte kategorier", - "customize.paging": "Maks antall bøker per side (-1 for å deaktivere)", - "customize.style": "Tema", - "customize.title": "Tilpass COPS brukergrensesnitt", - "home.alternate": "Hjem", - "i18n.coversection": "Omslag", - "language.title": "Språk", - "languages.alphabetical.many": "Alfabetisk indek for de {0} språkene", - "languages.alphabetical.none": "Alfabetisk indeks for absolutt ingen språk", - "languages.alphabetical.one": "Alfabetisk indeks for ett enkelt språk", - "languages.title": "Språk", - "mail.messagenotsent": "Meldingen kunne ikke sendes.", - "mail.messagesent": "Meldingen er sendt", - "paging.next.alternate": "Neste", - "paging.previous.alternate": "Forrige", - "permalink.alternate": "Permalenke", - "pubdate.title": "Publikasjonsår", - "publisher.name": "Utgiver", - "publishers.alphabetical.many": "Alfabetisk indeks for {0} utgivere", - "publishers.alphabetical.none": "Alfabetisk indeks for absolutt ingen utgivere", - "publishers.alphabetical.one": "Alfabetisk indeks for en enkelt utgiver", - "publishers.title": "Utgivere", - "publisherword.many": "{0} utgivere", - "publisherword.none": "Ingen utgivere", - "publisherword.one": "1 utgiver", - "ratings.many": "{0} vurderinger", - "ratings.none": "ingen vurderinger", - "ratings.one": "1 vurdering", - "ratings.title": "Vurderinger", - "ratingword.many": "{0} stjerner", - "ratingword.none": "Ingen stjerner", - "ratingword.one": "1 stjerne", - "recent.list": "{0} nyeste bøker", - "recent.title": "Nylig lagt til", - "search.alternate": "Søk", - "search.result": "Søkeresultat for *{0}*", - "search.result.author": "Søkeresultat for *{0}* i forfattere", - "search.result.book": "Søkeresultat for *{0}* i bøker", - "search.result.publisher": "Søkeresultat for *{0}* i utgivere", - "search.result.series": "Søkeresultat for *{0}* i serier", - "search.result.tag": "Søkeresultat for *{0}* i nøkkelord", - "search.sortorder.asc": "Stigende", - "search.sortorder.desc": "Synkende", - "series.alphabetical.many": "Alfabetisk indeks for {0} serier", - "series.alphabetical.none": "Alfabetisk indeks for ingen serier", - "series.alphabetical.one": "Alfabetisk indeks for èn enkelt serie", - "series.title": "Serier", - "seriesword.many": "{0} serier", - "seriesword.none": "Ingen serier", - "seriesword.one": "1 serie", - "sort.alternate": "Sorter", - "splitByLetter.book.other": "Andre bøker", - "splitByLetter.letter": "{0} begynner med {1}", - "tags.alphabetical.many": "Alfabetisk indeks for {0} stikkord", - "tags.alphabetical.none": "Alfabetisk indeks for ingen stikkord", - "tags.alphabetical.one": "Alfabetisk indeks for ett enkelt stikkord", - "tags.title": "Stikkord", - "tagword.many": "{0} stikkord", - "tagword.none": "Ingen stikkord", - "tagword.one": "1 stikkord", - "tagword.title": "Stikkord", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norsk bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norsk nynorsk", - "languages.nor": "Norsk", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_nl.json b/sources/lang/Localization_nl.json deleted file mode 100644 index 6ee262a..0000000 --- a/sources/lang/Localization_nl.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Over COPS", - "allbooks.alphabetical.many": "Alfabetische index van {0} boeken", - "allbooks.alphabetical.none": "Alfabetische index van absoluut geen enkel boek", - "allbooks.alphabetical.one": "Alfabetische index van 1 boek", - "allbooks.title": "Alle boeken", - "authors.alphabetical.many": "Alfabetische index van {0} auteurs", - "authors.alphabetical.none": "Alfabetische index van absoluut geen enkele auteur", - "authors.alphabetical.one": "Alfabetische index van 1 auteur", - "authors.title": "Auteurs", - "authorword.many": "{0} auteurs", - "authorword.none": "Geen auteur", - "authorword.one": "1 auteur", - "bookentry.author": "{0} door {1}", - "bookword.many": "{0} boeken", - "bookword.none": "Geen boek", - "bookword.one": "1 boek", - "bookword.title": "Boeken", - "cog.alternate": "Zoeken, sorteren en filters", - "content.series": "Reeksen:", - "content.series.data": "Boek {0} in de {1} reeks", - "content.summary": "Samenvatting", - "customcolumn.boolean.no": "Nee", - "customcolumn.boolean.unknown": "Niet ingesteld", - "customcolumn.boolean.yes": "Ja", - "customcolumn.date.format": "J-m-d", - "customcolumn.date.unknown": "Niet ingesteld", - "customcolumn.description": "Aangepaste kolom '{0}'", - "customcolumn.description.bool": "Index van een booleaanse waarde", - "customcolumn.description.enum.many": "Alfabetische index van {0} waarden", - "customcolumn.description.enum.none": "Alfabetische index van absoluut geen enkele waarde", - "customcolumn.description.enum.one": "Alfabetische index van één waarde", - "customcolumn.description.rating": "Index van waarderingen", - "customcolumn.description.series.many": "Alfabetische index van {0} reeksen", - "customcolumn.description.series.none": "Alfabetische index van absoluut geen enkele reeks", - "customcolumn.description.series.one": "Alfabetische index van 1 reeks", - "customcolumn.enum.unknown": "Niet ingesteld", - "customcolumn.float.unknown": "Niet ingesteld", - "customcolumn.int.unknown": "Niet ingesteld", - "customcolumn.rating.unknown": "Niet ingesteld", - "customcolumn.stars.many": "{0} Sterren", - "customcolumn.stars.none": "Geen sterren", - "customcolumn.stars.one": "1 Ster", - "customize.email": "E-mailadres ontvanger (om boeken te versturen per elektronische post)", - "customize.fancybox": "Gebruik een Lightbox", - "customize.filter": "Zet filteren op label aan", - "customize.ignored": "Niet opgenomen categorieën", - "customize.paging": "Maximaal aantal boeken per pagina (-1 voor oneindig aantal)", - "customize.style": "Opmaak COPS gebruikersomgeving", - "customize.title": "Aanpassen COPS gebruikersomgeving", - "home.alternate": "Terug", - "i18n.coversection": "Omslag", - "language.title": "Taal", - "languages.alphabetical.many": "Alfabetische index van {0} talen", - "languages.alphabetical.none": "Alfabetische index van absoluut geen enkele taal", - "languages.alphabetical.one": "Alfabetische index van taal", - "languages.title": "Talen", - "mail.messagenotsent": "Bericht kon niet verzonden worden.", - "mail.messagesent": "Bericht is verzonden", - "paging.next.alternate": "Volgende", - "paging.previous.alternate": "Vorige", - "permalink.alternate": "Permalink", - "pubdate.title": "Jaar van publicatie", - "publisher.name": "Uitgever", - "publishers.alphabetical.many": "Alfabetische index van {0} uitgevers", - "publishers.alphabetical.none": "Alfabetische index van afwezige uitgevers", - "publishers.alphabetical.one": "Alfabetische index van een uitgever", - "publishers.title": "Uitgevers", - "publisherword.many": "{0} uitgevers", - "publisherword.none": "Geen uitgever", - "publisherword.one": "1 uitgever", - "ratings.many": "{0} verschillende waarderingen", - "ratings.none": "geen waarderingen", - "ratings.one": "{0} waarderingen", - "ratings.title": "Waardering", - "ratingword.many": "{0} sterren", - "ratingword.none": "Geen ster", - "ratingword.one": "1 ster", - "recent.list": "{0} meest recente boeken", - "recent.title": "Recent toegevoegde boeken", - "search.alternate": "Zoeken", - "search.result": "Zoekresultaat voor *{0}*", - "search.result.author": "Zoekresultaat voor *{0}* in auteurs", - "search.result.book": "Zoekresultaat voor *{0}* in boeken", - "search.result.publisher": "Zoekresultaat voor *{0}* in uitgevers", - "search.result.series": "Zoekresultaat voor *{0}* in reeksen", - "search.result.tag": "Zoekresultaat voor *{0}* in labels", - "search.sortorder.asc": "A-Z", - "search.sortorder.desc": "Z-A", - "series.alphabetical.many": "Alfabetische index van {0} reeksen", - "series.alphabetical.none": "Alfabetische index van absoluut geen enkele reeks", - "series.alphabetical.one": "Alfabetische index van 1 reeks", - "series.title": "Reeksen", - "seriesword.many": "{0} reeksen", - "seriesword.none": "Geen reeks", - "seriesword.one": "1 reeks", - "sort.alternate": "Sorteren", - "splitByLetter.book.other": "Andere boeken", - "splitByLetter.letter": "{0} beginnend met {1}", - "tags.alphabetical.many": "Alfabetische index van {0} labels", - "tags.alphabetical.none": "Alfabetische index van absoluut geen enkele label", - "tags.alphabetical.one": "Alfabetische index van 1 label", - "tags.title": "Labels", - "tagword.many": "{0} labels", - "tagword.none": "Geen label", - "tagword.one": "1 label", - "tagword.title": "Labels", - "languages.abk": "Abchazisch", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanees", - "languages.amh": "Amhaars", - "languages.ara": "Arabisch", - "languages.arg": "Aragonees", - "languages.hye": "Armeens", - "languages.asm": "Assamees", - "languages.ava": "Avarisch", - "languages.ave": "Avestisch", - "languages.aym": "Aymara", - "languages.aze": "Azerbeidzjaans", - "languages.bam": "Bambara", - "languages.bak": "Basjkiers", - "languages.eus": "Baskisch", - "languages.bel": "Wit-Russisch", - "languages.ben": "Bengaals", - "languages.bih": "Biharitalen", - "languages.bis": "Bislama", - "languages.bos": "Bosnisch", - "languages.bre": "Bretons", - "languages.bul": "Bulgaars", - "languages.mya": "Birmees", - "languages.cat": "Catalaans", - "languages.cha": "Chamorro", - "languages.che": "Tsjetsjeens", - "languages.nya": "Nyanja", - "languages.zho": "Chinees", - "languages.chv": "Tsjoevasjisch", - "languages.cor": "Cornish", - "languages.cos": "Corsicaans", - "languages.cre": "Cree", - "languages.hrv": "Kroatisch", - "languages.ces": "Tsjechisch", - "languages.dan": "Deens", - "languages.div": "Divehi", - "languages.nld": "Nederlands", - "languages.dzo": "Dzongkha", - "languages.eng": "Engels", - "languages.epo": "Esperanto", - "languages.est": "Ests", - "languages.ewe": "Ewe", - "languages.fao": "Faeröers", - "languages.fij": "Fijisch", - "languages.fin": "Fins", - "languages.fra": "Frans", - "languages.ful": "Fulah", - "languages.glg": "Galicisch", - "languages.kat": "Georgisch", - "languages.deu": "Duits", - "languages.ell": "Grieks", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haïtiaans", - "languages.hau": "Hausa", - "languages.hed": "Hebreeuws", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hongaars", - "languages.ina": "Interlingua", - "languages.ind": "Indonesisch", - "languages.ile": "Interlingue", - "languages.gle": "Iers", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "IJslands", - "languages.ita": "Italiaans", - "languages.iku": "Inuktitut", - "languages.jpn": "Japans", - "languages.jav": "Javaans", - "languages.kal": "Groenlands", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kasjmiri", - "languages.kaz": "Kazachs", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kirgizisch", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Koreaans", - "languages.kur": "Koerdisch", - "languages.kua": "Kuanyama", - "languages.lat": "Latijn", - "languages.ltz": "Luxemburgs", - "languages.lug": "Ganda", - "languages.lim": "Limburgs", - "languages.lin": "Lingala", - "languages.lao": "Laotiaans", - "languages.lit": "Litouws", - "languages.lub": "Luba-Katanga", - "languages.lav": "Lets", - "languages.glv": "Manx", - "languages.mkd": "Macedonisch", - "languages.mlg": "Malagasisch", - "languages.msa": "Maleis", - "languages.mal": "Malayalam", - "languages.mlt": "Maltees", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallees", - "languages.mon": "Mongools", - "languages.nau": "Nauruaans", - "languages.nav": "Navajo", - "languages.nob": "Noors Bokmål", - "languages.nde": "Noord-Ndbele", - "languages.nep": "Nepalees", - "languages.ndo": "Ndonga", - "languages.nno": "Noors Nynorsk", - "languages.nor": "Noors", - "languages.iii": "Sichuan Yi", - "languages.nbl": "Zuid-Ndbele", - "languages.oci": "Occitaans", - "languages.oji": "Ojibwa", - "languages.chu": "Kerkslavisch", - "languages.orm": "Oromo", - "languages.ori": "Odia", - "languages.oss": "Ossetisch", - "languages.pan": "Punjabi", - "languages.pli": "Pāli", - "languages.fas": "Perzisch", - "languages.pol": "Pools", - "languages.pus": "Pasjtoe", - "languages.por": "Portugees", - "languages.que": "Quechua", - "languages.roh": "Reto-Romaans", - "languages.run": "Kirundi", - "languages.ron": "Roemeens", - "languages.rus": "Russisch", - "languages.san": "Sanskriet", - "languages.srd": "Sardinisch", - "languages.snd": "Sindhi", - "languages.sme": "Noord-Samisch", - "languages.smo": "Samoaans", - "languages.sag": "Sango", - "languages.srp": "Servisch", - "languages.gla": "Schots Gaelic", - "languages.sna": "Shona", - "languages.sin": "Singalees", - "languages.slk": "Slovaaks", - "languages.slv": "Sloveens", - "languages.som": "Somalisch", - "languages.sot": "Zuid-Sotho", - "languages.spa": "Spaans", - "languages.sun": "Sudanees", - "languages.swa": "Swahili", - "languages.ssw": "Swazi", - "languages.swe": "Zweeds", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tadzjieks", - "languages.tha": "Thais", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetaans", - "languages.tuk": "Turkmeens", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turks", - "languages.tso": "Tongaans", - "languages.tat": "Tataars", - "languages.twi": "Twi", - "languages.tah": "Tahitisch", - "languages.uig": "Oeigoers", - "languages.ukr": "Oekraïens", - "languages.urd": "Urdu", - "languages.uzb": "Oezbeeks", - "languages.ven": "Venda", - "languages.vie": "Vietnamees", - "languages.vol": "Volapük", - "languages.win": "Waals", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Fries", - "languages.xho": "Xhosa", - "languages.yid": "Jiddisch", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_pl.json b/sources/lang/Localization_pl.json deleted file mode 100644 index e031de8..0000000 --- a/sources/lang/Localization_pl.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "About COPS", - "allbooks.alphabetical.many": "Indeks alfabetyczny według {0} tytułów książek", - "allbooks.alphabetical.none": "Brak książek w spisie", - "allbooks.alphabetical.one": "Indeks alfabetyczny jedna książka", - "allbooks.title": "Wszystkie książki", - "authors.alphabetical.many": "Indeks alfabetyczny według {0} autorów", - "authors.alphabetical.none": "Indeks książek w których autor jest nieznany", - "authors.alphabetical.one": "Indeks książek", - "authors.title": "Autorzy", - "authorword.many": "{0} autorów", - "authorword.none": "Brak autorów", - "authorword.one": "1 autor", - "bookentry.author": "{0} przez {1}", - "bookword.many": "{0} książek", - "bookword.none": "Brak ksiażek", - "bookword.one": "1 książka", - "bookword.title": "Książki", - "cog.alternate": "Wyszukiwanie, sortowanie i filtrowanie", - "content.series": "Serie:", - "content.series.data": "{0} Książek w {1} serii", - "content.summary": "Podsumowanie", - "customcolumn.boolean.no": "Nie", - "customcolumn.boolean.unknown": "Domyślny dostęp", - "customcolumn.boolean.yes": "Tak", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Domyślny dostęp", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Indeks alfabetyczny {0} serii", - "customcolumn.description.series.none": "Indeks alfabetyczny - brak serii", - "customcolumn.description.series.one": "Indeks alfabetyczny jedna seria", - "customcolumn.enum.unknown": "Domyślny dostęp", - "customcolumn.float.unknown": "Domyślny dostęp", - "customcolumn.int.unknown": "Domyślny dostęp", - "customcolumn.rating.unknown": "Domyślny dostęp", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Ustaw swój adres e-mail (aby wysyłać książki)", - "customize.fancybox": "Używaj Lightbox (wyświetla książki w okienku)", - "customize.filter": "Używaj filtrowania po tag", - "customize.ignored": "Zignorowane ktegorie", - "customize.paging": "Maksymalna liczba książek na stronie (-1 blokada)", - "customize.style": "Szablon wyglądu", - "customize.title": "Customize COPS UI", - "home.alternate": "Strona głowna", - "i18n.coversection": "Okładka", - "language.title": "Język", - "languages.alphabetical.many": "Indeks alfabetyczny według {0} jezyków", - "languages.alphabetical.none": "Indeks alfabetyczny według języków - brak języków", - "languages.alphabetical.one": "Indeks alfabetyczny według języków jeden język", - "languages.title": "Języki", - "mail.messagenotsent": "Wiadomość nie może być wysłana", - "mail.messagesent": "Wiadomość wysłana", - "paging.next.alternate": "Następna", - "paging.previous.alternate": "Poprzednia", - "permalink.alternate": "Permalink", - "pubdate.title": "Rok publikacji", - "publisher.name": "Wydawca", - "publishers.alphabetical.many": "Indeks alfabetyczny według {0} wydawców", - "publishers.alphabetical.none": "Indeks alfabetyczny wydawców - brak wydawców", - "publishers.alphabetical.one": "Indeks alfabetyczny wydawców - jeden wydawca", - "publishers.title": "Wydawcy", - "publisherword.many": "{0} wydawców", - "publisherword.none": "brak wydawców", - "publisherword.one": "jeden wydawca", - "ratings.many": "{0} oceny", - "ratings.none": "brak ocen", - "ratings.one": "jedna ocena", - "ratings.title": "Oceny", - "ratingword.many": "{0} gwiazdek", - "ratingword.none": "brak gwiazdek", - "ratingword.one": "jedna gwiazdka", - "recent.list": "Ostatnio dodanych {0} książek", - "recent.title": "Ostatnio dodne książki", - "search.alternate": "Szukaj", - "search.result": "Wyniki wyszukiwania dla *{0}*", - "search.result.author": "Wyniki wyszukiwania dla *{0}* w autorach", - "search.result.book": "Wyniki wyszukiwania dla *{0}* w ksiązkach", - "search.result.publisher": "Wyniki wyszukiwania dla *{0}* w wydwcach", - "search.result.series": "Wyniki wyszukiwania dla *{0}* W seriach", - "search.result.tag": "Wyniki wyszukiwania dla *{0}* w tagach", - "search.sortorder.asc": "Sortowanie rosnące", - "search.sortorder.desc": "Sortowanie malejące", - "series.alphabetical.many": "Indeks alfabetyczny {0} serii", - "series.alphabetical.none": "Indeks alfabetyczny - brak serii", - "series.alphabetical.one": "Indeks alfabetyczny jedna seria", - "series.title": "Serie", - "seriesword.many": "{0} serii", - "seriesword.none": "Brak serii", - "seriesword.one": "Jedna seria", - "sort.alternate": "Sortowanie", - "splitByLetter.book.other": "Pozostałe książki", - "splitByLetter.letter": "{0} na literę {1}", - "tags.alphabetical.many": "Indeks alfabetyczny według {0} etykiet", - "tags.alphabetical.none": "Indeks alfabetyczny tagów brak etykiet", - "tags.alphabetical.one": "Indeks alfabetyczny według jednej etykiety", - "tags.title": "Etykiety", - "tagword.many": "{0} etykiet", - "tagword.none": "Brak etykiet", - "tagword.one": "Jedna eykieta", - "tagword.title": "Etykiety", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polski", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_pt_BR.json b/sources/lang/Localization_pt_BR.json deleted file mode 100644 index 1a44502..0000000 --- a/sources/lang/Localization_pt_BR.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Sobre o COPS", - "allbooks.alphabetical.many": "Índice alfabético dos {0} livros", - "allbooks.alphabetical.none": "Índice alfabético - nenhum livro", - "allbooks.alphabetical.one": "Índice alfabético de um livro", - "allbooks.title": "Todos os livros", - "authors.alphabetical.many": "Índice alfabético dos {0} autores", - "authors.alphabetical.none": "Índice alfabético - nenhum autor", - "authors.alphabetical.one": "Índice alfabético de um autor", - "authors.title": "Autores", - "authorword.many": "{0} autores", - "authorword.none": "Nenhum autor", - "authorword.one": "1 autor", - "bookentry.author": "{0} por {1}", - "bookword.many": "{0} livros", - "bookword.none": "Nenhum livro", - "bookword.one": "1 livro", - "bookword.title": "Livros", - "cog.alternate": "Pesquisar, ordenar e filtrar", - "content.series": "Séries:", - "content.series.data": "Livro {0} da série {1}", - "content.summary": "Resumo", - "customcolumn.boolean.no": "Não", - "customcolumn.boolean.unknown": "Não definido", - "customcolumn.boolean.yes": "Sim", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Não definido", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Índice alfabético das {0} séries", - "customcolumn.description.series.none": "Índice alfabético - nenhuma série", - "customcolumn.description.series.one": "Índice alfabético de uma série", - "customcolumn.enum.unknown": "Não definido", - "customcolumn.float.unknown": "Não definido", - "customcolumn.int.unknown": "Não definido", - "customcolumn.rating.unknown": "Não definido", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Forneça o seu email (para ativar envio de ebooks)", - "customize.fancybox": "Usar o Lightbox (detalhes do livro numa janela flutuante)", - "customize.filter": "Ativar filtro por etiqueta", - "customize.ignored": "Categorias ignoradas", - "customize.paging": "Número máximo de livros por página (-1 para desabilitar)", - "customize.style": "Tema", - "customize.title": "Personalizar a interface do COPS", - "home.alternate": "Principal", - "i18n.coversection": "Capa", - "language.title": "Idioma", - "languages.alphabetical.many": "Índice alfabético dos {0} idiomas", - "languages.alphabetical.none": "Índice alfabético - nenhum idioma", - "languages.alphabetical.one": "Índice alfabético de um idioma", - "languages.title": "Idiomas", - "mail.messagenotsent": "Não foi possível enviar a mensagem.", - "mail.messagesent": "A mensagem foi enviada", - "paging.next.alternate": "Próximo", - "paging.previous.alternate": "Anterior", - "permalink.alternate": "Link permanente", - "pubdate.title": "Ano de publicação", - "publisher.name": "Editora", - "publishers.alphabetical.many": "Índice alfabético das {0} editoras", - "publishers.alphabetical.none": "Índice alfabético - nenhuma editora", - "publishers.alphabetical.one": "Índice alfabético de uma editora", - "publishers.title": "Editoras", - "publisherword.many": "{0} editoras", - "publisherword.none": "Nenhuma editora", - "publisherword.one": "1 editora", - "ratings.many": "{0} avaliações", - "ratings.none": "nenhuma avaliação", - "ratings.one": "1 avaliação", - "ratings.title": "Avaliações", - "ratingword.many": "{0} estrelas", - "ratingword.none": "Nenhuma estrela", - "ratingword.one": "1 estrela", - "recent.list": "{0} livros mais recentes", - "recent.title": "Recentemente adicionados", - "search.alternate": "Pesquisar", - "search.result": "Resultado da pesquisa por *{0}*", - "search.result.author": "Resultado da pesquisa por *{0}* em autores", - "search.result.book": "Resultado da pesquisa por *{0}* em livros", - "search.result.publisher": "Resultado da pesquisa por *{0}* em editoras", - "search.result.series": "Resultado da pesquisa por *{0}* em séries", - "search.result.tag": "Resultado da pesquisa por *{0}* em etiquetas", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Índice alfabético das {0} séries", - "series.alphabetical.none": "Índice alfabético - nenhuma série", - "series.alphabetical.one": "Índice alfabético de uma série", - "series.title": "Séries", - "seriesword.many": "{0} séries", - "seriesword.none": "Nenhuma série", - "seriesword.one": "1 série", - "sort.alternate": "Classificar", - "splitByLetter.book.other": "Outros livros", - "splitByLetter.letter": "{0} começando com {1}", - "tags.alphabetical.many": "Índice alfabético das {0} etiquetas", - "tags.alphabetical.none": "Índice alfabético - nenhuma etiqueta", - "tags.alphabetical.one": "Índice alfabético de uma etiqueta", - "tags.title": "Etiquetas", - "tagword.many": "{0} etiquetas", - "tagword.none": "Nenhuma etiqueta", - "tagword.one": "1 etiqueta", - "tagword.title": "Etiquetas", - "languages.abk": "Abcázia", - "languages.aaf": "Afar", - "languages.afr": "Sul Africano", - "languages.aka": "Akan", - "languages.sqi": "Albanês", - "languages.amh": "Amárico", - "languages.ara": "Árabe", - "languages.arg": "Aragonês", - "languages.hye": "Armênio", - "languages.asm": "Assamês", - "languages.ava": "Avari", - "languages.ave": "Avéstico", - "languages.aym": "Aymara", - "languages.aze": "Azerbaidjanês", - "languages.bam": "Bambara", - "languages.bak": "Basquir", - "languages.eus": "Basco", - "languages.bel": "Bielorrusso", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislamá", - "languages.bos": "Bósnio", - "languages.bre": "Bretão", - "languages.bul": "Búlgaro", - "languages.mya": "Birmanês", - "languages.cat": "Catalão", - "languages.cha": "Chamorro", - "languages.che": "Checheno", - "languages.nya": "Chichewa", - "languages.zho": "Chinês", - "languages.chv": "Chuvache", - "languages.cor": "Corniso", - "languages.cos": "Córsego", - "languages.cre": "Cree", - "languages.hrv": "Croata", - "languages.ces": "Checo", - "languages.dan": "Dinamarquês", - "languages.div": "Divehi", - "languages.nld": "Holandês", - "languages.dzo": "Dzonga", - "languages.eng": "Inglês", - "languages.epo": "Esperanto", - "languages.est": "Estoniano", - "languages.ewe": "Ewe", - "languages.fao": "Faroense", - "languages.fij": "fijiano", - "languages.fin": "Finlandês", - "languages.fra": "Francês", - "languages.ful": "Fula", - "languages.glg": "Galego", - "languages.kat": "Georgiano", - "languages.deu": "Alemão", - "languages.ell": "Grego", - "languages.grn": "Guarani", - "languages.guj": "Gujarati", - "languages.hat": "Haitiano", - "languages.hau": "Hauçá", - "languages.hed": "Hebraico", - "languages.her": "Herero", - "languages.hin": "Híndi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Húngaro", - "languages.ina": "Interlíngua", - "languages.ind": "Indonésio", - "languages.ile": "Interlíngue", - "languages.gle": "Irlandês", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaque", - "languages.ido": "Ido", - "languages.isl": "Islandês", - "languages.ita": "Italiano", - "languages.iku": "Inuktitut", - "languages.jpn": "Japonês", - "languages.jav": "Javanês", - "languages.kal": "Kal", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Cazaque", - "languages.khm": "Khmer", - "languages.kik": "Quicuio", - "languages.kin": "Ruanda", - "languages.kir": "Quirguistão", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Coreano", - "languages.kur": "Curdo", - "languages.kua": "Kwanyama", - "languages.lat": "Latim", - "languages.ltz": "Luxemburguês", - "languages.lug": "Ganda", - "languages.lim": "Limburguês", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lituânio", - "languages.lub": "Luba-Katanga", - "languages.lav": "Letã", - "languages.glv": "Manês", - "languages.mkd": "Macedônio", - "languages.mlg": "Malgaxe", - "languages.msa": "Malaio", - "languages.mal": "Malaiala", - "languages.mlt": "Maltês", - "languages.mri": "Maori", - "languages.mar": "Marathi", - "languages.mah": "Marshalês", - "languages.mon": "Mongol", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norueguês de Bokmal", - "languages.nde": "Ndebelê do Norte", - "languages.nep": "Nepalês", - "languages.ndo": "Ndonga", - "languages.nno": "Novo Norueguês", - "languages.nor": "Norueguês", - "languages.iii": "Nuosu", - "languages.nbl": "Ndebelê do Sul", - "languages.oci": "Occitan", - "languages.oji": "Ojíbua", - "languages.chu": "Eslavo Eclesiástico", - "languages.orm": "Oromo", - "languages.ori": "Oriá", - "languages.oss": "Osseta", - "languages.pan": "Panjabi", - "languages.pli": "Páli", - "languages.fas": "Pérsio", - "languages.pol": "Polonês", - "languages.pus": "Pachto", - "languages.por": "Português", - "languages.que": "Quíchua", - "languages.roh": "Romanche", - "languages.run": "Kirundi", - "languages.ron": "Romeno", - "languages.rus": "Russo", - "languages.san": "Sânscrito", - "languages.srd": "Sardenho", - "languages.snd": "Sindi", - "languages.sme": "Sami do Norte", - "languages.smo": "Samoano", - "languages.sag": "Sango", - "languages.srp": "Sérvio", - "languages.gla": "Gaélico Escocês", - "languages.sna": "Xichona", - "languages.sin": "Sinhala", - "languages.slk": "Eslovaco", - "languages.slv": "Esloveno", - "languages.som": "Somali", - "languages.sot": "Soto do Sul", - "languages.spa": "Espanhol", - "languages.sun": "Sundanês", - "languages.swa": "Suaíle", - "languages.ssw": "Swati", - "languages.swe": "Sueco", - "languages.tam": "Tâmil", - "languages.tel": "Telugu", - "languages.tgk": "Tadjique", - "languages.tha": "Tailandês", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetano Padrão", - "languages.tuk": "Turcomeno", - "languages.tgl": "Tagalo", - "languages.tsn": "Tswana", - "languages.ton": "Tonganês", - "languages.tur": "Turco", - "languages.tso": "Tsonga", - "languages.tat": "Tártaro", - "languages.twi": "Twi", - "languages.tah": "Taitiano", - "languages.uig": "Uigur", - "languages.ukr": "Ucraniano", - "languages.urd": "Urdu", - "languages.uzb": "Uzbeque", - "languages.ven": "Venda", - "languages.vie": "Vietnamita", - "languages.vol": "Volapuque", - "languages.win": "Valão", - "languages.cym": "Galês", - "languages.wol": "Uólofe", - "languages.fry": "Frísico Ocidental", - "languages.xho": "Xhosa", - "languages.yid": "Iídiche", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_pt_PT.json b/sources/lang/Localization_pt_PT.json deleted file mode 100644 index 9f93970..0000000 --- a/sources/lang/Localization_pt_PT.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Sobre a aplicação", - "allbooks.alphabetical.many": "Índice alfabético dos {0} livros", - "allbooks.alphabetical.none": "Índice alfabético - sem livros", - "allbooks.alphabetical.one": "Índice alfabético de 1 livro", - "allbooks.title": "Todos os livros", - "authors.alphabetical.many": "Índice alfabético dos {0} autores", - "authors.alphabetical.none": "Índice alfabético sem autores", - "authors.alphabetical.one": "Índice alfabético de 1 autor", - "authors.title": "Autores", - "authorword.many": "{0} autores", - "authorword.none": "Sem autores", - "authorword.one": "1 autor", - "bookentry.author": "{0} por {1}", - "bookword.many": "{0} livros", - "bookword.none": "Sem livros", - "bookword.one": "1 livro", - "bookword.title": "Títulos", - "cog.alternate": "Pesquisar, ordenar e filtrar", - "content.series": "Séries:", - "content.series.data": "Livro {0} da série {1}", - "content.summary": "Informações/Resumo", - "customcolumn.boolean.no": "Não", - "customcolumn.boolean.unknown": "Não definido", - "customcolumn.boolean.yes": "Sim", - "customcolumn.date.format": "d-m-A", - "customcolumn.date.unknown": "Não definido", - "customcolumn.description": "Coluna personalizada '{0}'", - "customcolumn.description.bool": "Índice - valor boleano", - "customcolumn.description.enum.many": "Índice alfabético dos {0} valores", - "customcolumn.description.enum.none": "Índice alfabético - sem valores", - "customcolumn.description.enum.one": "Índice alfabético de 1 valor", - "customcolumn.description.rating": "Índice de pontuações", - "customcolumn.description.series.many": "Índice alfabético das {0} séries", - "customcolumn.description.series.none": "Índice alfabético - sem séries", - "customcolumn.description.series.one": "Índice alfabético com 1 série", - "customcolumn.enum.unknown": "Não definido", - "customcolumn.float.unknown": "Não definido", - "customcolumn.int.unknown": "Não definido", - "customcolumn.rating.unknown": "Não definido", - "customcolumn.stars.many": "{0} estrelas", - "customcolumn.stars.none": "Sem estrelas", - "customcolumn.stars.one": "1 estrela", - "customize.email": "Definir o seu email (para ativar envio de ebooks)", - "customize.fancybox": "Usar o Lightbox (detalhes do livro numa janela flutuante)", - "customize.filter": "Ativar filtro por etiquetas", - "customize.ignored": "Categorias ignoradas", - "customize.paging": "Número máximo de títulos por página (-1 para desativar)", - "customize.style": "Estilo", - "customize.title": "Personalizar o visual da aplicação", - "home.alternate": "Entrada", - "i18n.coversection": "Capa", - "language.title": "Idioma", - "languages.alphabetical.many": "Índice alfabético dos {0} idiomas", - "languages.alphabetical.none": "Índice alfabético - sem idiomas", - "languages.alphabetical.one": "Índice alfabético de 1 idioma", - "languages.title": "Idiomas", - "mail.messagenotsent": "Não foi possível enviar a mensagem.", - "mail.messagesent": "A mensagem foi enviada", - "paging.next.alternate": "Seguinte", - "paging.previous.alternate": "Anterior", - "permalink.alternate": "Ligação permanente", - "pubdate.title": "Ano de publicação", - "publisher.name": "Editora", - "publishers.alphabetical.many": "Índice alfabético das {0} editoras", - "publishers.alphabetical.none": "Índice alfabético - sem editoras", - "publishers.alphabetical.one": "Índice alfabético de 1 editora", - "publishers.title": "Editoras", - "publisherword.many": "{0} editoras", - "publisherword.none": "Sem editoras", - "publisherword.one": "1 editora", - "ratings.many": "{0} avaliações", - "ratings.none": "sem avaliações", - "ratings.one": "1 avaliação", - "ratings.title": "Avaliações", - "ratingword.many": "{0} estrelas", - "ratingword.none": "Sem estrelas", - "ratingword.one": "1 estrela", - "recent.list": "{0} livros mais recentes", - "recent.title": "Adicionados recentemente", - "search.alternate": "Pesquisar", - "search.result": "Resultado da pesquisa por *{0}*", - "search.result.author": "Resultado da pesquisa por *{0}* em autores", - "search.result.book": "Resultado da pesquisa por *{0}* em livros", - "search.result.publisher": "Resultado da pesquisa por *{0}* em editoras", - "search.result.series": "Resultado da pesquisa por *{0}* em séries", - "search.result.tag": "Resultado da pesquisa por *{0}* em etiquetas", - "search.sortorder.asc": "A-Z", - "search.sortorder.desc": "Z-A", - "series.alphabetical.many": "Índice alfabético das {0} séries", - "series.alphabetical.none": "Índice alfabético - sem séries", - "series.alphabetical.one": "Índice alfabético de 1 série", - "series.title": "Séries", - "seriesword.many": "{0} séries", - "seriesword.none": "Sem séries", - "seriesword.one": "1 série", - "sort.alternate": "Ordenar", - "splitByLetter.book.other": "Outros livros", - "splitByLetter.letter": "{0} pela letra: {1}", - "tags.alphabetical.many": "Índice alfabético das {0} etiquetas", - "tags.alphabetical.none": "Índice alfabético - sem etiquetas", - "tags.alphabetical.one": "Índice alfabético de 1 etiqueta", - "tags.title": "Etiquetas", - "tagword.many": "{0} etiquetas", - "tagword.none": "Sem etiquetas", - "tagword.one": "1 etiqueta", - "tagword.title": "Etiquetas", - "languages.abk": "Abcázia", - "languages.aaf": "Afar", - "languages.afr": "Sul Africano", - "languages.aka": "Akan", - "languages.sqi": "Albanês", - "languages.amh": "Amárico", - "languages.ara": "Árabe", - "languages.arg": "Aragonês", - "languages.hye": "Armênio", - "languages.asm": "Assamês", - "languages.ava": "Avari", - "languages.ave": "Avéstico", - "languages.aym": "Aymara", - "languages.aze": "Azerbaidjanês", - "languages.bam": "Bambara", - "languages.bak": "Basquir", - "languages.eus": "Basco", - "languages.bel": "Bielorrusso", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislamá", - "languages.bos": "Bósnio", - "languages.bre": "Bretão", - "languages.bul": "Búlgaro", - "languages.mya": "Birmanês", - "languages.cat": "Catalão", - "languages.cha": "Chamorro", - "languages.che": "Checheno", - "languages.nya": "Chichewa", - "languages.zho": "Chinês", - "languages.chv": "Chuvache", - "languages.cor": "Corniso", - "languages.cos": "Córsego", - "languages.cre": "Cree", - "languages.hrv": "Croata", - "languages.ces": "Checo", - "languages.dan": "Dinamarquês", - "languages.div": "Divehi", - "languages.nld": "Holandês", - "languages.dzo": "Dzonga", - "languages.eng": "Inglês", - "languages.epo": "Esperanto", - "languages.est": "Estoniano", - "languages.ewe": "Ewe", - "languages.fao": "Faroense", - "languages.fij": "Fijiano", - "languages.fin": "Finlandês", - "languages.fra": "Francês", - "languages.ful": "Fula", - "languages.glg": "Galego", - "languages.kat": "Georgiano", - "languages.deu": "Alemão", - "languages.ell": "Grego", - "languages.grn": "Guarani", - "languages.guj": "Gujarati", - "languages.hat": "Haitiano", - "languages.hau": "Hauçá", - "languages.hed": "Hebraico", - "languages.her": "Herero", - "languages.hin": "Híndi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Húngaro", - "languages.ina": "Interlíngua", - "languages.ind": "Indonésio", - "languages.ile": "Interlíngue", - "languages.gle": "Irlandês", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaque", - "languages.ido": "Ido", - "languages.isl": "Islandês", - "languages.ita": "Italiano", - "languages.iku": "Inuktitut", - "languages.jpn": "Japonês", - "languages.jav": "Javanês", - "languages.kal": "Kal", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Cazaque", - "languages.khm": "Khmer", - "languages.kik": "Quicuio", - "languages.kin": "Ruanda", - "languages.kir": "Quirguistão", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Coreano", - "languages.kur": "Curdo", - "languages.kua": "Kwanyama", - "languages.lat": "Latim", - "languages.ltz": "Luxemburguês", - "languages.lug": "Ganda", - "languages.lim": "Limburguês", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lituânio", - "languages.lub": "Luba-Katanga", - "languages.lav": "Letã", - "languages.glv": "Manês", - "languages.mkd": "Macedônio", - "languages.mlg": "Malgaxe", - "languages.msa": "Malaio", - "languages.mal": "Malaiala", - "languages.mlt": "Maltês", - "languages.mri": "Maori", - "languages.mar": "Marathi", - "languages.mah": "Marshalês", - "languages.mon": "Mongol", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norueguês de Bokmal", - "languages.nde": "Ndebelê do Norte", - "languages.nep": "Nepalês", - "languages.ndo": "Ndonga", - "languages.nno": "Novo Norueguês", - "languages.nor": "Norueguês", - "languages.iii": "Nuosu", - "languages.nbl": "Ndebelê do Sul", - "languages.oci": "Occitan", - "languages.oji": "Ojíbua", - "languages.chu": "Eslavo Eclesiástico", - "languages.orm": "Oromo", - "languages.ori": "Oriá", - "languages.oss": "Osseta", - "languages.pan": "Panjabi", - "languages.pli": "Páli", - "languages.fas": "Persa", - "languages.pol": "Polaco", - "languages.pus": "Pachto", - "languages.por": "Português", - "languages.que": "Quíchua", - "languages.roh": "Romanche", - "languages.run": "Kirundi", - "languages.ron": "Romeno", - "languages.rus": "Russo", - "languages.san": "Sânscrito", - "languages.srd": "Sardenho", - "languages.snd": "Sindi", - "languages.sme": "Sami do Norte", - "languages.smo": "Samoano", - "languages.sag": "Sango", - "languages.srp": "Sérvio", - "languages.gla": "Gaélico Escocês", - "languages.sna": "Xichona", - "languages.sin": "Sinhala", - "languages.slk": "Eslovaco", - "languages.slv": "Esloveno", - "languages.som": "Somali", - "languages.sot": "Soto do Sul", - "languages.spa": "Espanhol", - "languages.sun": "Sundanês", - "languages.swa": "Suaíle", - "languages.ssw": "Swati", - "languages.swe": "Sueco", - "languages.tam": "Tâmil", - "languages.tel": "Telugu", - "languages.tgk": "Tadjique", - "languages.tha": "Tailandês", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetano Padrão", - "languages.tuk": "Turcomeno", - "languages.tgl": "Tagalo", - "languages.tsn": "Tswana", - "languages.ton": "Tonganês", - "languages.tur": "Turco", - "languages.tso": "Tsonga", - "languages.tat": "Tártaro", - "languages.twi": "Twi", - "languages.tah": "Taitiano", - "languages.uig": "Uigur", - "languages.ukr": "Ucraniano", - "languages.urd": "Urdu", - "languages.uzb": "Uzbeque", - "languages.ven": "Venda", - "languages.vie": "Vietnamita", - "languages.vol": "Volapuque", - "languages.win": "Valão", - "languages.cym": "Galês", - "languages.wol": "Uólofe", - "languages.fry": "Frísico Ocidental", - "languages.xho": "Xhosa", - "languages.yid": "Iídiche", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_ro.json b/sources/lang/Localization_ro.json deleted file mode 100644 index c0c1b7c..0000000 --- a/sources/lang/Localization_ro.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Despre COPS", - "allbooks.alphabetical.many": "Index alfabetic: {0} cărţi", - "allbooks.alphabetical.none": "Index alfabetic: 0 cărţi", - "allbooks.alphabetical.one": "Index alfabetic: 1 carte", - "allbooks.title": "Toate cărţile", - "authors.alphabetical.many": "Index alfabetic: {0} autori", - "authors.alphabetical.none": "Index alfabetic: 0 autori", - "authors.alphabetical.one": "Index alfabetic: 1 autor", - "authors.title": "Autori", - "authorword.many": "{0} autori", - "authorword.none": "Nici un autor", - "authorword.one": "1 autor", - "bookentry.author": "{0} din {1}", - "bookword.many": "{0} cărţi", - "bookword.none": "Fără cărţi", - "bookword.one": "1 carte", - "bookword.title": "Cărţi", - "cog.alternate": "Căutare, srotare şi filtrare", - "content.series": "Serii:", - "content.series.data": "Cartea {0} din serie de {1}", - "content.summary": "Sumar", - "customcolumn.boolean.no": "Nu", - "customcolumn.boolean.unknown": "Nu setaţi", - "customcolumn.boolean.yes": "Da", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Nu setaţi", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Index alfabetic: {0} serii", - "customcolumn.description.series.none": "Index alfabetic: 0 serii", - "customcolumn.description.series.one": "Index alfabetic: 1 serie", - "customcolumn.enum.unknown": "Nu setaţi", - "customcolumn.float.unknown": "Nu setaţi", - "customcolumn.int.unknown": "Nu setaţi", - "customcolumn.rating.unknown": "Nu setaţi", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Stea", - "customize.email": "Setează-ţi adresa de mail (pentru a putea trimite cărţi prin email)", - "customize.fancybox": "Foloseşte Lightbox (cărţile se încarcă într-un floating frame)", - "customize.filter": "Activează filtrarea după tag-uri", - "customize.ignored": "Categorii ignorate", - "customize.paging": "Număr maxim de cărţi pe pagină (-1 pentru dezactivare)", - "customize.style": "Temă", - "customize.title": "Customizează interfaţa COPS", - "home.alternate": "Acasă", - "i18n.coversection": "Copertă", - "language.title": "Limbă", - "languages.alphabetical.many": "Index alfabetic: {0} limbi", - "languages.alphabetical.none": "Index alfabetic: 0 limbi", - "languages.alphabetical.one": "Index alfabetic: 1 limbă", - "languages.title": "Limbi", - "mail.messagenotsent": "Mesajul nu a putut fi trimis.", - "mail.messagesent": "Mesajul a fost rtimis", - "paging.next.alternate": "Următor", - "paging.previous.alternate": "Anterior", - "permalink.alternate": "Link permanent", - "pubdate.title": "Anul publicării", - "publisher.name": "Editură", - "publishers.alphabetical.many": "Index alfabetic: {0} edituri", - "publishers.alphabetical.none": "Index alfabetic: 0 edituri", - "publishers.alphabetical.one": "Index alfabetic: 1 editură", - "publishers.title": "Edituri", - "publisherword.many": "{0} edituri", - "publisherword.none": "Fără edituri", - "publisherword.one": "1 editură", - "ratings.many": "{0} voturi", - "ratings.none": "fără voturi", - "ratings.one": "1 vot", - "ratings.title": "Voturi", - "ratingword.many": "{0} stele", - "ratingword.none": "Fără stele", - "ratingword.one": "1 stea", - "recent.list": "{0} cărţi recente", - "recent.title": "Recent adăugate", - "search.alternate": "Căutare", - "search.result": "Rezultatul căutării *{0}*", - "search.result.author": "Rezultatul căutării *{0}* în autori", - "search.result.book": "Rezultatul căutării *{0}* în cărţi", - "search.result.publisher": "Rezultatul căutării *{0}* în edituri", - "search.result.series": "Rezultatul căutării *{0}* in serii", - "search.result.tag": "Rezultatul căutării *{0}* in tag-uri", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Index alfabetic: {0} serii", - "series.alphabetical.none": "Index alfabetic: 0 serii", - "series.alphabetical.one": "Index alfabetic: 1 serie", - "series.title": "Serii", - "seriesword.many": "{0} serii", - "seriesword.none": "Fără serii", - "seriesword.one": "1 serie", - "sort.alternate": "Sortare", - "splitByLetter.book.other": "Alte cărţi", - "splitByLetter.letter": "{0} care încep cu {1}", - "tags.alphabetical.many": "Index alfabetic: {0} tag-uri", - "tags.alphabetical.none": "Index alfabetic: 0 tag-uri", - "tags.alphabetical.one": "Index alfabetic: 1 tag", - "tags.title": "Tag-uri", - "tagword.many": "{0} tag-uri", - "tagword.none": "Fără tag-uri", - "tagword.one": "1 tag", - "tagword.title": "Tag-uri", - "languages.abk": "Ahază", - "languages.aaf": "Afară", - "languages.afr": "Sud-africană", - "languages.aka": "Akan", - "languages.sqi": "Albaneză", - "languages.amh": "Amharică", - "languages.ara": "Arabă", - "languages.arg": "Aragoneză", - "languages.hye": "Armeană", - "languages.asm": "Assameză", - "languages.ava": "Avaric", - "languages.ave": "Avestană", - "languages.aym": "Aymara", - "languages.aze": "Azeră", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Bască", - "languages.bel": "Bielorusă", - "languages.ben": "Bengaleză", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosniacă", - "languages.bre": "Bretonă", - "languages.bul": "Bulgară", - "languages.mya": "Burmeză", - "languages.cat": "Catalană", - "languages.cha": "Chamorro", - "languages.che": "Cecenă", - "languages.nya": "Chichewa", - "languages.zho": "Chineză", - "languages.chv": "Chuvash", - "languages.cor": "Cornică", - "languages.cos": "Corsicană", - "languages.cre": "Cree", - "languages.hrv": "Croată", - "languages.ces": "Cehă", - "languages.dan": "Daneză", - "languages.div": "Divehi", - "languages.nld": "Olandeză", - "languages.dzo": "Dzongkha", - "languages.eng": "Engleză", - "languages.epo": "Esperanto", - "languages.est": "Estoniană", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finlandeză", - "languages.fra": "Franceză", - "languages.ful": "Fula", - "languages.glg": "Galiciană", - "languages.kat": "Georgiană", - "languages.deu": "Germană", - "languages.ell": "Greacă", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitiană", - "languages.hau": "Hausa", - "languages.hed": "Ebraică", - "languages.her": "Herero", - "languages.hin": "Hindusă", - "languages.hmo": "Hiri Motu", - "languages.hun": "Maghiară", - "languages.ina": "Interlingua", - "languages.ind": "Indoneziană", - "languages.ile": "Interlingue", - "languages.gle": "Irlandeză", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Islandeză", - "languages.ita": "Italiană", - "languages.iku": "Inuktitut", - "languages.jpn": "Japoneză", - "languages.jav": "Javaneză", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Congoleză", - "languages.kor": "Coreană", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latină", - "languages.ltz": "Luxemburgheză", - "languages.lug": "Ganda", - "languages.lim": "Limburgheză", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lituaniană", - "languages.lub": "Luba-Katanga", - "languages.lav": "Letonă", - "languages.glv": "Manx", - "languages.mkd": "Macedoneană", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Malteză", - "languages.mri": "Maori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolă", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmal", - "languages.nde": "North Ndebele", - "languages.nep": "Nepaleză", - "languages.ndo": "Ndonga", - "languages.nno": "Norvegiană Nynorsk", - "languages.nor": "Norvegiană", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitană", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pali", - "languages.fas": "Persană", - "languages.pol": "Poloneză", - "languages.pus": "Pashto", - "languages.por": "Portugheză", - "languages.que": "Quechua", - "languages.roh": "Romani", - "languages.run": "Kirundi", - "languages.ron": "Română", - "languages.rus": "Rusă", - "languages.san": "Sanscrită", - "languages.srd": "Sardă", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Sârbă", - "languages.gla": "Scoţiană", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovacă", - "languages.slv": "Slovenă", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spaniolă", - "languages.sun": "Sundaneză", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Suedeză", - "languages.tam": "Tamilă", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thailandeză", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmenă", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turcă", - "languages.tso": "Tsonga", - "languages.tat": "Tatară", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ucrainiană", - "languages.urd": "Urdu", - "languages.uzb": "Uzbecă", - "languages.ven": "Venda", - "languages.vie": "Vietnameză", - "languages.vol": "Volapük", - "languages.win": "Valonă", - "languages.cym": "Galeză", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Idiş", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_ru.json b/sources/lang/Localization_ru.json deleted file mode 100644 index d628a66..0000000 --- a/sources/lang/Localization_ru.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "О Программе COPS", - "allbooks.alphabetical.many": "Алфавитный указатель по {0} книгам", - "allbooks.alphabetical.none": "Алфавитный указатель. Книги без названия", - "allbooks.alphabetical.one": "Алфавитный указатель. Одна книга", - "allbooks.title": "Названия книг", - "authors.alphabetical.many": "Алфавитный указатель по {0} авторам", - "authors.alphabetical.none": "Алфавитный указатель. Книги без указания автора", - "authors.alphabetical.one": "Алфавитный указатель. Один автор", - "authors.title": "Авторы", - "authorword.many": "{0} авторов(а)", - "authorword.none": "Нет автора", - "authorword.one": "1 автор", - "bookentry.author": "{0} из {1}", - "bookword.many": "{0} книг(и)", - "bookword.none": "Нет книг", - "bookword.one": "1 книга", - "bookword.title": "Книги", - "cog.alternate": "Поиск, сортировка и фильтры", - "content.series": "Серии:", - "content.series.data": "Книга {0} в {1} серии", - "content.summary": "Резюме", - "customcolumn.boolean.no": "Нет", - "customcolumn.boolean.unknown": "Не задано", - "customcolumn.boolean.yes": "Да", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Не задано", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Алфавитный указатель по {0} сериям", - "customcolumn.description.series.none": "Алфавитный указатель. Книги без указания серии", - "customcolumn.description.series.one": "Алфавитный указатель. Одна серия", - "customcolumn.enum.unknown": "Не задано", - "customcolumn.float.unknown": "Не задано", - "customcolumn.int.unknown": "Не задано", - "customcolumn.rating.unknown": "Не задано", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Укажите Ваш e-mail (возможность отправлять книги по почте)", - "customize.fancybox": "Эффектно всплывающее окно при увеличении обложки", - "customize.filter": "Включить фильтрацию по категориям", - "customize.ignored": "Исключить категории", - "customize.paging": "Максимальное число книг на странице (-1 - не ограничивать)", - "customize.style": "Тема", - "customize.title": "Изменить Интерфейс COPS", - "home.alternate": "Домой", - "i18n.coversection": "Обложка", - "language.title": "Язык", - "languages.alphabetical.many": "Алфавитный указатель по {0} языкам", - "languages.alphabetical.none": "Алфавитный указатель. Книги без указания языка", - "languages.alphabetical.one": "Алфавитный указатель. Один язык", - "languages.title": "Язык", - "mail.messagenotsent": "Сообщение не может быть отправлено", - "mail.messagesent": "Сообщение было отправлено", - "paging.next.alternate": "След.", - "paging.previous.alternate": "Пред.", - "permalink.alternate": "Постоянная Ссылка", - "pubdate.title": "Дата публикации", - "publisher.name": "Издательство", - "publishers.alphabetical.many": "Алфавитный указатель по {0} издательствам", - "publishers.alphabetical.none": "Алфавитный указатель. Книги без указания издательства", - "publishers.alphabetical.one": "Алфавитный указатель. Одно издательство", - "publishers.title": "Издательства", - "publisherword.many": "{0} издательств", - "publisherword.none": "Нет издательства", - "publisherword.one": "1 издательство", - "ratings.many": "{0} рейтинга", - "ratings.none": "Рейтинг не указан", - "ratings.one": "1 рейтинг", - "ratings.title": "Рейтинг", - "ratingword.many": "{0} звезд (ы)", - "ratingword.none": "Звезды не указаны", - "ratingword.one": "1 звезда", - "recent.list": "{0} недавно поступивших(ие) книг(и)", - "recent.title": "Недавние поступления", - "search.alternate": "Поиск", - "search.result": "Результаты поиска для *{0}*", - "search.result.author": "Результаты поиска для *{0}* авторов", - "search.result.book": "Результаты поиска для *{0}* книг", - "search.result.publisher": "Результаты поиска для *{0}* издательств", - "search.result.series": "Результаты поиска для *{0}* серий", - "search.result.tag": "Результаты поиска для *{0}* меток", - "search.sortorder.asc": "Возр.", - "search.sortorder.desc": "Убыв.", - "series.alphabetical.many": "Алфавитный указатель по {0} сериям", - "series.alphabetical.none": "Алфавитный указатель. Книги без указания серии", - "series.alphabetical.one": "Алфавитный указатель. Одна серия", - "series.title": "Серии", - "seriesword.many": "{0} серий(и)", - "seriesword.none": "Нет серий", - "seriesword.one": "1 серия", - "sort.alternate": "Сортировка", - "splitByLetter.book.other": "Другие книги", - "splitByLetter.letter": "{0} начать с {1}", - "tags.alphabetical.many": "Алфавитный указатель по {0} жанрам", - "tags.alphabetical.none": "Алфавитный указатель. Книги без указания жанра", - "tags.alphabetical.one": "Алфавитный указатель. Один жанр", - "tags.title": "Жанры", - "tagword.many": "{0} жанра(ов)", - "tagword.none": "Жанр не указан", - "tagword.one": "1 жанр", - "tagword.title": "Жанры", - "languages.abk": "Абхазский", - "languages.aaf": "Афарский", - "languages.afr": "Бурский", - "languages.aka": "Аканский", - "languages.sqi": "Албанский", - "languages.amh": "Амхарский", - "languages.ara": "Арабский", - "languages.arg": "Арагонский", - "languages.hye": "Армянский", - "languages.asm": "Ассамский", - "languages.ava": "Аварский", - "languages.ave": "Авестийский", - "languages.aym": "Аймара", - "languages.aze": "Азербайджанский", - "languages.bam": "Бамана", - "languages.bak": "Башкирский", - "languages.eus": "Баскский", - "languages.bel": "Белорусский", - "languages.ben": "Бенгальский", - "languages.bih": "Бихарский", - "languages.bis": "Бислама", - "languages.bos": "Боснийский", - "languages.bre": "Бретонский", - "languages.bul": "Болгарский", - "languages.mya": "Бирманский", - "languages.cat": "Каталонский", - "languages.cha": "Чаморро", - "languages.che": "Чеченский", - "languages.nya": "Ньянджа", - "languages.zho": "Китайский", - "languages.chv": "Чувашский", - "languages.cor": "Корнский", - "languages.cos": "Корсиканский", - "languages.cre": "Кри", - "languages.hrv": "Хорватский", - "languages.ces": "Чешский", - "languages.dan": "Датский", - "languages.div": "Мальдивский", - "languages.nld": "Нидерландский", - "languages.dzo": "Дзонг-кэ", - "languages.eng": "Английский", - "languages.epo": "Эсперанто", - "languages.est": "Эстонский", - "languages.ewe": "Эве", - "languages.fao": "Фарерский", - "languages.fij": "Фиджийский", - "languages.fin": "Финский", - "languages.fra": "Французский", - "languages.ful": "Фула", - "languages.glg": "Галисийский", - "languages.kat": "Грузинский", - "languages.deu": "Немецкий", - "languages.ell": "Греческий", - "languages.grn": "Гуарани", - "languages.guj": "Гуджарати", - "languages.hat": "Гаитянский креольский", - "languages.hau": "Хауса", - "languages.hed": "Иврит", - "languages.her": "Гереро", - "languages.hin": "Хинди", - "languages.hmo": "Хири-моту", - "languages.hun": "Венгерский", - "languages.ina": "Интерлингва", - "languages.ind": "Индонезийский", - "languages.ile": "Окциденталь", - "languages.gle": "Ирландский", - "languages.ibo": "Игбо", - "languages.ipk": "Инюпик", - "languages.ido": "Идо", - "languages.isl": "Исландский", - "languages.ita": "Итальянский", - "languages.iku": "Инуктитут", - "languages.jpn": "Японский", - "languages.jav": "Яванский", - "languages.kal": "Гренландский", - "languages.kan": "Ка́ннада (дравидийский)", - "languages.kau": "Канури", - "languages.kas": "Кашмирский", - "languages.kaz": "Казахский", - "languages.khm": "Кхмерский", - "languages.kik": "Кикуйю", - "languages.kin": "Руанда", - "languages.kir": "Киргизский", - "languages.kom": "Коми", - "languages.kon": "Конго", - "languages.kor": "Корейский", - "languages.kur": "Курдский", - "languages.kua": "Кваньяма", - "languages.lat": "Латинский", - "languages.ltz": "Люксембургский", - "languages.lug": "Луганда", - "languages.lim": "Лимбургский", - "languages.lin": "Лингала", - "languages.lao": "Лаосский", - "languages.lit": "Литовский", - "languages.lub": "Луба-катанга", - "languages.lav": "Латышский", - "languages.glv": "Мэнский", - "languages.mkd": "Македонский", - "languages.mlg": "Малагасийский", - "languages.msa": "Малайский", - "languages.mal": "Малаялам", - "languages.mlt": "Мальтийский", - "languages.mri": "Маори", - "languages.mar": "Маратхи", - "languages.mah": "Маршалльский", - "languages.mon": "Монгольский", - "languages.nau": "Науру", - "languages.nav": "Навахо", - "languages.nob": "Букмол (норвежский)", - "languages.nde": "Северный ндебеле", - "languages.nep": "Непальский", - "languages.ndo": "Ндонга", - "languages.nno": "Нюнорск (норвежский)", - "languages.nor": "Норвежский", - "languages.iii": "Носу (сычуаньский)", - "languages.nbl": "Южный ндебеле", - "languages.oci": "Окситанский", - "languages.oji": "Оджибве", - "languages.chu": "Старославянский", - "languages.orm": "Оромо", - "languages.ori": "Ория", - "languages.oss": "Осетинский", - "languages.pan": "Панджаби", - "languages.pli": "Пали", - "languages.fas": "Персидский", - "languages.pol": "Польский", - "languages.pus": "Пушту", - "languages.por": "Португальский", - "languages.que": "Кечуанский", - "languages.roh": "Ретороманский диалект", - "languages.run": "Рунди", - "languages.ron": "Румынский", - "languages.rus": "Русский", - "languages.san": "Санскрит", - "languages.srd": "Сардинский", - "languages.snd": "Синди", - "languages.sme": "Северносаамский", - "languages.smo": "Самоанский", - "languages.sag": "Санго", - "languages.srp": "Сербский", - "languages.gla": "Гэльский", - "languages.sna": "Шона", - "languages.sin": "Сингальский", - "languages.slk": "Словацкий", - "languages.slv": "Словенский", - "languages.som": "Сомали", - "languages.sot": "Сесото", - "languages.spa": "Испанский", - "languages.sun": "Суданский", - "languages.swa": "Суахили", - "languages.ssw": "Свати", - "languages.swe": "Шведский", - "languages.tam": "Тамильский", - "languages.tel": "Телугу", - "languages.tgk": "Таджикский", - "languages.tha": "Тайский", - "languages.tir": "Тигринья", - "languages.bod": "Тибетский Стандартный", - "languages.tuk": "Туркменский", - "languages.tgl": "Тагальский", - "languages.tsn": "Тсвана", - "languages.ton": "Тонга", - "languages.tur": "Турецкий", - "languages.tso": "Тсонга", - "languages.tat": "Татарский", - "languages.twi": "Тви", - "languages.tah": "Таитянский", - "languages.uig": "Уйгурский", - "languages.ukr": "Украинский", - "languages.urd": "Урду", - "languages.uzb": "Узбекский", - "languages.ven": "Венда", - "languages.vie": "Вьетнамский", - "languages.vol": "Волапюк", - "languages.win": "Валлонский", - "languages.cym": "Валлийский", - "languages.wol": "Волоф", - "languages.fry": "Фризский", - "languages.xho": "Коса", - "languages.yid": "Идиш", - "languages.yor": "Йоруба", - "languages.zha": "Чжуанский", - "languages.zul": "Зулусский", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_sl.json b/sources/lang/Localization_sl.json deleted file mode 100644 index 01e6429..0000000 --- a/sources/lang/Localization_sl.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "About COPS", - "allbooks.alphabetical.many": "Alphabetical index of the {0} books", - "allbooks.alphabetical.none": "Alphabetical index of absolutely no books", - "allbooks.alphabetical.one": "Alphabetical index of the single book", - "allbooks.title": "All books", - "authors.alphabetical.many": "Alphabetical index of the {0} authors", - "authors.alphabetical.none": "Alphabetical index of absolutely no authors", - "authors.alphabetical.one": "Alphabetical index of the single author", - "authors.title": "Authors", - "authorword.many": "{0} authors", - "authorword.none": "No authors", - "authorword.one": "1 author", - "bookentry.author": "{0} by {1}", - "bookword.many": "{0} books", - "bookword.none": "No books", - "bookword.one": "1 book", - "bookword.title": "Books", - "cog.alternate": "Search, sort and filters", - "content.series": "Series:", - "content.series.data": "Book {0} in the {1} series", - "content.summary": "Povzetek", - "customcolumn.boolean.no": "Ne", - "customcolumn.boolean.unknown": "Ni določeno", - "customcolumn.boolean.yes": "Da", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Ni določeno", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alphabetical index of the {0} series", - "customcolumn.description.series.none": "Alphabetical index of absolutely no series", - "customcolumn.description.series.one": "Alphabetical index of the single series", - "customcolumn.enum.unknown": "Ni določeno", - "customcolumn.float.unknown": "Ni določeno", - "customcolumn.int.unknown": "Ni določeno", - "customcolumn.rating.unknown": "Ni določeno", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Set your email (to allow book emailing)", - "customize.fancybox": "Use Lightbox (books load in floating frame)", - "customize.filter": "Enable tag filtering", - "customize.ignored": "Ignored categories", - "customize.paging": "Max number of books per page (-1 to disable)", - "customize.style": "Theme", - "customize.title": "Customize COPS UI", - "home.alternate": "Domov", - "i18n.coversection": "Cover", - "language.title": "Jezik", - "languages.alphabetical.many": "Alphabetical index of the {0} languages", - "languages.alphabetical.none": "Alphabetical index of absolutely no languages", - "languages.alphabetical.one": "Alphabetical index of the single language", - "languages.title": "Languages", - "mail.messagenotsent": "Message could not be sent.", - "mail.messagesent": "Message has been sent", - "paging.next.alternate": "Naprej", - "paging.previous.alternate": "Prejšnje", - "permalink.alternate": "Permalink", - "pubdate.title": "Publication year", - "publisher.name": "Publisher", - "publishers.alphabetical.many": "Alphabetical index of the {0} publishers", - "publishers.alphabetical.none": "Alphabetical index of absolutely no publishers", - "publishers.alphabetical.one": "Alphabetical index of the single publisher", - "publishers.title": "Publishers", - "publisherword.many": "{0} publishers", - "publisherword.none": "No publishers", - "publisherword.one": "1 publisher", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "{0} most recent books", - "recent.title": "Recent additions", - "search.alternate": "Iskanje", - "search.result": "Search result for *{0}*", - "search.result.author": "Search result for *{0}* in authors", - "search.result.book": "Search result for *{0}* in books", - "search.result.publisher": "Search result for *{0}* in publishers", - "search.result.series": "Search result for *{0}* in series", - "search.result.tag": "Search result for *{0}* in tags", - "search.sortorder.asc": "Asc", - "search.sortorder.desc": "Desc", - "series.alphabetical.many": "Alphabetical index of the {0} series", - "series.alphabetical.none": "Alphabetical index of absolutely no series", - "series.alphabetical.one": "Alphabetical index of the single series", - "series.title": "Series", - "seriesword.many": "{0} series", - "seriesword.none": "No series", - "seriesword.one": "1 series", - "sort.alternate": "Razvrsti", - "splitByLetter.book.other": "Other books", - "splitByLetter.letter": "{0} starting with {1}", - "tags.alphabetical.many": "Alphabetical index of the {0} tags", - "tags.alphabetical.none": "Alphabetical index of absolutely no tags", - "tags.alphabetical.one": "Alphabetical index of the single tag", - "tags.title": "Tags", - "tagword.many": "{0} tags", - "tagword.none": "No tags", - "tagword.one": "1 tag", - "tagword.title": "Tags", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_sr.json b/sources/lang/Localization_sr.json deleted file mode 100644 index 52f1428..0000000 --- a/sources/lang/Localization_sr.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "About COPS", - "allbooks.alphabetical.many": "Азбучни индекс {0} књига", - "allbooks.alphabetical.none": "Азбучни индекс без књига", - "allbooks.alphabetical.one": "Азбучни индекс једне књиге", - "allbooks.title": "Све књиге", - "authors.alphabetical.many": "Азбучни индекс {0} аутора", - "authors.alphabetical.none": "Азбучни индекс без аутора", - "authors.alphabetical.one": "Азбучни индекс једног аутора", - "authors.title": "Аутори", - "authorword.many": "{0} аутора", - "authorword.none": "Нема аутора", - "authorword.one": "1 аутор", - "bookentry.author": "{0} до {1}", - "bookword.many": "{0} књига", - "bookword.none": "Нема књига", - "bookword.one": "1 књига", - "bookword.title": "Књиге", - "cog.alternate": "Претрага, филтери и сортирање", - "content.series": "Комплет:", - "content.series.data": "Књига {0} у {1} комплету", - "content.summary": "Укупно", - "customcolumn.boolean.no": "No", - "customcolumn.boolean.unknown": "Not Set", - "customcolumn.boolean.yes": "Yes", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Not Set", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alphabetical index of the {0} series", - "customcolumn.description.series.none": "Alphabetical index of absolutely no series", - "customcolumn.description.series.one": "Alphabetical index of the single series", - "customcolumn.enum.unknown": "Not Set", - "customcolumn.float.unknown": "Not Set", - "customcolumn.int.unknown": "Not Set", - "customcolumn.rating.unknown": "Not Set", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Поставите вашу адресу (да се омогући слање књиге)", - "customize.fancybox": "Користи Lightbox", - "customize.filter": "Омогућити филтрирање по таговима", - "customize.ignored": "Категорије које се приказују", - "customize.paging": "Максималан број књига по страни (-1 онемогућити)", - "customize.style": "Тема", - "customize.title": "Подешавање COPS корисничког прегледа", - "home.alternate": "Почетна", - "i18n.coversection": "Насловна", - "language.title": "Језик", - "languages.alphabetical.many": "Азбучни индекс {0} језика", - "languages.alphabetical.none": "Индекс без језика", - "languages.alphabetical.one": "Азбучни индекс једног језика", - "languages.title": "Језици", - "mail.messagenotsent": "Поруку није могуће послати.", - "mail.messagesent": "Порука је послата", - "paging.next.alternate": "Следеће", - "paging.previous.alternate": "Претходно", - "permalink.alternate": "Везе", - "pubdate.title": "Година издања", - "publisher.name": "Издавач", - "publishers.alphabetical.many": "Азбучни индекс {0} издавача", - "publishers.alphabetical.none": "Индекс без издавача", - "publishers.alphabetical.one": "Индекс једног издавача", - "publishers.title": "Издавачи", - "publisherword.many": "{0} издавача", - "publisherword.none": "Нема издавача", - "publisherword.one": "1 издавач", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "{0} најновије књиге", - "recent.title": "Последње постављено", - "search.alternate": "Претрага", - "search.result": "Резултати претраге за *{0}*", - "search.result.author": "Резултат претраге за *{0}* у ауторима", - "search.result.book": "Резултат претраге за *{0}* у књигама", - "search.result.publisher": "Резултат претраге за *{0}* у издавачима", - "search.result.series": "Резултат претраге за *{0}* у комплетима", - "search.result.tag": "Резултат претраге за *{0}* у ознакама", - "search.sortorder.asc": "Растуће", - "search.sortorder.desc": "Опадајуће", - "series.alphabetical.many": "Азбучни индекс {0} комплета", - "series.alphabetical.none": "Азбучни индекс без комплета", - "series.alphabetical.one": "Азбучни индекс у једном комплету", - "series.title": "Комплети", - "seriesword.many": "{0} комплета", - "seriesword.none": "Нема комплета", - "seriesword.one": "1 комплет", - "sort.alternate": "Сертирање", - "splitByLetter.book.other": "Друге књиге", - "splitByLetter.letter": "{0} почиње {1}", - "tags.alphabetical.many": "Азбучни индекс у {0} ознакама", - "tags.alphabetical.none": "Азбучни индекс без ознака", - "tags.alphabetical.one": "Азбучни индекс једне ознаке", - "tags.title": "Ознаке", - "tagword.many": "{0} ознака", - "tagword.none": "Нема ознака", - "tagword.one": "1 ознака", - "tagword.title": "Ознаке", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_sv.json b/sources/lang/Localization_sv.json deleted file mode 100644 index 90de410..0000000 --- a/sources/lang/Localization_sv.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Om COPS", - "allbooks.alphabetical.many": "Alfabetisk lista över {0} böcker", - "allbooks.alphabetical.none": "Alfabetisk lista över inte en enda bok", - "allbooks.alphabetical.one": "Alfabetisk lista över en enda bok", - "allbooks.title": "Alla böcker", - "authors.alphabetical.many": "Alfabetisk lista över {0} författare", - "authors.alphabetical.none": "Alfabetisk lista över inte en enda författare", - "authors.alphabetical.one": "Alfabetisk lista över en enda författare", - "authors.title": "Författare", - "authorword.many": "{0} författare", - "authorword.none": "Inga författare", - "authorword.one": "1 författare", - "bookentry.author": "{0} av {1}", - "bookword.many": "{0} böcker", - "bookword.none": "Inga böcker", - "bookword.one": "1 bok", - "bookword.title": "Böcker", - "cog.alternate": "Sök, sortera och filtrera", - "content.series": "Serier:", - "content.series.data": "Bok {0} i {1} serien", - "content.summary": "Sammanfattning", - "customcolumn.boolean.no": "Nej", - "customcolumn.boolean.unknown": "Ej Defijerat", - "customcolumn.boolean.yes": "Ja", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Ej Defijerat", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alfabetisk lista över {0} serier", - "customcolumn.description.series.none": "Alfabetisk lista över inte en enda serie", - "customcolumn.description.series.one": "Alfabetisk lista över en enda serie", - "customcolumn.enum.unknown": "Ej Defijerat", - "customcolumn.float.unknown": "Ej Defijerat", - "customcolumn.int.unknown": "Ej Defijerat", - "customcolumn.rating.unknown": "Ej Defijerat", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Ange din epostadress (för att aktivera epost)", - "customize.fancybox": "Använd ljusbord", - "customize.filter": "Använd etikettfiltrering", - "customize.ignored": "Ignorerade kategorier", - "customize.paging": "Max antal böcker per sida (-1 för att inaktivera)", - "customize.style": "Tema", - "customize.title": "Anpassa COPS utseende", - "home.alternate": "Hem", - "i18n.coversection": "Framsida", - "language.title": "Språk", - "languages.alphabetical.many": "Alfabetisk lista över {0} språk", - "languages.alphabetical.none": "Alfabetisk lista över inte ett enda språk", - "languages.alphabetical.one": "Alfabetisk lista över ett enda spåk", - "languages.title": "Språk", - "mail.messagenotsent": "Mejlet kunde inte skickas.", - "mail.messagesent": "Mejlet är skickat", - "paging.next.alternate": "Nästa", - "paging.previous.alternate": "Föregående", - "permalink.alternate": "Permalink", - "pubdate.title": "Tryckår", - "publisher.name": "Förlag", - "publishers.alphabetical.many": "Alfabetisk lista över {0} förlag", - "publishers.alphabetical.none": "Alfabetisk lista över inte ett enda förlag", - "publishers.alphabetical.one": "Alfabetisk lista över ett enda förlag", - "publishers.title": "Förlag", - "publisherword.many": "{0} förlag", - "publisherword.none": "Inget förlag", - "publisherword.one": "1 förlag", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "De {0} senaste böckerna", - "recent.title": "Nya böcker", - "search.alternate": "Sök", - "search.result": "Sökresultat för *{0}*", - "search.result.author": "Sökresultat för *{0}* i författare", - "search.result.book": "Sökresultat för *{0}* i böcker", - "search.result.publisher": "Sökresultat för *{0}* i förlag", - "search.result.series": "Sökresultat för *{0}* i serier", - "search.result.tag": "Sökresultat för *{0}* i etiketter", - "search.sortorder.asc": "Stigande", - "search.sortorder.desc": "Fallande", - "series.alphabetical.many": "Alfabetisk lista över {0} serier", - "series.alphabetical.none": "Alfabetisk lista över inte en enda serie", - "series.alphabetical.one": "Alfabetisk lista över en enda serie", - "series.title": "Serier", - "seriesword.many": "inga serier{0} serier", - "seriesword.none": "No series", - "seriesword.one": "1 serie", - "sort.alternate": "Sortera", - "splitByLetter.book.other": "Övriga böcker", - "splitByLetter.letter": "{0} börjar med {1}", - "tags.alphabetical.many": "Alfabetisk lista över {0} etiketter", - "tags.alphabetical.none": "Alfabetisk lista över inte en enda etikett", - "tags.alphabetical.one": "Alfabetisk lista över en enda etikett", - "tags.title": "Etiketter", - "tagword.many": "{0} etiketter", - "tagword.none": "Inga etiketter", - "tagword.one": "1 etikett", - "tagword.title": "Etiketter", - "languages.abk": "Abchaziska", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanska", - "languages.amh": "Amhariska", - "languages.ara": "Arabiska", - "languages.arg": "Aragonska", - "languages.hye": "Armenska", - "languages.asm": "Assamesiska", - "languages.ava": "Avariska", - "languages.ave": "Avestiska", - "languages.aym": "Aymara", - "languages.aze": "Azerbajdzjanska", - "languages.bam": "Bambara", - "languages.bak": "Basjkiriska", - "languages.eus": "Baskiska", - "languages.bel": "Vitrysska", - "languages.ben": "Bengali", - "languages.bih": "Bihariska", - "languages.bis": "Bislama", - "languages.bos": "Bosniska", - "languages.bre": "Bretonska", - "languages.bul": "Bulgariska", - "languages.mya": "Burmesiska", - "languages.cat": "Katalanska", - "languages.cha": "Chamorro", - "languages.che": "Tjetjenska", - "languages.nya": "Chichewa", - "languages.zho": "Kinesiska", - "languages.chv": "Chuvash", - "languages.cor": "Korniska", - "languages.cos": "Korsikanska", - "languages.cre": "Cree", - "languages.hrv": "Kroatiska", - "languages.ces": "Tjeckiska", - "languages.dan": "Danska", - "languages.div": "Divehi", - "languages.nld": "Holländska", - "languages.dzo": "Dzongkha", - "languages.eng": "Engelska", - "languages.epo": "Esperanto", - "languages.est": "Estniska", - "languages.ewe": "Ewe", - "languages.fao": "Färöiska", - "languages.fij": "Fijianska", - "languages.fin": "Finska", - "languages.fra": "Franska", - "languages.ful": "Fula", - "languages.glg": "Galiciska", - "languages.kat": "Georgiska", - "languages.deu": "Tyska", - "languages.ell": "Grekiska", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitisk kreol", - "languages.hau": "Hausa", - "languages.hed": "Hebreiska", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Ungerska", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Iriska", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Isländska", - "languages.ita": "Italienska", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanska", - "languages.jav": "Javanesiska", - "languages.kal": "Grönländska", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiriska", - "languages.kaz": "Kazakiska", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kirgisiska", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Koreanska", - "languages.kur": "Kurdiska", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgiska", - "languages.lug": "Ganda", - "languages.lim": "Limburgiska", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Litauiska", - "languages.lub": "Luba-Katanga", - "languages.lav": "Lettiska", - "languages.glv": "Manx", - "languages.mkd": "Makedonska", - "languages.mlg": "Malagassiska", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltesiska", - "languages.mri": "Maori", - "languages.mar": "Marathi", - "languages.mah": "Marshallesiska", - "languages.mon": "Mongoliska", - "languages.nau": "Nauriska", - "languages.nav": "Navajo", - "languages.nob": "Norska Bokmål", - "languages.nde": "Nordndebele", - "languages.nep": "Nepalesiska", - "languages.ndo": "Ndonga", - "languages.nno": "Nynorsk", - "languages.nor": "Norska", - "languages.iii": "Nuosu", - "languages.nbl": "Sydndebele", - "languages.oci": "Occitanska", - "languages.oji": "Ojibwe", - "languages.chu": "Kyrkslaviska", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetiska", - "languages.pan": "Punjabiska", - "languages.pli": "Pali", - "languages.fas": "Persiska", - "languages.pol": "Polska", - "languages.pus": "Pashto", - "languages.por": "Portugisiska", - "languages.que": "Quechua", - "languages.roh": "Rätoromanska", - "languages.run": "Kirundi", - "languages.ron": "Rumänska", - "languages.rus": "Rysska", - "languages.san": "Sanskrit", - "languages.srd": "Sardiska", - "languages.snd": "Sindhi", - "languages.sme": "Nordsamiska", - "languages.smo": "Samoanska", - "languages.sag": "Sango", - "languages.srp": "Serbiska", - "languages.gla": "Skotsk gaeliska", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovakiska", - "languages.slv": "Slovenska", - "languages.som": "Somaliska", - "languages.sot": "Sesotho", - "languages.spa": "Spanska", - "languages.sun": "Sundanesiska", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Svenska", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajikiska", - "languages.tha": "Thailändska", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetanska", - "languages.tuk": "Turkmeniska", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkiska", - "languages.tso": "Tsonga", - "languages.tat": "Tatariska", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uiguriska", - "languages.ukr": "Ukrainska", - "languages.urd": "Urdu", - "languages.uzb": "Uzbekiska", - "languages.ven": "Venda", - "languages.vie": "Vietnamesiska", - "languages.vol": "Volapük", - "languages.win": "Vallonska", - "languages.cym": "Walesiska", - "languages.wol": "Wolof", - "languages.fry": "Västfrisiska", - "languages.xho": "Xhosa", - "languages.yid": "Jiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_tr.json b/sources/lang/Localization_tr.json deleted file mode 100644 index 6f7e0ad..0000000 --- a/sources/lang/Localization_tr.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "COPS Hakkında", - "allbooks.alphabetical.many": "Alfabeye göre sıralanmış {0} Kitap", - "allbooks.alphabetical.none": "Alfabeye göre sıralanmış 0 Kitap", - "allbooks.alphabetical.one": "Alfabeye göre sıralanmış 1 Kitap", - "allbooks.title": "Bütün Kitaplar", - "authors.alphabetical.many": "Alfabeye göre sıralanmış {0} Yazar", - "authors.alphabetical.none": "Alfabeye göre sıralanmış 0 Yazar", - "authors.alphabetical.one": "Alfabeye göre sıralanmış 1Yazar", - "authors.title": "Yazarlar", - "authorword.many": "{0} Yazar", - "authorword.none": "0 Yazar", - "authorword.one": "1 Yazar", - "bookentry.author": "{1}'den {0}.", - "bookword.many": "{0} Kitap", - "bookword.none": "0 Kitap", - "bookword.one": "1 Kitap", - "bookword.title": "Kitaplar", - "cog.alternate": "Arama, sıralama ve filtreleme", - "content.series": "Seriler:", - "content.series.data": "{1} Serisinin {0}. Kitabı", - "content.summary": "Bilgi", - "customcolumn.boolean.no": "Hayır", - "customcolumn.boolean.unknown": "Ayarlı değil", - "customcolumn.boolean.yes": "Evet", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Ayarlı değil", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Alfabeye göre sıralanmış {0} Seri", - "customcolumn.description.series.none": "Alfabeye göre sıralanmış 0 Seri", - "customcolumn.description.series.one": "Alfabeye göre sıralanmış 1 Seri", - "customcolumn.enum.unknown": "Ayarlı değil", - "customcolumn.float.unknown": "Ayarlı değil", - "customcolumn.int.unknown": "Ayarlı değil", - "customcolumn.rating.unknown": "Ayarlı değil", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "E-Mail Adresi (kitap gönderilebilmesi için)", - "customize.fancybox": "Lightbox kullan (Kitap bilgileri yeni sayfa açılmasına gerek kalmadan görüntülenir)", - "customize.filter": "Etiket Filtreleme'yi Etkinleştir", - "customize.ignored": "Yoksayılan Kategoriler", - "customize.paging": "Bir sayfada gösterilecek en fazla kitap sayısı (Sınırsız için -1)", - "customize.style": "Tema", - "customize.title": "Görünüm Seçenekleri", - "home.alternate": "Anasayfa", - "i18n.coversection": "Kapak", - "language.title": "Dil", - "languages.alphabetical.many": "Alfabeye göre sıralanmış {0} Dil", - "languages.alphabetical.none": "Alfabeye göre sıralanmış 0 Dil", - "languages.alphabetical.one": "Alfabeye göre sıralanmış 1 Dil", - "languages.title": "Diller", - "mail.messagenotsent": "Mesaj gönderilemedi.", - "mail.messagesent": "Mesaj gönderildi.", - "paging.next.alternate": "Sonraki", - "paging.previous.alternate": "Önceki", - "permalink.alternate": "Kalıcı Bağlantı", - "pubdate.title": "Yayımlanma Yılı", - "publisher.name": "Yayınevi", - "publishers.alphabetical.many": "Alfabeye göre sıralanmış {0} Yayınevi", - "publishers.alphabetical.none": "Alfabeye göre sıralanmış 0 Yayınevi", - "publishers.alphabetical.one": "Alfabeye göre sıralanmış 1 Yayınevi", - "publishers.title": "Yayınevleri", - "publisherword.many": "{0} Yayınevi", - "publisherword.none": "0 Yayınevi", - "publisherword.one": "1 Yayınevi", - "ratings.many": "{0} Derecelendirme", - "ratings.none": "0 Derecelendirme", - "ratings.one": "1 Derecelendirme", - "ratings.title": "Derecelendirmeler", - "ratingword.many": "{0} Yıldız", - "ratingword.none": "0 Yıldız", - "ratingword.one": "1 Yıldız", - "recent.list": "Son Eklenen {0} Kitap", - "recent.title": "Son Eklenenler", - "search.alternate": "Arama", - "search.result": "*{0}* için arama sonuçları", - "search.result.author": "*{0}* için yazarlarda arama sonuçları", - "search.result.book": "*{0}* için kitaplarda arama sonuçları", - "search.result.publisher": "*{0}* için yayınevlerinde arama sonuçları", - "search.result.series": "*{0}* için serilerde arama sonuçları", - "search.result.tag": "*{0}* için etiketlerde arama sonuçları", - "search.sortorder.asc": "Artan", - "search.sortorder.desc": "Azalan", - "series.alphabetical.many": "Alfabeye göre sıralanmış {0} Seri", - "series.alphabetical.none": "Alfabeye göre sıralanmış 0 Seri", - "series.alphabetical.one": "Alfabeye göre sıralanmış 1 Seri", - "series.title": "Seriler", - "seriesword.many": "{0} Seri", - "seriesword.none": "0 Seri", - "seriesword.one": "1 Seri", - "sort.alternate": "Sıralama", - "splitByLetter.book.other": "Diğer Kitaplar", - "splitByLetter.letter": "{1} ile başlayan {0}", - "tags.alphabetical.many": "Alfabeye göre sıralanmış {0} Etiket", - "tags.alphabetical.none": "Alfabeye göre sıralanmış 0 Etiket", - "tags.alphabetical.one": "Alfabeye göre sıralanmış 1 Etiket", - "tags.title": "Etiketler", - "tagword.many": "{0} Etiket", - "tagword.none": "0 Etiket", - "tagword.one": "1 Etiket", - "tagword.title": "Etiketler", - "languages.abk": "Abhazya Dili", - "languages.aaf": "Afar Dili", - "languages.afr": "Afrikanca", - "languages.aka": "Akanca (Afrika dili)", - "languages.sqi": "Arnavutça", - "languages.amh": "Etiyopyaca", - "languages.ara": "Arapça", - "languages.arg": "Aragonca (İspanya)", - "languages.hye": "Ermenice", - "languages.asm": "Assamese (Hindistan)", - "languages.ava": "Avarca", - "languages.ave": "Avestan (Eski İran)", - "languages.aym": "Aymara (Güney Amerika)", - "languages.aze": "Azerice", - "languages.bam": "Bambara (Mali)", - "languages.bak": "Başkırca", - "languages.eus": "Baskça", - "languages.bel": "Beyaz Rusça", - "languages.ben": "Bengalce", - "languages.bih": "Bihari", - "languages.bis": "Bislama (Vanuatu; Kuzey Pasifik)", - "languages.bos": "Boşnakça", - "languages.bre": "Bretonca", - "languages.bul": "Bulgarca", - "languages.mya": "Burmaca", - "languages.cat": "Katalanca", - "languages.cha": "Chamorro Dili (Guam adaları)", - "languages.che": "Çeçence", - "languages.nya": "Chichewa Dili", - "languages.zho": "Çince", - "languages.chv": "Çuvaş (Türkçe)", - "languages.cor": "Cornish (Kelt)", - "languages.cos": "Korsikaca", - "languages.cre": "Cree (Kuzey Amerika yerlileri)", - "languages.hrv": "Hırvatça", - "languages.ces": "Çekçe", - "languages.dan": "Danca", - "languages.div": "Divehi dili", - "languages.nld": "Hollandaca", - "languages.dzo": "Dzongkha (Butan)", - "languages.eng": "İngilizce", - "languages.epo": "Esperanto Dili", - "languages.est": "Estonca", - "languages.ewe": "Ewe Dili (Afrika)", - "languages.fao": "Faroece", - "languages.fij": "Fiji dili", - "languages.fin": "Fince", - "languages.fra": "Fransızca", - "languages.ful": "Fulah (Afrika)", - "languages.glg": "Galce", - "languages.kat": "Gürcüce", - "languages.deu": "Almanca", - "languages.ell": "Yunanca", - "languages.grn": "Guarani (Paraguay)", - "languages.guj": "Gucaratça", - "languages.hat": "Haiti Dili", - "languages.hau": "Hausa Dili", - "languages.hed": "İbranice", - "languages.her": "Herero Dili", - "languages.hin": "Hintçe", - "languages.hmo": "Hiri Motu Dili", - "languages.hun": "Macarca", - "languages.ina": "Interlingua (Uluslararası Yardımcı Dil Kurumu)", - "languages.ind": "Endonezyaca", - "languages.ile": "Interlingue Dili", - "languages.gle": "İrlandaca", - "languages.ibo": "Igbo Dili", - "languages.ipk": "Inupiak Dili", - "languages.ido": "Ido Dili", - "languages.isl": "İzlandaca", - "languages.ita": "İtalyanca", - "languages.iku": "İnuitçe", - "languages.jpn": "Japonca", - "languages.jav": "Cava Dili", - "languages.kal": "Kalaallisut Dili", - "languages.kan": "Kannada Dili", - "languages.kau": "Kanuri Dili", - "languages.kas": "Keşmirce", - "languages.kaz": "Kazakça", - "languages.khm": "Khmer Dili", - "languages.kik": "Kikuyu Dili", - "languages.kin": "Kinyarwanda Dili", - "languages.kir": "Kırgızca", - "languages.kom": "Komi Dili", - "languages.kon": "Kongo Dili", - "languages.kor": "Korece", - "languages.kur": "Kürtçe", - "languages.kua": "Kwanyama Dili", - "languages.lat": "Latince", - "languages.ltz": "Lüksemburg Dili", - "languages.lug": "Ganda Dili", - "languages.lim": "Liburg Dili", - "languages.lin": "Lingala Dili", - "languages.lao": "Lao Dili", - "languages.lit": "Litvanca", - "languages.lub": "Luba-Katanga Dili", - "languages.lav": "Letonca", - "languages.glv": "Manx Dili (Galler)", - "languages.mkd": "Makedonca", - "languages.mlg": "Madagaskar Dili", - "languages.msa": "Malay Dili", - "languages.mal": "Malayalam Dili", - "languages.mlt": "Malta Dili", - "languages.mri": "Maorice", - "languages.mar": "Marathi Dili", - "languages.mah": "Marshall Dili", - "languages.mon": "Moğolca", - "languages.nau": "Nauru Dili", - "languages.nav": "Navajo Dili", - "languages.nob": "Norveççe Bokmal", - "languages.nde": "Ndebele; Kuzey", - "languages.nep": "Nepal Dili", - "languages.ndo": "Ndonga Dili", - "languages.nno": "Norveççe Nynorsk", - "languages.nor": "Norveçce", - "languages.iii": "Nuosu Dili", - "languages.nbl": "Ndebele; Güney", - "languages.oci": "Oksitanca", - "languages.oji": "Ojibwe Dili", - "languages.chu": "Slav; Eski", - "languages.orm": "Oromo Dili", - "languages.ori": "Oriya Dili", - "languages.oss": "Osetya Dili", - "languages.pan": "Pencabi Dili", - "languages.pli": "Pali Dili", - "languages.fas": "Farsça", - "languages.pol": "Lehçe", - "languages.pus": "Peştuca", - "languages.por": "Portekizce", - "languages.que": "Quechua Dili", - "languages.roh": "Romanca", - "languages.run": "Kirundi Dili", - "languages.ron": "Rumence", - "languages.rus": "Rusça", - "languages.san": "Sanskritçe", - "languages.srd": "Sardinya Dili", - "languages.snd": "Sindhi Dili", - "languages.sme": "Sami; Kuzeyli", - "languages.smo": "Samoa Dili", - "languages.sag": "Sangho Dili", - "languages.srp": "Sırpça", - "languages.gla": "Galce; İskoçyalı", - "languages.sna": "Shona Dili", - "languages.sin": "Sinhala Dili", - "languages.slk": "Slovakça", - "languages.slv": "Slovence", - "languages.som": "Somali Dili", - "languages.sot": "Güney Sotho Dili", - "languages.spa": "İspanyolca", - "languages.sun": "Sudan Dili", - "languages.swa": "Svahili dili", - "languages.ssw": "Siswati Dili", - "languages.swe": "İsveççe", - "languages.tam": "Tamil Dili", - "languages.tel": "Telugu Dili", - "languages.tgk": "Tacikçe", - "languages.tha": "Taylandça", - "languages.tir": "Tigrinya Dili", - "languages.bod": "Tibetçe", - "languages.tuk": "Türkmence", - "languages.tgl": "Tagalog Dili", - "languages.tsn": "Tsvana Dili", - "languages.ton": "Tonga Dili", - "languages.tur": "Türkçe", - "languages.tso": "Tsonga Dili", - "languages.tat": "Tatarca", - "languages.twi": "Twi Dili", - "languages.tah": "Tahitice", - "languages.uig": "Uygurca", - "languages.ukr": "Ukraynaca", - "languages.urd": "Urduca", - "languages.uzb": "Özbekçe", - "languages.ven": "Venda Dili", - "languages.vie": "Vietnam Dili", - "languages.vol": "Volapük Dili", - "languages.win": "Valon Dili", - "languages.cym": "Galce", - "languages.wol": "Volof Dili", - "languages.fry": "Batı Frizce", - "languages.xho": "Zosa dili", - "languages.yid": "Yidiş Dili", - "languages.yor": "Yoruba Dili", - "languages.zha": "Zhuang Dili", - "languages.zul": "Zulu Dili", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_ua.json b/sources/lang/Localization_ua.json deleted file mode 100644 index 1d701f0..0000000 --- a/sources/lang/Localization_ua.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "Про COPS", - "allbooks.alphabetical.many": "Алфавітний покажчик {0} книг(и)", - "allbooks.alphabetical.none": "Назви не вказані", - "allbooks.alphabetical.one": "Єдина книга", - "allbooks.title": "Усі книги", - "authors.alphabetical.many": "Алфавітний покажчик {0} авторів(а)", - "authors.alphabetical.none": "Автори не вказані", - "authors.alphabetical.one": "Єдиний автор", - "authors.title": "Автори", - "authorword.many": "{0} авторів(а)", - "authorword.none": "Немає авторів(а)", - "authorword.one": "1 автор", - "bookentry.author": "{0} з {1}", - "bookword.many": "{0} книг(и)", - "bookword.none": "Немає книг(и)", - "bookword.one": "1 книга", - "bookword.title": "Книги", - "cog.alternate": "Пошук, сортування та фільтри", - "content.series": "Серії:", - "content.series.data": "Книга {0} з серії {1}", - "content.summary": "Короткий зміст", - "customcolumn.boolean.no": "Ні", - "customcolumn.boolean.unknown": "Не встановлено", - "customcolumn.boolean.yes": "Так", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "Не встановлено", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "Алфавітний покажчик {0} серій(ї)", - "customcolumn.description.series.none": "Серії не вказано", - "customcolumn.description.series.one": "Єдина серія", - "customcolumn.enum.unknown": "Не встановлено", - "customcolumn.float.unknown": "Не встановлено", - "customcolumn.int.unknown": "Не встановлено", - "customcolumn.rating.unknown": "Не встановлено", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "Вкажіть Ваш email (для відправки книг електронною поштою)", - "customize.fancybox": "Відкривати картку книги у спливаючому вікні", - "customize.filter": "Увімкнути фільтрацію за жанром", - "customize.ignored": "Виключити категорії", - "customize.paging": "Максимальна кількість книжок на сторінці (-1 - не обмежувати)", - "customize.style": "Тема", - "customize.title": "Налаштування зовнішнього вигляду COPS", - "home.alternate": "Додому", - "i18n.coversection": "Обкладинка", - "language.title": "Мова", - "languages.alphabetical.many": "Алфавітний покажчик {0} мов(и)", - "languages.alphabetical.none": "Мови не вказані", - "languages.alphabetical.one": "Єдина мова", - "languages.title": "Мови", - "mail.messagenotsent": "Повідомлення не може бути відправлено", - "mail.messagesent": "Повідомлення відправлено", - "paging.next.alternate": "Наступний", - "paging.previous.alternate": "Попередній", - "permalink.alternate": "Постійне посилання", - "pubdate.title": "Рік публікації", - "publisher.name": "Видавництво", - "publishers.alphabetical.many": "Алфавітний покажчик of the {0} видавництв(а)", - "publishers.alphabetical.none": "Видавництва не вказані", - "publishers.alphabetical.one": "Єдине видавництво", - "publishers.title": "Видавництва", - "publisherword.many": "{0} видавництв(а)", - "publisherword.none": "Немає видавництв(а)", - "publisherword.one": "1 видавництво", - "ratings.many": "{0} оцінок(ка)", - "ratings.none": "Немає оцінок", - "ratings.one": "1 оцінка", - "ratings.title": "Оцінки", - "ratingword.many": "{0} зірка(ок)", - "ratingword.none": "Немає зірок", - "ratingword.one": "1 зірка", - "recent.list": "{0} нещодавно доданих книжок", - "recent.title": "Останні надходження", - "search.alternate": "Пошук", - "search.result": "Результат пошуку *{0}*", - "search.result.author": "Результат пошуку *{0}* серед авторів", - "search.result.book": "Результат пошуку *{0}* серед книжок", - "search.result.publisher": "Результат пошуку *{0}* серед видавництв", - "search.result.series": "Результат пошуку *{0}* серед серій", - "search.result.tag": "Результат пошуку *{0}* серед жанрів", - "search.sortorder.asc": "Висх.", - "search.sortorder.desc": "Спад.", - "series.alphabetical.many": "Алфавітний покажчик {0} серій(ї)", - "series.alphabetical.none": "Серії не вказано", - "series.alphabetical.one": "Єдина серія", - "series.title": "Серії", - "seriesword.many": "{0} серій(я)", - "seriesword.none": "Немає серій", - "seriesword.one": "1 серія", - "sort.alternate": "Сортування", - "splitByLetter.book.other": "Книги за назвою", - "splitByLetter.letter": "{0} починається з {1}", - "tags.alphabetical.many": "Алфавітний покажчик {0} жанрів(а)", - "tags.alphabetical.none": "Жанри не вказано", - "tags.alphabetical.one": "Єдиний жанр", - "tags.title": "Жанри", - "tagword.many": "{0} жанрів", - "tagword.none": "Немає жанрів", - "tagword.one": "1 жанр", - "tagword.title": "Жанри", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "Chinese", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "English", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "French", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "Japanese", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Українська", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/lang/Localization_zh.json b/sources/lang/Localization_zh.json deleted file mode 100644 index 269ed04..0000000 --- a/sources/lang/Localization_zh.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "about.title": "关于COPS", - "allbooks.alphabetical.many": "{0} 本书籍的字母索引", - "allbooks.alphabetical.none": "无书籍", - "allbooks.alphabetical.one": "1 本书籍", - "allbooks.title": "所有书籍", - "authors.alphabetical.many": "{0} 位作者的字母索引", - "authors.alphabetical.none": "无作者", - "authors.alphabetical.one": "1 位作者", - "authors.title": "作者", - "authorword.many": "{0} 位作者", - "authorword.none": "未知", - "authorword.one": "1 位作者", - "bookentry.author": "{0} 由作者 {1}", - "bookword.many": "{0} 本书籍", - "bookword.none": "无书籍", - "bookword.one": "1 本书籍", - "bookword.title": "书名", - "cog.alternate": "搜索, 分类和过滤", - "content.series": "系列:", - "content.series.data": "系列 {1} 的第 {0} 本", - "content.summary": "概要", - "customcolumn.boolean.no": "否", - "customcolumn.boolean.unknown": "未设置", - "customcolumn.boolean.yes": "是", - "customcolumn.date.format": "Y-m-d", - "customcolumn.date.unknown": "未设置", - "customcolumn.description": "Custom column '{0}'", - "customcolumn.description.bool": "Index of a boolean value", - "customcolumn.description.enum.many": "Alphabetical index of the {0} values", - "customcolumn.description.enum.none": "Alphabetical index of absolutely no values", - "customcolumn.description.enum.one": "Alphabetical index of one value", - "customcolumn.description.rating": "Index of ratings", - "customcolumn.description.series.many": "{0} 个系列的字母索引", - "customcolumn.description.series.none": "无系列", - "customcolumn.description.series.one": "1 个系列", - "customcolumn.enum.unknown": "未设置", - "customcolumn.float.unknown": "未设置", - "customcolumn.int.unknown": "未设置", - "customcolumn.rating.unknown": "未设置", - "customcolumn.stars.many": "{0} Stars", - "customcolumn.stars.none": "No Stars", - "customcolumn.stars.one": "1 Star", - "customize.email": "设置您的电子邮件(以允许发送邮件)", - "customize.fancybox": "使用灯箱", - "customize.filter": "打开标签过滤", - "customize.ignored": "Ignored categories", - "customize.paging": "页内最大书籍数(-1表示禁用)", - "customize.style": "主题", - "customize.title": "自定义界面", - "home.alternate": "首页", - "i18n.coversection": "封面", - "language.title": "语言", - "languages.alphabetical.many": "{0} 语言的字母索引", - "languages.alphabetical.none": "无语言", - "languages.alphabetical.one": "1 种语言", - "languages.title": "语言", - "mail.messagenotsent": "信息未发送。", - "mail.messagesent": "信息已发送。", - "paging.next.alternate": "下一页", - "paging.previous.alternate": "上一页", - "permalink.alternate": "永久链接", - "pubdate.title": "出版时间", - "publisher.name": "Publisher", - "publishers.alphabetical.many": "Alphabetical index of the {0} publishers", - "publishers.alphabetical.none": "Alphabetical index of absolutely no publishers", - "publishers.alphabetical.one": "Alphabetical index of the single publisher", - "publishers.title": "Publishers", - "publisherword.many": "{0} publishers", - "publisherword.none": "No publishers", - "publisherword.one": "1 publisher", - "ratings.many": "{0} ratings", - "ratings.none": "no ratings", - "ratings.one": "1 rating", - "ratings.title": "Ratings", - "ratingword.many": "{0} stars", - "ratingword.none": "No star", - "ratingword.one": "1 star", - "recent.list": "{0} 本最近添加的书", - "recent.title": "最近添加", - "search.alternate": "搜索", - "search.result": "*{0}* 的搜索结果", - "search.result.author": "作者中 *{0}* 的搜索结果", - "search.result.book": "书籍中 *{0}* 的搜索结果", - "search.result.publisher": "Search result for *{0}* in publishers", - "search.result.series": "系列中 *{0}* 的搜索结果", - "search.result.tag": "标签中 *{0}* 的搜索结果", - "search.sortorder.asc": "升序", - "search.sortorder.desc": "降序", - "series.alphabetical.many": "{0} 个系列的字母索引", - "series.alphabetical.none": "无系列", - "series.alphabetical.one": "1 个系列", - "series.title": "系列", - "seriesword.many": "{0} 系列", - "seriesword.none": "无系列", - "seriesword.one": "1 个系列", - "sort.alternate": "排序", - "splitByLetter.book.other": "其他书籍", - "splitByLetter.letter": "{0} 以 {1} 开头", - "tags.alphabetical.many": "{0} 个标签的字母索引", - "tags.alphabetical.none": "无标签", - "tags.alphabetical.one": "1 个标签", - "tags.title": "标签", - "tagword.many": "{0} 标签", - "tagword.none": "无标签", - "tagword.one": "1 个标签", - "tagword.title": "标签", - "languages.abk": "Abkhaz", - "languages.aaf": "Afar", - "languages.afr": "Afrikaans", - "languages.aka": "Akan", - "languages.sqi": "Albanian", - "languages.amh": "Amharic", - "languages.ara": "Arabic", - "languages.arg": "Aragonese", - "languages.hye": "Armenian", - "languages.asm": "Assamese", - "languages.ava": "Avaric", - "languages.ave": "Avestan", - "languages.aym": "Aymara", - "languages.aze": "Azerbaijani", - "languages.bam": "Bambara", - "languages.bak": "Bashkir", - "languages.eus": "Basque", - "languages.bel": "Belarusian", - "languages.ben": "Bengali", - "languages.bih": "Bihari", - "languages.bis": "Bislama", - "languages.bos": "Bosnian", - "languages.bre": "Breton", - "languages.bul": "Bulgarian", - "languages.mya": "Burmese", - "languages.cat": "Catalan", - "languages.cha": "Chamorro", - "languages.che": "Chechen", - "languages.nya": "Chichewa", - "languages.zho": "简体中文", - "languages.chv": "Chuvash", - "languages.cor": "Cornish", - "languages.cos": "Corsican", - "languages.cre": "Cree", - "languages.hrv": "Croatian", - "languages.ces": "Czech", - "languages.dan": "Danish", - "languages.div": "Divehi", - "languages.nld": "Dutch", - "languages.dzo": "Dzongkha", - "languages.eng": "英语", - "languages.epo": "Esperanto", - "languages.est": "Estonian", - "languages.ewe": "Ewe", - "languages.fao": "Faroese", - "languages.fij": "Fijian", - "languages.fin": "Finnish", - "languages.fra": "法语", - "languages.ful": "Fula", - "languages.glg": "Galician", - "languages.kat": "Georgian", - "languages.deu": "German", - "languages.ell": "Greek", - "languages.grn": "Guaraní", - "languages.guj": "Gujarati", - "languages.hat": "Haitian", - "languages.hau": "Hausa", - "languages.hed": "Hebrew", - "languages.her": "Herero", - "languages.hin": "Hindi", - "languages.hmo": "Hiri Motu", - "languages.hun": "Hungarian", - "languages.ina": "Interlingua", - "languages.ind": "Indonesian", - "languages.ile": "Interlingue", - "languages.gle": "Irish", - "languages.ibo": "Igbo", - "languages.ipk": "Inupiaq", - "languages.ido": "Ido", - "languages.isl": "Icelandic", - "languages.ita": "Italian", - "languages.iku": "Inuktitut", - "languages.jpn": "日语", - "languages.jav": "Javanese", - "languages.kal": "Kalaallisut", - "languages.kan": "Kannada", - "languages.kau": "Kanuri", - "languages.kas": "Kashmiri", - "languages.kaz": "Kazakh", - "languages.khm": "Khmer", - "languages.kik": "Kikuyu", - "languages.kin": "Kinyarwanda", - "languages.kir": "Kyrgyz", - "languages.kom": "Komi", - "languages.kon": "Kongo", - "languages.kor": "Korean", - "languages.kur": "Kurdish", - "languages.kua": "Kwanyama", - "languages.lat": "Latin", - "languages.ltz": "Luxembourgish", - "languages.lug": "Ganda", - "languages.lim": "Limburgish", - "languages.lin": "Lingala", - "languages.lao": "Lao", - "languages.lit": "Lithuanian", - "languages.lub": "Luba-Katanga", - "languages.lav": "Latvian", - "languages.glv": "Manx", - "languages.mkd": "Macedonian", - "languages.mlg": "Malagasy", - "languages.msa": "Malay", - "languages.mal": "Malayalam", - "languages.mlt": "Maltese", - "languages.mri": "Māori", - "languages.mar": "Marathi", - "languages.mah": "Marshallese", - "languages.mon": "Mongolian", - "languages.nau": "Nauru", - "languages.nav": "Navajo", - "languages.nob": "Norwegian Bokmål", - "languages.nde": "North Ndebele", - "languages.nep": "Nepali", - "languages.ndo": "Ndonga", - "languages.nno": "Norwegian Nynorsk", - "languages.nor": "Norwegian", - "languages.iii": "Nuosu", - "languages.nbl": "South Ndebele", - "languages.oci": "Occitan", - "languages.oji": "Ojibwe", - "languages.chu": "Old Church Slavonic", - "languages.orm": "Oromo", - "languages.ori": "Oriya", - "languages.oss": "Ossetian", - "languages.pan": "Panjabi", - "languages.pli": "Pāli", - "languages.fas": "Persian", - "languages.pol": "Polish", - "languages.pus": "Pashto", - "languages.por": "Portuguese", - "languages.que": "Quechua", - "languages.roh": "Romansh", - "languages.run": "Kirundi", - "languages.ron": "Romanian", - "languages.rus": "Russian", - "languages.san": "Sanskrit", - "languages.srd": "Sardinian", - "languages.snd": "Sindhi", - "languages.sme": "Northern Sami", - "languages.smo": "Samoan", - "languages.sag": "Sango", - "languages.srp": "Serbian", - "languages.gla": "Scottish Gaelic", - "languages.sna": "Shona", - "languages.sin": "Sinhala", - "languages.slk": "Slovak", - "languages.slv": "Slovene", - "languages.som": "Somali", - "languages.sot": "Southern Sotho", - "languages.spa": "Spanish", - "languages.sun": "Sundanese", - "languages.swa": "Swahili", - "languages.ssw": "Swati", - "languages.swe": "Swedish", - "languages.tam": "Tamil", - "languages.tel": "Telugu", - "languages.tgk": "Tajik", - "languages.tha": "Thai", - "languages.tir": "Tigrinya", - "languages.bod": "Tibetan Standard", - "languages.tuk": "Turkmen", - "languages.tgl": "Tagalog", - "languages.tsn": "Tswana", - "languages.ton": "Tonga", - "languages.tur": "Turkish", - "languages.tso": "Tsonga", - "languages.tat": "Tatar", - "languages.twi": "Twi", - "languages.tah": "Tahitian", - "languages.uig": "Uighur", - "languages.ukr": "Ukrainian", - "languages.urd": "Urdu", - "languages.uzb": "Uzbek", - "languages.ven": "Venda", - "languages.vie": "Vietnamese", - "languages.vol": "Volapük", - "languages.win": "Walloon", - "languages.cym": "Welsh", - "languages.wol": "Wolof", - "languages.fry": "Western Frisian", - "languages.xho": "Xhosa", - "languages.yid": "Yiddish", - "languages.yor": "Yoruba", - "languages.zha": "Zhuang", - "languages.zul": "Zulu", - "DO_NOT_TRANSLATE": "end" -} diff --git a/sources/language.php b/sources/language.php deleted file mode 100644 index 818a58f..0000000 --- a/sources/language.php +++ /dev/null @@ -1,70 +0,0 @@ - - */ - -require_once('base.php'); - -class Language extends Base { - const ALL_LANGUAGES_ID = "cops:languages"; - - public $id; - public $lang_code; - - public function __construct($pid, $plang_code) { - $this->id = $pid; - $this->lang_code = $plang_code; - } - - public function getUri () { - return "?page=".parent::PAGE_LANGUAGE_DETAIL."&id=$this->id"; - } - - public function getEntryId () { - return self::ALL_LANGUAGES_ID.":".$this->id; - } - - public static function getLanguageString ($code) { - $string = localize("languages.".$code); - if (preg_match ("/^languages/", $string)) { - return $code; - } - return $string; - } - - public static function getCount() { - // str_format (localize("languages.alphabetical", count(array)) - return parent::getCountGeneric ("languages", self::ALL_LANGUAGES_ID, parent::PAGE_ALL_LANGUAGES); - } - - public static function getLanguageById ($languageId) { - $result = parent::getDb ()->prepare('select id, lang_code from languages where id = ?'); - $result->execute (array ($languageId)); - if ($post = $result->fetchObject ()) { - return new Language ($post->id, Language::getLanguageString ($post->lang_code)); - } - return NULL; - } - - - - public static function getAllLanguages() { - $result = parent::getDb ()->query('select languages.id as id, languages.lang_code as lang_code, count(*) as count -from languages, books_languages_link -where languages.id = books_languages_link.lang_code -group by languages.id, books_languages_link.lang_code -order by languages.lang_code'); - $entryArray = array(); - while ($post = $result->fetchObject ()) - { - $language = new Language ($post->id, $post->lang_code); - array_push ($entryArray, new Entry (Language::getLanguageString ($language->lang_code), $language->getEntryId (), - str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ($language->getUri ())), "", $post->count)); - } - return $entryArray; - } -} diff --git a/sources/login.html b/sources/login.html deleted file mode 100644 index 21288fb..0000000 --- a/sources/login.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - COPS - - - - - - -
    -
    - - - -
    -
    - - diff --git a/sources/publisher.php b/sources/publisher.php deleted file mode 100644 index c8ca878..0000000 --- a/sources/publisher.php +++ /dev/null @@ -1,67 +0,0 @@ - - */ - -require_once('base.php'); - -class Publisher extends Base { - const ALL_PUBLISHERS_ID = "cops:publishers"; - const PUBLISHERS_COLUMNS = "publishers.id as id, publishers.name as name, count(*) as count"; - const SQL_ALL_PUBLISHERS = "select {0} from publishers, books_publishers_link where publishers.id = publisher group by publishers.id, publishers.name order by publishers.name"; - const SQL_PUBLISHERS_FOR_SEARCH = "select {0} from publishers, books_publishers_link where publishers.id = publisher and upper (publishers.name) like ? group by publishers.id, publishers.name order by publishers.name"; - - - public $id; - public $name; - - public function __construct($post) { - $this->id = $post->id; - $this->name = $post->name; - } - - public function getUri () { - return "?page=".parent::PAGE_PUBLISHER_DETAIL."&id=$this->id"; - } - - public function getEntryId () { - return self::ALL_PUBLISHERS_ID.":".$this->id; - } - - public static function getCount() { - // str_format (localize("publishers.alphabetical", count(array)) - return parent::getCountGeneric ("publishers", self::ALL_PUBLISHERS_ID, parent::PAGE_ALL_PUBLISHERS); - } - - public static function getPublisherByBookId ($bookId) { - $result = parent::getDb ()->prepare('select publishers.id as id, name -from books_publishers_link, publishers -where publishers.id = publisher and book = ?'); - $result->execute (array ($bookId)); - if ($post = $result->fetchObject ()) { - return new Publisher ($post); - } - return NULL; - } - - public static function getPublisherById ($publisherId) { - $result = parent::getDb ()->prepare('select id, name -from publishers where id = ?'); - $result->execute (array ($publisherId)); - if ($post = $result->fetchObject ()) { - return new Publisher ($post); - } - return NULL; - } - - public static function getAllPublishers() { - return Base::getEntryArrayWithBookNumber (self::SQL_ALL_PUBLISHERS, self::PUBLISHERS_COLUMNS, array (), "Publisher"); - } - - public static function getAllPublishersByQuery($query) { - return Base::getEntryArrayWithBookNumber (self::SQL_PUBLISHERS_FOR_SEARCH, self::PUBLISHERS_COLUMNS, array ('%' . $query . '%'), "Publisher"); - } -} diff --git a/sources/rating.php b/sources/rating.php deleted file mode 100644 index e3d5214..0000000 --- a/sources/rating.php +++ /dev/null @@ -1,61 +0,0 @@ -id = $pid; - $this->name = $pname; - } - - public function getUri () { - return "?page=".parent::PAGE_RATING_DETAIL."&id=$this->id"; - } - - public function getEntryId () { - return self::ALL_RATING_ID.":".$this->id; - } - - public static function getCount() { - // str_format (localize("ratings", count(array)) - return parent::getCountGeneric ("ratings", self::ALL_RATING_ID, parent::PAGE_ALL_RATINGS, "ratings"); - } - - public static function getAllRatings() { - return self::getEntryArray (self::SQL_ALL_RATINGS, array ()); - } - - public static function getEntryArray ($query, $params) { - list (, $result) = parent::executeQuery ($query, self::RATING_COLUMNS, "", $params, -1); - $entryArray = array(); - while ($post = $result->fetchObject ()) - { - $ratingObj = new Rating ($post->id, $post->rating); - $rating=$post->rating/2; - $rating = str_format (localize("ratingword", $rating), $rating); - array_push ($entryArray, new Entry ($rating, $ratingObj->getEntryId (), - str_format (localize("bookword", $post->count), $post->count), "text", - array ( new LinkNavigation ($ratingObj->getUri ())), "", $post->count)); - } - return $entryArray; - } - - public static function getRatingById ($ratingId) { - $result = parent::getDb ()->prepare('select rating from ratings where id = ?'); - $result->execute (array ($ratingId)); - return new Rating ($ratingId, $result->fetchColumn ()); - } -} diff --git a/sources/resources/Magnific-Popup/jquery.magnific-popup.min.js b/sources/resources/Magnific-Popup/jquery.magnific-popup.min.js deleted file mode 100644 index 2c94897..0000000 --- a/sources/resources/Magnific-Popup/jquery.magnific-popup.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! Magnific Popup - v0.9.9 - 2013-11-15 -* http://dimsemenov.com/plugins/magnific-popup/ -* Copyright (c) 2013 Dmitry Semenov; */ -(function(e){var t,n,i,o,r,a,s,l="Close",c="BeforeClose",d="AfterClose",u="BeforeAppend",p="MarkupParse",f="Open",m="Change",g="mfp",v="."+g,h="mfp-ready",C="mfp-removing",y="mfp-prevent-close",w=function(){},b=!!window.jQuery,I=e(window),x=function(e,n){t.ev.on(g+e+v,n)},k=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},T=function(n,i){t.ev.triggerHandler(g+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},E=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},_=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},S=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=S(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document.body),o=e(document),t.popupsCache={}},open:function(n){var i;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var r,s=n.items;for(i=0;s.length>i;i++)if(r=s[i],r.parsed&&(r=r.el[0]),r===n.el[0]){t.index=i;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):o,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=k("bg").on("click"+v,function(){t.close()}),t.wrap=k("wrap").attr("tabindex",-1).on("click"+v,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=k("container",t.wrap)),t.contentContainer=k("content"),t.st.preloader&&(t.preloader=k("preloader",t.container,t.st.tLoading));var l=e.magnificPopup.modules;for(i=0;l.length>i;i++){var c=l[i];c=c.charAt(0).toUpperCase()+c.slice(1),t["init"+c].call(t)}T("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(x(p,function(e,t,n,i){n.close_replaceWith=E(i.type)}),a+=" mfp-close-btn-in"):t.wrap.append(E())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:I.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+v,function(e){27===e.keyCode&&t.close()}),I.on("resize"+v,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var d=t.wH=I.height(),u={};if(t.fixedContentPos&&t._hasScrollBar(d)){var m=t._getScrollbarSize();m&&(u.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):u.overflow="hidden");var g=t.st.mainClass;return t.isIE7&&(g+=" mfp-ie7"),g&&t._addClassToMFP(g),t.updateItemHTML(),T("BuildControls"),e("html").css(u),t.bgOverlay.add(t.wrap).prependTo(document.body),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(h),t._setFocus()):t.bgOverlay.addClass(h),o.on("focusin"+v,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(d),T(f),n},close:function(){t.isOpen&&(T(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(C),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){T(l);var n=C+" "+h+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}o.off("keyup"+v+" focusin"+v),t.ev.off(v),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,T(d)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||I.height();t.fixedContentPos||t.wrap.css("height",t.wH),T("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(T("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var o=t.st[i]?t.st[i].markup:!1;T("FirstMarkupParse",o),t.currTemplate[i]=o?e(o):!0}r&&r!==n.type&&t.container.removeClass("mfp-"+r+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,T(m,n),r=n.type,t.container.prepend(t.contentContainer),T("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[n]===!0?t.content.find(".mfp-close").length||t.content.append(E()):t.content=e:t.content="",T(u),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i=t.items[n],o=i.type;if(i=i.tagName?{el:e(i)}:{data:i,src:i.src},i.el){for(var r=t.types,a=0;r.length>a;a++)if(i.el.hasClass("mfp-"+r[a])){o=r[a];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=o||t.st.type||"inline",i.index=n,i.parsed=!0,t.items[n]=i,T("ElementParse",i),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var o="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(o).on(o,i)):(n.isObj=!1,n.delegate?e.off(o).on(o,n.delegate,i):(n.items=e,e.off(o).on(o,i)))},_openClick:function(n,i,o){var r=void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick;if(r||2!==n.which&&!n.ctrlKey&&!n.metaKey){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(a>I.width())return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),t.open(o)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),i||"loading"!==e||(i=t.st.tLoading);var o={status:e,text:i};T("UpdateStatus",o),e=o.status,i=o.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(y)){var i=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(i&&o)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(o&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?o.height():document.body.scrollHeight)>(e||I.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,i){var o;i.data&&(n=e.extend(i.data,n)),T(p,[t,n,i]),e.each(n,function(e,n){if(void 0===n||n===!1)return!0;if(o=e.split("_"),o.length>1){var i=t.find(v+"-"+o[0]);if(i.length>0){var r=o[1];"replaceWith"===r?i[0]!==n[0]&&i.replaceWith(n):"img"===r?i.is("img")?i.attr("src",n):i.replaceWith(''):i.attr(o[1],n)}}else t.find(v+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(t,n){return _(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){_();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=b?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),b?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var P,O,z,M="inline",B=function(){z&&(O.after(z.addClass(P)).detach(),z=null)};e.magnificPopup.registerModule(M,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(M),x(l+"."+M,function(){B()})},getInline:function(n,i){if(B(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(O||(P=o.hiddenClass,O=k(P),P="mfp-"+P),z=r.after(O).detach().removeClass(P)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("
    ");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var F,H="ajax",L=function(){F&&i.removeClass(F)},A=function(){L(),t.req&&t.req.abort()};e.magnificPopup.registerModule(H,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){t.types.push(H),F=t.st.ajax.cursor,x(l+"."+H,A),x("BeforeChange."+H,A)},getAjax:function(n){F&&i.addClass(F),t.updateStatus("loading");var o=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};T("ParseAjax",a),t.appendContent(e(a.data),H),n.finished=!0,L(),t._setFocus(),setTimeout(function(){t.wrap.addClass(h)},16),t.updateStatus("ready"),T("AjaxContentAdded")},error:function(){L(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}});var j,N=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
    ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=t.st.image,n=".image";t.types.push("image"),x(f+n,function(){"image"===t.currItem.type&&e.cursor&&i.addClass(e.cursor)}),x(l+n,function(){e.cursor&&i.removeClass(e.cursor),I.off("resize"+v)}),x("Resize"+n,t.resizeImage),t.isLowIE&&x("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,j&&clearInterval(j),e.isCheckingImgSize=!1,T("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){j&&clearInterval(j),j=setInterval(function(){return i.naturalWidth>0?(t._onImageHasSize(e),void 0):(n>200&&clearInterval(j),n++,3===n?o(10):40===n?o(50):100===n&&o(500),void 0)},r)};o(1)},getImage:function(n,i){var o=0,r=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,T("ImageLoadComplete")):(o++,200>o?setTimeout(r,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.img=e(c).on("load.mfploader",r).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),n.img[0].naturalWidth>0&&(n.hasSize=!0)}return t._parseMarkup(i,{title:N(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(j&&clearInterval(j),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var W,R=function(){return void 0===W&&(W=void 0!==document.createElement("p").style.MozTransform),W};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},d=function(){t.content.css("visibility","visible")};x("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return d(),void 0;r=s(e),r.css(t._getOffset()),t.wrap.append(r),o=setTimeout(function(){r.css(t._getOffset(!0)),o=setTimeout(function(){d(),setTimeout(function(){r.remove(),e=r=null,T("ZoomAnimationEnded")},16)},a)},16)}}),x(c+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(e=t._getItemToZoom(),!e)return;r=s(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout(function(){r.css(t._getOffset())},16)}}),x(l+i,function(){t._allowZoom()&&(d(),r&&r.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(n){var i;i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=i.offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(b?i.innerHeight():i[0].offsetHeight)-a-r};return R()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var Z="iframe",q="//about:blank",D=function(e){if(t.currTemplate[Z]){var n=t.currTemplate[Z].find("iframe");n.length&&(e||(n[0].src=q),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(Z,{options:{markup:'
    ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(Z),x("BeforeChange",function(e,t,n){t!==n&&(t===Z?D():n===Z&&D(!0))}),x(l+"."+Z,function(){D()})},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0});var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var K=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},Y=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery",r=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(a+=" mfp-gallery",x(f+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),o.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),x("UpdateStatus"+i,function(e,n){n.text&&(n.text=Y(n.text,t.currItem.index,t.items.length))}),x(p+i,function(e,i,o,r){var a=t.items.length;o.counter=a>1?Y(n.tCounter,r.index,a):""}),x("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(y),a=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(y),s=r?"mfpFastClick":"click";o[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(k("b",o[0],!1,!0),k("a",o[0],!1,!0),k("b",a[0],!1,!0),k("a",a[0],!1,!0)),t.container.append(o.add(a))}}),x(m+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),x(l+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowLeft&&r&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=K(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=K(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;(t.direction?o:i)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?i:o)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=K(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),T("LazyLoad",i),"image"===i.type&&(i.img=e('').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,T("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var U="retina";e.magnificPopup.registerModule(U,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(x("ImageHasSize."+U,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),x("ElementParse."+U,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,i=function(){I.off("touchmove"+r+" touchend"+r)},o="mfpFastClick",r="."+o;e.fn.mfpFastClick=function(o){return e(this).each(function(){var a,s=e(this);if(n){var l,c,d,u,p,f;s.on("touchstart"+r,function(e){u=!1,f=1,p=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],c=p.clientX,d=p.clientY,I.on("touchmove"+r,function(e){p=e.originalEvent?e.originalEvent.touches:e.touches,f=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-d)>10)&&(u=!0,i())}).on("touchend"+r,function(e){i(),u||f>1||(a=!0,e.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},t),o())})})}s.on("click"+r,function(){a||o()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+r+" click"+r),n&&I.off("touchmove"+r+" touchend"+r)}}(),_()})(window.jQuery||window.Zepto); \ No newline at end of file diff --git a/sources/resources/Magnific-Popup/magnific-popup.css b/sources/resources/Magnific-Popup/magnific-popup.css deleted file mode 100644 index 83a52cd..0000000 --- a/sources/resources/Magnific-Popup/magnific-popup.css +++ /dev/null @@ -1,363 +0,0 @@ -/* Magnific Popup CSS */ -.mfp-bg { - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1042; - overflow: hidden; - position: fixed; - background: #0b0b0b; - opacity: 0.8; - filter: alpha(opacity=80); } - -.mfp-wrap { - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1043; - position: fixed; - outline: none !important; - -webkit-backface-visibility: hidden; } - -.mfp-container { - text-align: center; - position: absolute; - width: 100%; - height: 100%; - left: 0; - top: 0; - padding: 0 8px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } - -.mfp-container:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; } - -.mfp-align-top .mfp-container:before { - display: none; } - -.mfp-content { - position: relative; - display: inline-block; - vertical-align: middle; - margin: 0 auto; - text-align: left; - z-index: 1045; } - -.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { - width: 100%; - cursor: auto; } - -.mfp-ajax-cur { - cursor: progress; } - -.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { - cursor: -moz-zoom-out; - cursor: -webkit-zoom-out; - cursor: zoom-out; } - -.mfp-zoom { - cursor: pointer; - cursor: -webkit-zoom-in; - cursor: -moz-zoom-in; - cursor: zoom-in; } - -.mfp-auto-cursor .mfp-content { - cursor: auto; } - -.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; } - -.mfp-loading.mfp-figure { - display: none; } - -.mfp-hide { - display: none !important; } - -.mfp-preloader { - color: #cccccc; - position: absolute; - top: 50%; - width: auto; - text-align: center; - margin-top: -0.8em; - left: 8px; - right: 8px; - z-index: 1044; } - .mfp-preloader a { - color: #cccccc; } - .mfp-preloader a:hover { - color: white; } - -.mfp-s-ready .mfp-preloader { - display: none; } - -.mfp-s-error .mfp-content { - display: none; } - -button.mfp-close, button.mfp-arrow { - overflow: visible; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; - display: block; - outline: none; - padding: 0; - z-index: 1046; - -webkit-box-shadow: none; - box-shadow: none; } -button::-moz-focus-inner { - padding: 0; - border: 0; } - -.mfp-close { - width: 44px; - height: 44px; - line-height: 44px; - position: absolute; - right: 0; - top: 0; - text-decoration: none; - text-align: center; - opacity: 0.65; - padding: 0 0 18px 10px; - color: white; - font-style: normal; - font-size: 28px; - font-family: Arial, Baskerville, monospace; } - .mfp-close:hover, .mfp-close:focus { - opacity: 1; } - .mfp-close:active { - top: 1px; } - -.mfp-close-btn-in .mfp-close { - color: #333333; } - -.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { - color: white; - right: -6px; - text-align: right; - padding-right: 6px; - width: 100%; } - -.mfp-counter { - position: absolute; - top: 0; - right: 0; - color: #cccccc; - font-size: 12px; - line-height: 18px; } - -.mfp-arrow { - position: absolute; - opacity: 0.65; - margin: 0; - top: 50%; - margin-top: -55px; - padding: 0; - width: 90px; - height: 110px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } - .mfp-arrow:active { - margin-top: -54px; } - .mfp-arrow:hover, .mfp-arrow:focus { - opacity: 1; } - .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { - content: ''; - display: block; - width: 0; - height: 0; - position: absolute; - left: 0; - top: 0; - margin-top: 35px; - margin-left: 35px; - border: medium inset transparent; } - .mfp-arrow:after, .mfp-arrow .mfp-a { - border-top-width: 13px; - border-bottom-width: 13px; - top: 8px; } - .mfp-arrow:before, .mfp-arrow .mfp-b { - border-top-width: 21px; - border-bottom-width: 21px; } - -.mfp-arrow-left { - left: 0; } - .mfp-arrow-left:after, .mfp-arrow-left .mfp-a { - border-right: 17px solid white; - margin-left: 31px; } - .mfp-arrow-left:before, .mfp-arrow-left .mfp-b { - margin-left: 25px; - border-right: 27px solid #3f3f3f; } - -.mfp-arrow-right { - right: 0; } - .mfp-arrow-right:after, .mfp-arrow-right .mfp-a { - border-left: 17px solid white; - margin-left: 39px; } - .mfp-arrow-right:before, .mfp-arrow-right .mfp-b { - border-left: 27px solid #3f3f3f; } - -.mfp-iframe-holder { - padding-top: 40px; - padding-bottom: 40px; } - .mfp-iframe-holder .mfp-content { - line-height: 0; - width: 100%; - max-width: 900px; } - .mfp-iframe-holder .mfp-close { - top: -40px; } - -.mfp-iframe-scaler { - width: 100%; - height: 0; - overflow: hidden; - padding-top: 56.25%; } - .mfp-iframe-scaler iframe { - position: absolute; - display: block; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); - background: black; } - -/* Main image in popup */ -img.mfp-img { - width: auto; - max-width: 100%; - height: auto; - display: block; - line-height: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 40px 0 40px; - margin: 0 auto; } - -/* The shadow behind the image */ -.mfp-figure { - line-height: 0; } - .mfp-figure:after { - content: ''; - position: absolute; - left: 0; - top: 40px; - bottom: 40px; - display: block; - right: 0; - width: auto; - height: auto; - z-index: -1; - box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); - background: #444444; } - .mfp-figure small { - color: #bdbdbd; - display: block; - font-size: 12px; - line-height: 14px; } - -.mfp-bottom-bar { - margin-top: -36px; - position: absolute; - top: 100%; - left: 0; - width: 100%; - cursor: auto; } - -.mfp-title { - text-align: left; - line-height: 18px; - color: #f3f3f3; - word-wrap: break-word; - padding-right: 36px; } - -.mfp-image-holder .mfp-content { - max-width: 100%; } - -.mfp-gallery .mfp-image-holder .mfp-figure { - cursor: pointer; } - -@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { - /** - * Remove all paddings around the image on small screen - */ - .mfp-img-mobile .mfp-image-holder { - padding-left: 0; - padding-right: 0; } - .mfp-img-mobile img.mfp-img { - padding: 0; } - .mfp-img-mobile .mfp-figure { - /* The shadow behind the image */ } - .mfp-img-mobile .mfp-figure:after { - top: 0; - bottom: 0; } - .mfp-img-mobile .mfp-figure small { - display: inline; - margin-left: 5px; } - .mfp-img-mobile .mfp-bottom-bar { - background: rgba(0, 0, 0, 0.6); - bottom: 0; - margin: 0; - top: auto; - padding: 3px 5px; - position: fixed; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } - .mfp-img-mobile .mfp-bottom-bar:empty { - padding: 0; } - .mfp-img-mobile .mfp-counter { - right: 5px; - top: 3px; } - .mfp-img-mobile .mfp-close { - top: 0; - right: 0; - width: 35px; - height: 35px; - line-height: 35px; - background: rgba(0, 0, 0, 0.6); - position: fixed; - text-align: center; - padding: 0; } } - -@media all and (max-width: 900px) { - .mfp-arrow { - -webkit-transform: scale(0.75); - transform: scale(0.75); } - .mfp-arrow-left { - -webkit-transform-origin: 0; - transform-origin: 0; } - .mfp-arrow-right { - -webkit-transform-origin: 100%; - transform-origin: 100%; } - .mfp-container { - padding-left: 6px; - padding-right: 6px; } } - -.mfp-ie7 .mfp-img { - padding: 0; } -.mfp-ie7 .mfp-bottom-bar { - width: 600px; - left: 50%; - margin-left: -300px; - margin-top: 5px; - padding-bottom: 5px; } -.mfp-ie7 .mfp-container { - padding: 0; } -.mfp-ie7 .mfp-content { - padding-top: 44px; } -.mfp-ie7 .mfp-close { - top: 0; - right: 0; - padding-top: 0; } diff --git a/sources/resources/PHPMailer/LICENSE b/sources/resources/PHPMailer/LICENSE deleted file mode 100644 index f3f1b3b..0000000 --- a/sources/resources/PHPMailer/LICENSE +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/sources/resources/PHPMailer/README.md b/sources/resources/PHPMailer/README.md deleted file mode 100644 index 671141d..0000000 --- a/sources/resources/PHPMailer/README.md +++ /dev/null @@ -1,134 +0,0 @@ -# PHPMailer - A full-featured email creation and transfer class for PHP - -Build status: [![Build Status](https://travis-ci.org/Synchro/PHPMailer.png)](https://travis-ci.org/Synchro/PHPMailer) - -## Class Features - -- Probably the world's most popular code for sending email from PHP! -- Used by many open-source projects: Drupal, SugarCRM, Yii, Joomla! and many more -- Integrated SMTP support - send without a local mail server -- Send emails with multiple TOs, CCs, BCCs and REPLY-TOs -- Multipart/alternative emails for mail clients that do not read HTML email -- Support for 8bit, base64, binary, and quoted-printable encoding -- SMTP authentication with LOGIN, PLAIN, NTLM and CRAM-MD5 mechanisms -- Native language support -- Compatible with PHP 5.0 and later -- Much more! - -## Why you might need it - -Many PHP developers utilize email in their code. The only PHP function that supports this is the mail() function. However, it does not provide any assistance for making use of popular features such as HTML-based emails and attachments. - -Formatting email correctly is surprisingly difficult. There are myriad overlapping RFCs, requiring tight adherence to horribly complicated formatting and encoding rules - the vast majority of code that you'll find online that uses the mail() function directly is just plain wrong! -*Please* don't be tempted to do it yourself - if you don't use PHPMailer, there are many other excellent libraries that you should look at before rolling your own - try SwiftMailer, Zend_Mail, eZcomponents etc. - -The PHP mail() function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD and OS X platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP implementation allows email sending on Windows platforms without a local mail server. - -## License - -This software is licenced under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html). Please read LICENSE for information on the -software availability and distribution. - -## Installation - -PHPMailer is available via [Composer/Packagist](https://packagist.org/packages/phpmailer/phpmailer). Alternatively, just copy the contents of the PHPMailer folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub. - - -## A Simple Example - -```php -IsSMTP(); // Set mailer to use SMTP -$mail->Host = 'smtp1.example.com;smtp2.example.com'; // Specify main and backup server -$mail->SMTPAuth = true; // Enable SMTP authentication -$mail->Username = 'jswan'; // SMTP username -$mail->Password = 'secret'; // SMTP password -$mail->SMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted - -$mail->From = 'from@example.com'; -$mail->FromName = 'Mailer'; -$mail->AddAddress('josh@example.net', 'Josh Adams'); // Add a recipient -$mail->AddAddress('ellen@example.com'); // Name is optional -$mail->AddReplyTo('info@example.com', 'Information'); -$mail->AddCC('cc@example.com'); -$mail->AddBCC('bcc@example.com'); - -$mail->WordWrap = 50; // Set word wrap to 50 characters -$mail->AddAttachment('/var/tmp/file.tar.gz'); // Add attachments -$mail->AddAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name -$mail->IsHTML(true); // Set email format to HTML - -$mail->Subject = 'Here is the subject'; -$mail->Body = 'This is the HTML message body in bold!'; -$mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; - -if(!$mail->Send()) { - echo 'Message could not be sent.'; - echo 'Mailer Error: ' . $mail->ErrorInfo; - exit; -} - -echo 'Message has been sent'; -``` - -You'll find plenty more to play with in the `examples` folder. - -That's it. You should now be ready to use PHPMailer! - -## Localization -PHPMailer defaults to English, but in the `languages` folder you'll find numerous translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this: - -```php -// To load the French version -$mail->SetLanguage('fr', '/optional/path/to/language/directory/'); -``` - -## Documentation - -You'll find some basic user-level docs in the docs folder, and you can generate complete API-level documentation using the `generatedocs.sh` shell script in the docs folder, though you'll need to install [PHPDocumentor](http://www.phpdoc.org) first. - -## Tests - -You'll find a PHPUnit test script in the `test` folder. - -Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.png)](https://travis-ci.org/PHPMailer/PHPMailer) - -If this isn't passing, is there something you can do to help? - -## Contributing - -Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). - -We're particularly interested in fixing edge-cases, expanding test coverage and updating translations. - -With the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone: - -git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git - -Please *don't* use the SourceForge or Google Code projects any more. - -## Changelog - -See changelog.md - -## History -- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/). -- Marcus Bointon (coolbru on SF) and Andy Prevost (codeworxtech) took over the project in 2004. -- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski. -- Marcus created his fork on [GitHub](https://github.com/Synchro/PHPMailer). -- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer. -- PHPMailer moves to the [PHPMailer organisation](https://github.com/PHPMailer) on GitHub. - -### What's changed since moving from SourceForge? -- Official successor to the SourceForge and Google Code projects. -- Test suite. -- Continuous integration with Travis-CI. -- Composer support. -- Rolling releases. -- Additional languages and language strings. -- CRAM-MD5 authentication support. -- Preserves full repo history of authors, commits and branches from the original SourceForge project. diff --git a/sources/resources/PHPMailer/class.phpmailer.php b/sources/resources/PHPMailer/class.phpmailer.php deleted file mode 100644 index 667f187..0000000 --- a/sources/resources/PHPMailer/class.phpmailer.php +++ /dev/null @@ -1,2810 +0,0 @@ -UseSendmailOptions) ) { - $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($subject)), $body, $header); - } else { - $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($subject)), $body, $header, $params); - } - return $rt; - } - - /** - * Outputs debugging info via user-defined method - * @param string $str - */ - private function edebug($str) { - if ($this->Debugoutput == "error_log") { - error_log($str); - } else { - echo $str; - } - } - - /** - * Constructor - * @param boolean $exceptions Should we throw external exceptions? - */ - public function __construct($exceptions = false) { - $this->exceptions = ($exceptions == true); - } - - /** - * Destructor - */ - public function __destruct() { - if ($this->Mailer == 'smtp') { //Close any open SMTP connection nicely - $this->SmtpClose(); - } - } - - /** - * Sets message type to HTML. - * @param bool $ishtml - * @return void - */ - public function IsHTML($ishtml = true) { - if ($ishtml) { - $this->ContentType = 'text/html'; - } else { - $this->ContentType = 'text/plain'; - } - } - - /** - * Sets Mailer to send message using SMTP. - * @return void - */ - public function IsSMTP() { - $this->Mailer = 'smtp'; - } - - /** - * Sets Mailer to send message using PHP mail() function. - * @return void - */ - public function IsMail() { - $this->Mailer = 'mail'; - } - - /** - * Sets Mailer to send message using the $Sendmail program. - * @return void - */ - public function IsSendmail() { - if (!stristr(ini_get('sendmail_path'), 'sendmail')) { - $this->Sendmail = '/var/qmail/bin/sendmail'; - } - $this->Mailer = 'sendmail'; - } - - /** - * Sets Mailer to send message using the qmail MTA. - * @return void - */ - public function IsQmail() { - if (stristr(ini_get('sendmail_path'), 'qmail')) { - $this->Sendmail = '/var/qmail/bin/sendmail'; - } - $this->Mailer = 'sendmail'; - } - - ///////////////////////////////////////////////// - // METHODS, RECIPIENTS - ///////////////////////////////////////////////// - - /** - * Adds a "To" address. - * @param string $address - * @param string $name - * @return boolean true on success, false if address already used - */ - public function AddAddress($address, $name = '') { - return $this->AddAnAddress('to', $address, $name); - } - - /** - * Adds a "Cc" address. - * Note: this function works with the SMTP mailer on win32, not with the "mail" mailer. - * @param string $address - * @param string $name - * @return boolean true on success, false if address already used - */ - public function AddCC($address, $name = '') { - return $this->AddAnAddress('cc', $address, $name); - } - - /** - * Adds a "Bcc" address. - * Note: this function works with the SMTP mailer on win32, not with the "mail" mailer. - * @param string $address - * @param string $name - * @return boolean true on success, false if address already used - */ - public function AddBCC($address, $name = '') { - return $this->AddAnAddress('bcc', $address, $name); - } - - /** - * Adds a "Reply-to" address. - * @param string $address - * @param string $name - * @return boolean - */ - public function AddReplyTo($address, $name = '') { - return $this->AddAnAddress('Reply-To', $address, $name); - } - - /** - * Adds an address to one of the recipient arrays - * Addresses that have been added already return false, but do not throw exceptions - * @param string $kind One of 'to', 'cc', 'bcc', 'ReplyTo' - * @param string $address The email address to send to - * @param string $name - * @throws phpmailerException - * @return boolean true on success, false if address already used or invalid in some way - * @access protected - */ - protected function AddAnAddress($kind, $address, $name = '') { - if (!preg_match('/^(to|cc|bcc|Reply-To)$/', $kind)) { - $this->SetError($this->Lang('Invalid recipient array').': '.$kind); - if ($this->exceptions) { - throw new phpmailerException('Invalid recipient array: ' . $kind); - } - if ($this->SMTPDebug) { - $this->edebug($this->Lang('Invalid recipient array').': '.$kind); - } - return false; - } - $address = trim($address); - $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim - if (!$this->ValidateAddress($address)) { - $this->SetError($this->Lang('invalid_address').': '. $address); - if ($this->exceptions) { - throw new phpmailerException($this->Lang('invalid_address').': '.$address); - } - if ($this->SMTPDebug) { - $this->edebug($this->Lang('invalid_address').': '.$address); - } - return false; - } - if ($kind != 'Reply-To') { - if (!isset($this->all_recipients[strtolower($address)])) { - array_push($this->$kind, array($address, $name)); - $this->all_recipients[strtolower($address)] = true; - return true; - } - } else { - if (!array_key_exists(strtolower($address), $this->ReplyTo)) { - $this->ReplyTo[strtolower($address)] = array($address, $name); - return true; - } - } - return false; -} - - /** - * Set the From and FromName properties - * @param string $address - * @param string $name - * @param int $auto Also set Reply-To and Sender - * @throws phpmailerException - * @return boolean - */ - public function SetFrom($address, $name = '', $auto = 1) { - $address = trim($address); - $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim - if (!$this->ValidateAddress($address)) { - $this->SetError($this->Lang('invalid_address').': '. $address); - if ($this->exceptions) { - throw new phpmailerException($this->Lang('invalid_address').': '.$address); - } - if ($this->SMTPDebug) { - $this->edebug($this->Lang('invalid_address').': '.$address); - } - return false; - } - $this->From = $address; - $this->FromName = $name; - if ($auto) { - if (empty($this->ReplyTo)) { - $this->AddAnAddress('Reply-To', $address, $name); - } - if (empty($this->Sender)) { - $this->Sender = $address; - } - } - return true; - } - - /** - * Check that a string looks roughly like an email address should - * Static so it can be used without instantiation, public so people can overload - * Conforms to RFC5322: Uses *correct* regex on which FILTER_VALIDATE_EMAIL is - * based; So why not use FILTER_VALIDATE_EMAIL? Because it was broken to - * not allow a@b type valid addresses :( - * @link http://squiloople.com/2009/12/20/email-address-validation/ - * @copyright regex Copyright Michael Rushton 2009-10 | http://squiloople.com/ | Feel free to use and redistribute this code. But please keep this copyright notice. - * @param string $address The email address to check - * @return boolean - * @static - * @access public - */ - public static function ValidateAddress($address) { - if (defined('PCRE_VERSION')) { //Check this instead of extension_loaded so it works when that function is disabled - if (version_compare(PCRE_VERSION, '8.0') >= 0) { - return (boolean)preg_match('/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', $address); - } else { - //Fall back to an older regex that doesn't need a recent PCRE - return (boolean)preg_match('/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!(?>"?(?>\\\[ -~]|[^"])"?){65,}@)(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*")(?>\.(?>[!#-\'*+\/-9=?^-~-]+|"(?>(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\xFF]))*"))*@(?>(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?![a-z0-9-]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?)){0,126}|\[(?:(?>IPv6:(?>(?>[a-f0-9]{1,4})(?>:[a-f0-9]{1,4}){7}|(?!(?:.*[a-f0-9][:\]]){8,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?::(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,6})?))|(?>(?>IPv6:(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){5}:|(?!(?:.*[a-f0-9]:){6,})(?>[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4})?::(?>(?:[a-f0-9]{1,4}(?>:[a-f0-9]{1,4}){0,4}):)?))?(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?>25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}))\])$/isD', $address); - } - } else { - //No PCRE! Do something _very_ approximate! - //Check the address is 3 chars or longer and contains an @ that's not the first or last char - return (strlen($address) >= 3 and strpos($address, '@') >= 1 and strpos($address, '@') != strlen($address) - 1); - } - } - - ///////////////////////////////////////////////// - // METHODS, MAIL SENDING - ///////////////////////////////////////////////// - - /** - * Creates message and assigns Mailer. If the message is - * not sent successfully then it returns false. Use the ErrorInfo - * variable to view description of the error. - * @throws phpmailerException - * @return bool - */ - public function Send() { - try { - if(!$this->PreSend()) return false; - return $this->PostSend(); - } catch (phpmailerException $e) { - $this->mailHeader = ''; - $this->SetError($e->getMessage()); - if ($this->exceptions) { - throw $e; - } - return false; - } - } - - /** - * Prep mail by constructing all message entities - * @throws phpmailerException - * @return bool - */ - public function PreSend() { - try { - $this->mailHeader = ""; - if ((count($this->to) + count($this->cc) + count($this->bcc)) < 1) { - throw new phpmailerException($this->Lang('provide_address'), self::STOP_CRITICAL); - } - - // Set whether the message is multipart/alternative - if(!empty($this->AltBody)) { - $this->ContentType = 'multipart/alternative'; - } - - $this->error_count = 0; // reset errors - $this->SetMessageType(); - //Refuse to send an empty message unless we are specifically allowing it - if (!$this->AllowEmpty and empty($this->Body)) { - throw new phpmailerException($this->Lang('empty_message'), self::STOP_CRITICAL); - } - - $this->MIMEHeader = $this->CreateHeader(); - $this->MIMEBody = $this->CreateBody(); - - // To capture the complete message when using mail(), create - // an extra header list which CreateHeader() doesn't fold in - if ($this->Mailer == 'mail') { - if (count($this->to) > 0) { - $this->mailHeader .= $this->AddrAppend("To", $this->to); - } else { - $this->mailHeader .= $this->HeaderLine("To", "undisclosed-recipients:;"); - } - $this->mailHeader .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader(trim($this->Subject)))); - } - - // digitally sign with DKIM if enabled - if (!empty($this->DKIM_domain) && !empty($this->DKIM_private) && !empty($this->DKIM_selector) && !empty($this->DKIM_domain) && file_exists($this->DKIM_private)) { - $header_dkim = $this->DKIM_Add($this->MIMEHeader . $this->mailHeader, $this->EncodeHeader($this->SecureHeader($this->Subject)), $this->MIMEBody); - $this->MIMEHeader = str_replace("\r\n", "\n", $header_dkim) . $this->MIMEHeader; - } - - return true; - - } catch (phpmailerException $e) { - $this->SetError($e->getMessage()); - if ($this->exceptions) { - throw $e; - } - return false; - } - } - - /** - * Actual Email transport function - * Send the email via the selected mechanism - * @throws phpmailerException - * @return bool - */ - public function PostSend() { - try { - // Choose the mailer and send through it - switch($this->Mailer) { - case 'sendmail': - return $this->SendmailSend($this->MIMEHeader, $this->MIMEBody); - case 'smtp': - return $this->SmtpSend($this->MIMEHeader, $this->MIMEBody); - case 'mail': - return $this->MailSend($this->MIMEHeader, $this->MIMEBody); - default: - return $this->MailSend($this->MIMEHeader, $this->MIMEBody); - } - } catch (phpmailerException $e) { - $this->SetError($e->getMessage()); - if ($this->exceptions) { - throw $e; - } - if ($this->SMTPDebug) { - $this->edebug($e->getMessage()."\n"); - } - } - return false; - } - - /** - * Sends mail using the $Sendmail program. - * @param string $header The message headers - * @param string $body The message body - * @throws phpmailerException - * @access protected - * @return bool - */ - protected function SendmailSend($header, $body) { - if ($this->Sender != '') { - $sendmail = sprintf("%s -oi -f%s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); - } else { - $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); - } - if ($this->SingleTo === true) { - foreach ($this->SingleToArray as $val) { - if(!@$mail = popen($sendmail, 'w')) { - throw new phpmailerException($this->Lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - fputs($mail, "To: " . $val . "\n"); - fputs($mail, $header); - fputs($mail, $body); - $result = pclose($mail); - // implement call back function if it exists - $isSent = ($result == 0) ? 1 : 0; - $this->doCallback($isSent, $val, $this->cc, $this->bcc, $this->Subject, $body); - if($result != 0) { - throw new phpmailerException($this->Lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - } - } else { - if(!@$mail = popen($sendmail, 'w')) { - throw new phpmailerException($this->Lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - fputs($mail, $header); - fputs($mail, $body); - $result = pclose($mail); - // implement call back function if it exists - $isSent = ($result == 0) ? 1 : 0; - $this->doCallback($isSent, $this->to, $this->cc, $this->bcc, $this->Subject, $body); - if($result != 0) { - throw new phpmailerException($this->Lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - } - return true; - } - - /** - * Sends mail using the PHP mail() function. - * @param string $header The message headers - * @param string $body The message body - * @throws phpmailerException - * @access protected - * @return bool - */ - protected function MailSend($header, $body) { - $toArr = array(); - foreach($this->to as $t) { - $toArr[] = $this->AddrFormat($t); - } - $to = implode(', ', $toArr); - - if (empty($this->Sender)) { - $params = " "; - } else { - $params = sprintf("-f%s", $this->Sender); - } - if ($this->Sender != '' and !ini_get('safe_mode')) { - $old_from = ini_get('sendmail_from'); - ini_set('sendmail_from', $this->Sender); - } - $rt = false; - if ($this->SingleTo === true && count($toArr) > 1) { - foreach ($toArr as $val) { - $rt = $this->mail_passthru($val, $this->Subject, $body, $header, $params); - // implement call back function if it exists - $isSent = ($rt == 1) ? 1 : 0; - $this->doCallback($isSent, $val, $this->cc, $this->bcc, $this->Subject, $body); - } - } else { - $rt = $this->mail_passthru($to, $this->Subject, $body, $header, $params); - // implement call back function if it exists - $isSent = ($rt == 1) ? 1 : 0; - $this->doCallback($isSent, $to, $this->cc, $this->bcc, $this->Subject, $body); - } - if (isset($old_from)) { - ini_set('sendmail_from', $old_from); - } - if(!$rt) { - throw new phpmailerException($this->Lang('instantiate'), self::STOP_CRITICAL); - } - return true; - } - - /** - * Sends mail via SMTP using PhpSMTP - * Returns false if there is a bad MAIL FROM, RCPT, or DATA input. - * @param string $header The message headers - * @param string $body The message body - * @throws phpmailerException - * @uses SMTP - * @access protected - * @return bool - */ - protected function SmtpSend($header, $body) { - require_once $this->PluginDir . 'class.smtp.php'; - $bad_rcpt = array(); - - if(!$this->SmtpConnect()) { - throw new phpmailerException($this->Lang('smtp_connect_failed'), self::STOP_CRITICAL); - } - $smtp_from = ($this->Sender == '') ? $this->From : $this->Sender; - if(!$this->smtp->Mail($smtp_from)) { - $this->SetError($this->Lang('from_failed') . $smtp_from . ' : ' .implode(',', $this->smtp->getError())); - throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL); - } - - // Attempt to send attach all recipients - foreach($this->to as $to) { - if (!$this->smtp->Recipient($to[0])) { - $bad_rcpt[] = $to[0]; - // implement call back function if it exists - $isSent = 0; - $this->doCallback($isSent, $to[0], '', '', $this->Subject, $body); - } else { - // implement call back function if it exists - $isSent = 1; - $this->doCallback($isSent, $to[0], '', '', $this->Subject, $body); - } - } - foreach($this->cc as $cc) { - if (!$this->smtp->Recipient($cc[0])) { - $bad_rcpt[] = $cc[0]; - // implement call back function if it exists - $isSent = 0; - $this->doCallback($isSent, '', $cc[0], '', $this->Subject, $body); - } else { - // implement call back function if it exists - $isSent = 1; - $this->doCallback($isSent, '', $cc[0], '', $this->Subject, $body); - } - } - foreach($this->bcc as $bcc) { - if (!$this->smtp->Recipient($bcc[0])) { - $bad_rcpt[] = $bcc[0]; - // implement call back function if it exists - $isSent = 0; - $this->doCallback($isSent, '', '', $bcc[0], $this->Subject, $body); - } else { - // implement call back function if it exists - $isSent = 1; - $this->doCallback($isSent, '', '', $bcc[0], $this->Subject, $body); - } - } - - - if (count($bad_rcpt) > 0 ) { //Create error message for any bad addresses - $badaddresses = implode(', ', $bad_rcpt); - throw new phpmailerException($this->Lang('recipients_failed') . $badaddresses); - } - if(!$this->smtp->Data($header . $body)) { - throw new phpmailerException($this->Lang('data_not_accepted'), self::STOP_CRITICAL); - } - if($this->SMTPKeepAlive == true) { - $this->smtp->Reset(); - } else { - $this->smtp->Quit(); - $this->smtp->Close(); - } - return true; - } - - /** - * Initiates a connection to an SMTP server. - * Returns false if the operation failed. - * @uses SMTP - * @access public - * @throws phpmailerException - * @return bool - */ - public function SmtpConnect() { - if(is_null($this->smtp)) { - $this->smtp = new SMTP; - } - - $this->smtp->Timeout = $this->Timeout; - $this->smtp->do_debug = $this->SMTPDebug; - $hosts = explode(';', $this->Host); - $index = 0; - $connection = $this->smtp->Connected(); - - // Retry while there is no connection - try { - while($index < count($hosts) && !$connection) { - $hostinfo = array(); - if (preg_match('/^(.+):([0-9]+)$/', $hosts[$index], $hostinfo)) { - $host = $hostinfo[1]; - $port = $hostinfo[2]; - } else { - $host = $hosts[$index]; - $port = $this->Port; - } - - $tls = ($this->SMTPSecure == 'tls'); - $ssl = ($this->SMTPSecure == 'ssl'); - - if ($this->smtp->Connect(($ssl ? 'ssl://':'').$host, $port, $this->Timeout)) { - - $hello = ($this->Helo != '' ? $this->Helo : $this->ServerHostname()); - $this->smtp->Hello($hello); - - if ($tls) { - if (!$this->smtp->StartTLS()) { - throw new phpmailerException($this->Lang('connect_host')); - } - - //We must resend HELO after tls negotiation - $this->smtp->Hello($hello); - } - - $connection = true; - if ($this->SMTPAuth) { - if (!$this->smtp->Authenticate($this->Username, $this->Password, $this->AuthType, $this->Realm, $this->Workstation)) { - throw new phpmailerException($this->Lang('authenticate')); - } - } - } - $index++; - if (!$connection) { - throw new phpmailerException($this->Lang('connect_host')); - } - } - } catch (phpmailerException $e) { - $this->smtp->Reset(); - if ($this->exceptions) { - throw $e; - } - } - return true; - } - - /** - * Closes the active SMTP session if one exists. - * @return void - */ - public function SmtpClose() { - if ($this->smtp !== null) { - if($this->smtp->Connected()) { - $this->smtp->Quit(); - $this->smtp->Close(); - } - } - } - - /** - * Sets the language for all class error messages. - * Returns false if it cannot load the language file. The default language is English. - * @param string $langcode ISO 639-1 2-character language code (e.g. Portuguese: "br") - * @param string $lang_path Path to the language file directory - * @return bool - * @access public - */ - function SetLanguage($langcode = 'en', $lang_path = 'language/') { - //Define full set of translatable strings - $PHPMAILER_LANG = array( - 'authenticate' => 'SMTP Error: Could not authenticate.', - 'connect_host' => 'SMTP Error: Could not connect to SMTP host.', - 'data_not_accepted' => 'SMTP Error: Data not accepted.', - 'empty_message' => 'Message body empty', - 'encoding' => 'Unknown encoding: ', - 'execute' => 'Could not execute: ', - 'file_access' => 'Could not access file: ', - 'file_open' => 'File Error: Could not open file: ', - 'from_failed' => 'The following From address failed: ', - 'instantiate' => 'Could not instantiate mail function.', - 'invalid_address' => 'Invalid address', - 'mailer_not_supported' => ' mailer is not supported.', - 'provide_address' => 'You must provide at least one recipient email address.', - 'recipients_failed' => 'SMTP Error: The following recipients failed: ', - 'signing' => 'Signing Error: ', - 'smtp_connect_failed' => 'SMTP Connect() failed.', - 'smtp_error' => 'SMTP server error: ', - 'variable_set' => 'Cannot set or reset variable: ' - ); - //Overwrite language-specific strings. This way we'll never have missing translations - no more "language string failed to load"! - $l = true; - if ($langcode != 'en') { //There is no English translation file - $l = @include $lang_path.'phpmailer.lang-'.$langcode.'.php'; - } - $this->language = $PHPMAILER_LANG; - return ($l == true); //Returns false if language not found - } - - /** - * Return the current array of language strings - * @return array - */ - public function GetTranslations() { - return $this->language; - } - - ///////////////////////////////////////////////// - // METHODS, MESSAGE CREATION - ///////////////////////////////////////////////// - - /** - * Creates recipient headers. - * @access public - * @param string $type - * @param array $addr - * @return string - */ - public function AddrAppend($type, $addr) { - $addr_str = $type . ': '; - $addresses = array(); - foreach ($addr as $a) { - $addresses[] = $this->AddrFormat($a); - } - $addr_str .= implode(', ', $addresses); - $addr_str .= $this->LE; - - return $addr_str; - } - - /** - * Formats an address correctly. - * @access public - * @param string $addr - * @return string - */ - public function AddrFormat($addr) { - if (empty($addr[1])) { - return $this->SecureHeader($addr[0]); - } else { - return $this->EncodeHeader($this->SecureHeader($addr[1]), 'phrase') . " <" . $this->SecureHeader($addr[0]) . ">"; - } - } - - /** - * Wraps message for use with mailers that do not - * automatically perform wrapping and for quoted-printable. - * Original written by philippe. - * @param string $message The message to wrap - * @param integer $length The line length to wrap to - * @param boolean $qp_mode Whether to run in Quoted-Printable mode - * @access public - * @return string - */ - public function WrapText($message, $length, $qp_mode = false) { - $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE; - // If utf-8 encoding is used, we will need to make sure we don't - // split multibyte characters when we wrap - $is_utf8 = (strtolower($this->CharSet) == "utf-8"); - $lelen = strlen($this->LE); - $crlflen = strlen(self::CRLF); - - $message = $this->FixEOL($message); - if (substr($message, -$lelen) == $this->LE) { - $message = substr($message, 0, -$lelen); - } - - $line = explode($this->LE, $message); // Magic. We know FixEOL uses $LE - $message = ''; - for ($i = 0 ;$i < count($line); $i++) { - $line_part = explode(' ', $line[$i]); - $buf = ''; - for ($e = 0; $e $length)) { - $space_left = $length - strlen($buf) - $crlflen; - if ($e != 0) { - if ($space_left > 20) { - $len = $space_left; - if ($is_utf8) { - $len = $this->UTF8CharBoundary($word, $len); - } elseif (substr($word, $len - 1, 1) == "=") { - $len--; - } elseif (substr($word, $len - 2, 1) == "=") { - $len -= 2; - } - $part = substr($word, 0, $len); - $word = substr($word, $len); - $buf .= ' ' . $part; - $message .= $buf . sprintf("=%s", self::CRLF); - } else { - $message .= $buf . $soft_break; - } - $buf = ''; - } - while (strlen($word) > 0) { - if ($length <= 0) { - break; - } - $len = $length; - if ($is_utf8) { - $len = $this->UTF8CharBoundary($word, $len); - } elseif (substr($word, $len - 1, 1) == "=") { - $len--; - } elseif (substr($word, $len - 2, 1) == "=") { - $len -= 2; - } - $part = substr($word, 0, $len); - $word = substr($word, $len); - - if (strlen($word) > 0) { - $message .= $part . sprintf("=%s", self::CRLF); - } else { - $buf = $part; - } - } - } else { - $buf_o = $buf; - $buf .= ($e == 0) ? $word : (' ' . $word); - - if (strlen($buf) > $length and $buf_o != '') { - $message .= $buf_o . $soft_break; - $buf = $word; - } - } - } - $message .= $buf . self::CRLF; - } - - return $message; - } - - /** - * Finds last character boundary prior to maxLength in a utf-8 - * quoted (printable) encoded string. - * Original written by Colin Brown. - * @access public - * @param string $encodedText utf-8 QP text - * @param int $maxLength find last character boundary prior to this length - * @return int - */ - public function UTF8CharBoundary($encodedText, $maxLength) { - $foundSplitPos = false; - $lookBack = 3; - while (!$foundSplitPos) { - $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack); - $encodedCharPos = strpos($lastChunk, "="); - if ($encodedCharPos !== false) { - // Found start of encoded character byte within $lookBack block. - // Check the encoded byte value (the 2 chars after the '=') - $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2); - $dec = hexdec($hex); - if ($dec < 128) { // Single byte character. - // If the encoded char was found at pos 0, it will fit - // otherwise reduce maxLength to start of the encoded char - $maxLength = ($encodedCharPos == 0) ? $maxLength : - $maxLength - ($lookBack - $encodedCharPos); - $foundSplitPos = true; - } elseif ($dec >= 192) { // First byte of a multi byte character - // Reduce maxLength to split at start of character - $maxLength = $maxLength - ($lookBack - $encodedCharPos); - $foundSplitPos = true; - } elseif ($dec < 192) { // Middle byte of a multi byte character, look further back - $lookBack += 3; - } - } else { - // No encoded character found - $foundSplitPos = true; - } - } - return $maxLength; - } - - - /** - * Set the body wrapping. - * @access public - * @return void - */ - public function SetWordWrap() { - if($this->WordWrap < 1) { - return; - } - - switch($this->message_type) { - case 'alt': - case 'alt_inline': - case 'alt_attach': - case 'alt_inline_attach': - $this->AltBody = $this->WrapText($this->AltBody, $this->WordWrap); - break; - default: - $this->Body = $this->WrapText($this->Body, $this->WordWrap); - break; - } - } - - /** - * Assembles message header. - * @access public - * @return string The assembled header - */ - public function CreateHeader() { - $result = ''; - - // Set the boundaries - $uniq_id = md5(uniqid(time())); - $this->boundary[1] = 'b1_' . $uniq_id; - $this->boundary[2] = 'b2_' . $uniq_id; - $this->boundary[3] = 'b3_' . $uniq_id; - - if ($this->MessageDate == '') { - $result .= $this->HeaderLine('Date', self::RFCDate()); - } else { - $result .= $this->HeaderLine('Date', $this->MessageDate); - } - - if ($this->ReturnPath) { - $result .= $this->HeaderLine('Return-Path', '<'.trim($this->ReturnPath).'>'); - } elseif ($this->Sender == '') { - $result .= $this->HeaderLine('Return-Path', '<'.trim($this->From).'>'); - } else { - $result .= $this->HeaderLine('Return-Path', '<'.trim($this->Sender).'>'); - } - - // To be created automatically by mail() - if($this->Mailer != 'mail') { - if ($this->SingleTo === true) { - foreach($this->to as $t) { - $this->SingleToArray[] = $this->AddrFormat($t); - } - } else { - if(count($this->to) > 0) { - $result .= $this->AddrAppend('To', $this->to); - } elseif (count($this->cc) == 0) { - $result .= $this->HeaderLine('To', 'undisclosed-recipients:;'); - } - } - } - - $from = array(); - $from[0][0] = trim($this->From); - $from[0][1] = $this->FromName; - $result .= $this->AddrAppend('From', $from); - - // sendmail and mail() extract Cc from the header before sending - if(count($this->cc) > 0) { - $result .= $this->AddrAppend('Cc', $this->cc); - } - - // sendmail and mail() extract Bcc from the header before sending - if((($this->Mailer == 'sendmail') || ($this->Mailer == 'mail')) && (count($this->bcc) > 0)) { - $result .= $this->AddrAppend('Bcc', $this->bcc); - } - - if(count($this->ReplyTo) > 0) { - $result .= $this->AddrAppend('Reply-To', $this->ReplyTo); - } - - // mail() sets the subject itself - if($this->Mailer != 'mail') { - $result .= $this->HeaderLine('Subject', $this->EncodeHeader($this->SecureHeader($this->Subject))); - } - - if($this->MessageID != '') { - $result .= $this->HeaderLine('Message-ID', $this->MessageID); - } else { - $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE); - } - $result .= $this->HeaderLine('X-Priority', $this->Priority); - if ($this->XMailer == '') { - $result .= $this->HeaderLine('X-Mailer', 'PHPMailer '.$this->Version.' (https://github.com/PHPMailer/PHPMailer/)'); - } else { - $myXmailer = trim($this->XMailer); - if ($myXmailer) { - $result .= $this->HeaderLine('X-Mailer', $myXmailer); - } - } - - if($this->ConfirmReadingTo != '') { - $result .= $this->HeaderLine('Disposition-Notification-To', '<' . trim($this->ConfirmReadingTo) . '>'); - } - - // Add custom headers - for($index = 0; $index < count($this->CustomHeader); $index++) { - $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), $this->EncodeHeader(trim($this->CustomHeader[$index][1]))); - } - if (!$this->sign_key_file) { - $result .= $this->HeaderLine('MIME-Version', '1.0'); - $result .= $this->GetMailMIME(); - } - - return $result; - } - - /** - * Returns the message MIME. - * @access public - * @return string - */ - public function GetMailMIME() { - $result = ''; - switch($this->message_type) { - case 'inline': - $result .= $this->HeaderLine('Content-Type', 'multipart/related;'); - $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"'); - break; - case 'attach': - case 'inline_attach': - case 'alt_attach': - case 'alt_inline_attach': - $result .= $this->HeaderLine('Content-Type', 'multipart/mixed;'); - $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"'); - break; - case 'alt': - case 'alt_inline': - $result .= $this->HeaderLine('Content-Type', 'multipart/alternative;'); - $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"'); - break; - default: - // Catches case 'plain': and case '': - $result .= $this->HeaderLine('Content-Transfer-Encoding', $this->Encoding); - $result .= $this->TextLine('Content-Type: '.$this->ContentType.'; charset='.$this->CharSet); - break; - } - - if($this->Mailer != 'mail') { - $result .= $this->LE; - } - - return $result; - } - - /** - * Returns the MIME message (headers and body). Only really valid post PreSend(). - * @access public - * @return string - */ - public function GetSentMIMEMessage() { - return $this->MIMEHeader . $this->mailHeader . self::CRLF . $this->MIMEBody; - } - - - /** - * Assembles the message body. Returns an empty string on failure. - * @access public - * @throws phpmailerException - * @return string The assembled message body - */ - public function CreateBody() { - $body = ''; - - if ($this->sign_key_file) { - $body .= $this->GetMailMIME().$this->LE; - } - - $this->SetWordWrap(); - - switch($this->message_type) { - case 'inline': - $body .= $this->GetBoundary($this->boundary[1], '', '', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->AttachAll('inline', $this->boundary[1]); - break; - case 'attach': - $body .= $this->GetBoundary($this->boundary[1], '', '', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->AttachAll('attachment', $this->boundary[1]); - break; - case 'inline_attach': - $body .= $this->TextLine('--' . $this->boundary[1]); - $body .= $this->HeaderLine('Content-Type', 'multipart/related;'); - $body .= $this->TextLine("\tboundary=\"" . $this->boundary[2] . '"'); - $body .= $this->LE; - $body .= $this->GetBoundary($this->boundary[2], '', '', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->AttachAll('inline', $this->boundary[2]); - $body .= $this->LE; - $body .= $this->AttachAll('attachment', $this->boundary[1]); - break; - case 'alt': - $body .= $this->GetBoundary($this->boundary[1], '', 'text/plain', ''); - $body .= $this->EncodeString($this->AltBody, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->GetBoundary($this->boundary[1], '', 'text/html', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->EndBoundary($this->boundary[1]); - break; - case 'alt_inline': - $body .= $this->GetBoundary($this->boundary[1], '', 'text/plain', ''); - $body .= $this->EncodeString($this->AltBody, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->TextLine('--' . $this->boundary[1]); - $body .= $this->HeaderLine('Content-Type', 'multipart/related;'); - $body .= $this->TextLine("\tboundary=\"" . $this->boundary[2] . '"'); - $body .= $this->LE; - $body .= $this->GetBoundary($this->boundary[2], '', 'text/html', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->AttachAll('inline', $this->boundary[2]); - $body .= $this->LE; - $body .= $this->EndBoundary($this->boundary[1]); - break; - case 'alt_attach': - $body .= $this->TextLine('--' . $this->boundary[1]); - $body .= $this->HeaderLine('Content-Type', 'multipart/alternative;'); - $body .= $this->TextLine("\tboundary=\"" . $this->boundary[2] . '"'); - $body .= $this->LE; - $body .= $this->GetBoundary($this->boundary[2], '', 'text/plain', ''); - $body .= $this->EncodeString($this->AltBody, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->GetBoundary($this->boundary[2], '', 'text/html', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->EndBoundary($this->boundary[2]); - $body .= $this->LE; - $body .= $this->AttachAll('attachment', $this->boundary[1]); - break; - case 'alt_inline_attach': - $body .= $this->TextLine('--' . $this->boundary[1]); - $body .= $this->HeaderLine('Content-Type', 'multipart/alternative;'); - $body .= $this->TextLine("\tboundary=\"" . $this->boundary[2] . '"'); - $body .= $this->LE; - $body .= $this->GetBoundary($this->boundary[2], '', 'text/plain', ''); - $body .= $this->EncodeString($this->AltBody, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->TextLine('--' . $this->boundary[2]); - $body .= $this->HeaderLine('Content-Type', 'multipart/related;'); - $body .= $this->TextLine("\tboundary=\"" . $this->boundary[3] . '"'); - $body .= $this->LE; - $body .= $this->GetBoundary($this->boundary[3], '', 'text/html', ''); - $body .= $this->EncodeString($this->Body, $this->Encoding); - $body .= $this->LE.$this->LE; - $body .= $this->AttachAll('inline', $this->boundary[3]); - $body .= $this->LE; - $body .= $this->EndBoundary($this->boundary[2]); - $body .= $this->LE; - $body .= $this->AttachAll('attachment', $this->boundary[1]); - break; - default: - // catch case 'plain' and case '' - $body .= $this->EncodeString($this->Body, $this->Encoding); - break; - } - - if ($this->IsError()) { - $body = ''; - } elseif ($this->sign_key_file) { - try { - if (!defined('PKCS7_TEXT')) { - throw new phpmailerException($this->Lang('signing').' OpenSSL extension missing.'); - } - $file = tempnam(sys_get_temp_dir(), 'mail'); - file_put_contents($file, $body); //TODO check this worked - $signed = tempnam(sys_get_temp_dir(), 'signed'); - if (@openssl_pkcs7_sign($file, $signed, 'file://'.realpath($this->sign_cert_file), array('file://'.realpath($this->sign_key_file), $this->sign_key_pass), null)) { - @unlink($file); - $body = file_get_contents($signed); - @unlink($signed); - } else { - @unlink($file); - @unlink($signed); - throw new phpmailerException($this->Lang('signing').openssl_error_string()); - } - } catch (phpmailerException $e) { - $body = ''; - if ($this->exceptions) { - throw $e; - } - } - } - return $body; - } - - /** - * Returns the start of a message boundary. - * @access protected - * @param string $boundary - * @param string $charSet - * @param string $contentType - * @param string $encoding - * @return string - */ - protected function GetBoundary($boundary, $charSet, $contentType, $encoding) { - $result = ''; - if($charSet == '') { - $charSet = $this->CharSet; - } - if($contentType == '') { - $contentType = $this->ContentType; - } - if($encoding == '') { - $encoding = $this->Encoding; - } - $result .= $this->TextLine('--' . $boundary); - $result .= sprintf("Content-Type: %s; charset=%s", $contentType, $charSet); - $result .= $this->LE; - $result .= $this->HeaderLine('Content-Transfer-Encoding', $encoding); - $result .= $this->LE; - - return $result; - } - - /** - * Returns the end of a message boundary. - * @access protected - * @param string $boundary - * @return string - */ - protected function EndBoundary($boundary) { - return $this->LE . '--' . $boundary . '--' . $this->LE; - } - - /** - * Sets the message type. - * @access protected - * @return void - */ - protected function SetMessageType() { - $this->message_type = array(); - if($this->AlternativeExists()) $this->message_type[] = "alt"; - if($this->InlineImageExists()) $this->message_type[] = "inline"; - if($this->AttachmentExists()) $this->message_type[] = "attach"; - $this->message_type = implode("_", $this->message_type); - if($this->message_type == "") $this->message_type = "plain"; - } - - /** - * Returns a formatted header line. - * @access public - * @param string $name - * @param string $value - * @return string - */ - public function HeaderLine($name, $value) { - return $name . ': ' . $value . $this->LE; - } - - /** - * Returns a formatted mail line. - * @access public - * @param string $value - * @return string - */ - public function TextLine($value) { - return $value . $this->LE; - } - - ///////////////////////////////////////////////// - // CLASS METHODS, ATTACHMENTS - ///////////////////////////////////////////////// - - /** - * Adds an attachment from a path on the filesystem. - * Returns false if the file could not be found - * or accessed. - * @param string $path Path to the attachment. - * @param string $name Overrides the attachment name. - * @param string $encoding File encoding (see $Encoding). - * @param string $type File extension (MIME) type. - * @throws phpmailerException - * @return bool - */ - public function AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream') { - try { - if ( !@is_file($path) ) { - throw new phpmailerException($this->Lang('file_access') . $path, self::STOP_CONTINUE); - } - $filename = basename($path); - if ( $name == '' ) { - $name = $filename; - } - - $this->attachment[] = array( - 0 => $path, - 1 => $filename, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => false, // isStringAttachment - 6 => 'attachment', - 7 => 0 - ); - - } catch (phpmailerException $e) { - $this->SetError($e->getMessage()); - if ($this->exceptions) { - throw $e; - } - if ($this->SMTPDebug) { - $this->edebug($e->getMessage()."\n"); - } - if ( $e->getCode() == self::STOP_CRITICAL ) { - return false; - } - } - return true; - } - - /** - * Return the current array of attachments - * @return array - */ - public function GetAttachments() { - return $this->attachment; - } - - /** - * Attaches all fs, string, and binary attachments to the message. - * Returns an empty string on failure. - * @access protected - * @param string $disposition_type - * @param string $boundary - * @return string - */ - protected function AttachAll($disposition_type, $boundary) { - // Return text of body - $mime = array(); - $cidUniq = array(); - $incl = array(); - - // Add all attachments - foreach ($this->attachment as $attachment) { - // CHECK IF IT IS A VALID DISPOSITION_FILTER - if($attachment[6] == $disposition_type) { - // Check for string attachment - $string = ''; - $path = ''; - $bString = $attachment[5]; - if ($bString) { - $string = $attachment[0]; - } else { - $path = $attachment[0]; - } - - $inclhash = md5(serialize($attachment)); - if (in_array($inclhash, $incl)) { continue; } - $incl[] = $inclhash; - $filename = $attachment[1]; - $name = $attachment[2]; - $encoding = $attachment[3]; - $type = $attachment[4]; - $disposition = $attachment[6]; - $cid = $attachment[7]; - if ( $disposition == 'inline' && isset($cidUniq[$cid]) ) { continue; } - $cidUniq[$cid] = true; - - $mime[] = sprintf("--%s%s", $boundary, $this->LE); - $mime[] = sprintf("Content-Type: %s; name=\"%s\"%s", $type, $this->EncodeHeader($this->SecureHeader($name)), $this->LE); - $mime[] = sprintf("Content-Transfer-Encoding: %s%s", $encoding, $this->LE); - - if($disposition == 'inline') { - $mime[] = sprintf("Content-ID: <%s>%s", $cid, $this->LE); - } - - $mime[] = sprintf("Content-Disposition: %s; filename=\"%s\"%s", $disposition, $this->EncodeHeader($this->SecureHeader($name)), $this->LE.$this->LE); - - // Encode as string attachment - if($bString) { - $mime[] = $this->EncodeString($string, $encoding); - if($this->IsError()) { - return ''; - } - $mime[] = $this->LE.$this->LE; - } else { - $mime[] = $this->EncodeFile($path, $encoding); - if($this->IsError()) { - return ''; - } - $mime[] = $this->LE.$this->LE; - } - } - } - - $mime[] = sprintf("--%s--%s", $boundary, $this->LE); - - return implode("", $mime); - } - - /** - * Encodes attachment in requested format. - * Returns an empty string on failure. - * @param string $path The full path to the file - * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' - * @throws phpmailerException - * @see EncodeFile() - * @access protected - * @return string - */ - protected function EncodeFile($path, $encoding = 'base64') { - try { - if (!is_readable($path)) { - throw new phpmailerException($this->Lang('file_open') . $path, self::STOP_CONTINUE); - } - $magic_quotes = get_magic_quotes_runtime(); - if ($magic_quotes) { - if (version_compare(PHP_VERSION, '5.3.0', '<')) { - set_magic_quotes_runtime(0); - } else { - ini_set('magic_quotes_runtime', 0); - } - } - $file_buffer = file_get_contents($path); - $file_buffer = $this->EncodeString($file_buffer, $encoding); - if ($magic_quotes) { - if (version_compare(PHP_VERSION, '5.3.0', '<')) { - set_magic_quotes_runtime($magic_quotes); - } else { - ini_set('magic_quotes_runtime', $magic_quotes); - } - } - return $file_buffer; - } catch (Exception $e) { - $this->SetError($e->getMessage()); - return ''; - } - } - - /** - * Encodes string to requested format. - * Returns an empty string on failure. - * @param string $str The text to encode - * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' - * @access public - * @return string - */ - public function EncodeString($str, $encoding = 'base64') { - $encoded = ''; - switch(strtolower($encoding)) { - case 'base64': - $encoded = chunk_split(base64_encode($str), 76, $this->LE); - break; - case '7bit': - case '8bit': - $encoded = $this->FixEOL($str); - //Make sure it ends with a line break - if (substr($encoded, -(strlen($this->LE))) != $this->LE) - $encoded .= $this->LE; - break; - case 'binary': - $encoded = $str; - break; - case 'quoted-printable': - $encoded = $this->EncodeQP($str); - break; - default: - $this->SetError($this->Lang('encoding') . $encoding); - break; - } - return $encoded; - } - - /** - * Encode a header string to best (shortest) of Q, B, quoted or none. - * @access public - * @param string $str - * @param string $position - * @return string - */ - public function EncodeHeader($str, $position = 'text') { - $x = 0; - - switch (strtolower($position)) { - case 'phrase': - if (!preg_match('/[\200-\377]/', $str)) { - // Can't use addslashes as we don't know what value has magic_quotes_sybase - $encoded = addcslashes($str, "\0..\37\177\\\""); - if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) { - return ($encoded); - } else { - return ("\"$encoded\""); - } - } - $x = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches); - break; - case 'comment': - $x = preg_match_all('/[()"]/', $str, $matches); - // Fall-through - case 'text': - default: - $x += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches); - break; - } - - if ($x == 0) { //There are no chars that need encoding - return ($str); - } - - $maxlen = 75 - 7 - strlen($this->CharSet); - // Try to select the encoding which should produce the shortest output - if ($x > strlen($str)/3) { //More than a third of the content will need encoding, so B encoding will be most efficient - $encoding = 'B'; - if (function_exists('mb_strlen') && $this->HasMultiBytes($str)) { - // Use a custom function which correctly encodes and wraps long - // multibyte strings without breaking lines within a character - $encoded = $this->Base64EncodeWrapMB($str, "\n"); - } else { - $encoded = base64_encode($str); - $maxlen -= $maxlen % 4; - $encoded = trim(chunk_split($encoded, $maxlen, "\n")); - } - } else { - $encoding = 'Q'; - $encoded = $this->EncodeQ($str, $position); - $encoded = $this->WrapText($encoded, $maxlen, true); - $encoded = str_replace('='.self::CRLF, "\n", trim($encoded)); - } - - $encoded = preg_replace('/^(.*)$/m', " =?".$this->CharSet."?$encoding?\\1?=", $encoded); - $encoded = trim(str_replace("\n", $this->LE, $encoded)); - - return $encoded; - } - - /** - * Checks if a string contains multibyte characters. - * @access public - * @param string $str multi-byte text to wrap encode - * @return bool - */ - public function HasMultiBytes($str) { - if (function_exists('mb_strlen')) { - return (strlen($str) > mb_strlen($str, $this->CharSet)); - } else { // Assume no multibytes (we can't handle without mbstring functions anyway) - return false; - } - } - - /** - * Correctly encodes and wraps long multibyte strings for mail headers - * without breaking lines within a character. - * Adapted from a function by paravoid at http://uk.php.net/manual/en/function.mb-encode-mimeheader.php - * @access public - * @param string $str multi-byte text to wrap encode - * @param string $lf string to use as linefeed/end-of-line - * @return string - */ - public function Base64EncodeWrapMB($str, $lf=null) { - $start = "=?".$this->CharSet."?B?"; - $end = "?="; - $encoded = ""; - if ($lf === null) { - $lf = $this->LE; - } - - $mb_length = mb_strlen($str, $this->CharSet); - // Each line must have length <= 75, including $start and $end - $length = 75 - strlen($start) - strlen($end); - // Average multi-byte ratio - $ratio = $mb_length / strlen($str); - // Base64 has a 4:3 ratio - $offset = $avgLength = floor($length * $ratio * .75); - - for ($i = 0; $i < $mb_length; $i += $offset) { - $lookBack = 0; - - do { - $offset = $avgLength - $lookBack; - $chunk = mb_substr($str, $i, $offset, $this->CharSet); - $chunk = base64_encode($chunk); - $lookBack++; - } - while (strlen($chunk) > $length); - - $encoded .= $chunk . $lf; - } - - // Chomp the last linefeed - $encoded = substr($encoded, 0, -strlen($lf)); - return $encoded; - } - - /** - * Encode string to RFC2045 (6.7) quoted-printable format - * @access public - * @param string $string The text to encode - * @param integer $line_max Number of chars allowed on a line before wrapping - * @return string - * @link PHP version adapted from http://www.php.net/manual/en/function.quoted-printable-decode.php#89417 - */ - public function EncodeQP($string, $line_max = 76) { - if (function_exists('quoted_printable_encode')) { //Use native function if it's available (>= PHP5.3) - return quoted_printable_encode($string); - } - //Fall back to a pure PHP implementation - $string = str_replace(array('%20', '%0D%0A.', '%0D%0A', '%'), array(' ', "\r\n=2E", "\r\n", '='), rawurlencode($string)); - $string = preg_replace('/[^\r\n]{'.($line_max - 3).'}[^=\r\n]{2}/', "$0=\r\n", $string); - return $string; - } - - /** - * Wrapper to preserve BC for old QP encoding function that was removed - * @see EncodeQP() - * @access public - * @param string $string - * @param integer $line_max - * @param bool $space_conv - * @return string - */ - public function EncodeQPphp($string, $line_max = 76, $space_conv = false) { - return $this->EncodeQP($string, $line_max); - } - - /** - * Encode string to q encoding. - * @link http://tools.ietf.org/html/rfc2047 - * @param string $str the text to encode - * @param string $position Where the text is going to be used, see the RFC for what that means - * @access public - * @return string - */ - public function EncodeQ($str, $position = 'text') { - //There should not be any EOL in the string - $pattern=""; - $encoded = str_replace(array("\r", "\n"), '', $str); - switch (strtolower($position)) { - case 'phrase': - $pattern = '^A-Za-z0-9!*+\/ -'; - break; - - case 'comment': - $pattern = '\(\)"'; - //note that we don't break here! - //for this reason we build the $pattern without including delimiters and [] - - case 'text': - default: - //Replace every high ascii, control =, ? and _ characters - //We put \075 (=) as first value to make sure it's the first one in being converted, preventing double encode - $pattern = '\075\000-\011\013\014\016-\037\077\137\177-\377' . $pattern; - break; - } - - if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) { - foreach (array_unique($matches[0]) as $char) { - $encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded); - } - } - - //Replace every spaces to _ (more readable than =20) - return str_replace(' ', '_', $encoded); -} - - - /** - * Adds a string or binary attachment (non-filesystem) to the list. - * This method can be used to attach ascii or binary data, - * such as a BLOB record from a database. - * @param string $string String attachment data. - * @param string $filename Name of the attachment. - * @param string $encoding File encoding (see $Encoding). - * @param string $type File extension (MIME) type. - * @return void - */ - public function AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') { - // Append to $attachment array - $this->attachment[] = array( - 0 => $string, - 1 => $filename, - 2 => basename($filename), - 3 => $encoding, - 4 => $type, - 5 => true, // isStringAttachment - 6 => 'attachment', - 7 => 0 - ); - } - - /** - * Add an embedded attachment from a file. - * This can include images, sounds, and just about any other document type. - * Be sure to set the $type to an image type for images: - * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'. - * @param string $path Path to the attachment. - * @param string $cid Content ID of the attachment; Use this to reference - * the content when using an embedded image in HTML. - * @param string $name Overrides the attachment name. - * @param string $encoding File encoding (see $Encoding). - * @param string $type File MIME type. - * @return bool True on successfully adding an attachment - */ - public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') { - - if ( !@is_file($path) ) { - $this->SetError($this->Lang('file_access') . $path); - return false; - } - - $filename = basename($path); - if ( $name == '' ) { - $name = $filename; - } - - // Append to $attachment array - $this->attachment[] = array( - 0 => $path, - 1 => $filename, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => false, // isStringAttachment - 6 => 'inline', - 7 => $cid - ); - return true; - } - - - /** - * Add an embedded stringified attachment. - * This can include images, sounds, and just about any other document type. - * Be sure to set the $type to an image type for images: - * JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'. - * @param string $string The attachment binary data. - * @param string $cid Content ID of the attachment; Use this to reference - * the content when using an embedded image in HTML. - * @param string $name - * @param string $encoding File encoding (see $Encoding). - * @param string $type MIME type. - * @return bool True on successfully adding an attachment - */ - public function AddStringEmbeddedImage($string, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') { - // Append to $attachment array - $this->attachment[] = array( - 0 => $string, - 1 => $name, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => true, // isStringAttachment - 6 => 'inline', - 7 => $cid - ); - return true; - } - - /** - * Returns true if an inline attachment is present. - * @access public - * @return bool - */ - public function InlineImageExists() { - foreach($this->attachment as $attachment) { - if ($attachment[6] == 'inline') { - return true; - } - } - return false; - } - - /** - * Returns true if an attachment (non-inline) is present. - * @return bool - */ - public function AttachmentExists() { - foreach($this->attachment as $attachment) { - if ($attachment[6] == 'attachment') { - return true; - } - } - return false; - } - - /** - * Does this message have an alternative body set? - * @return bool - */ - public function AlternativeExists() { - return !empty($this->AltBody); - } - - ///////////////////////////////////////////////// - // CLASS METHODS, MESSAGE RESET - ///////////////////////////////////////////////// - - /** - * Clears all recipients assigned in the TO array. Returns void. - * @return void - */ - public function ClearAddresses() { - foreach($this->to as $to) { - unset($this->all_recipients[strtolower($to[0])]); - } - $this->to = array(); - } - - /** - * Clears all recipients assigned in the CC array. Returns void. - * @return void - */ - public function ClearCCs() { - foreach($this->cc as $cc) { - unset($this->all_recipients[strtolower($cc[0])]); - } - $this->cc = array(); - } - - /** - * Clears all recipients assigned in the BCC array. Returns void. - * @return void - */ - public function ClearBCCs() { - foreach($this->bcc as $bcc) { - unset($this->all_recipients[strtolower($bcc[0])]); - } - $this->bcc = array(); - } - - /** - * Clears all recipients assigned in the ReplyTo array. Returns void. - * @return void - */ - public function ClearReplyTos() { - $this->ReplyTo = array(); - } - - /** - * Clears all recipients assigned in the TO, CC and BCC - * array. Returns void. - * @return void - */ - public function ClearAllRecipients() { - $this->to = array(); - $this->cc = array(); - $this->bcc = array(); - $this->all_recipients = array(); - } - - /** - * Clears all previously set filesystem, string, and binary - * attachments. Returns void. - * @return void - */ - public function ClearAttachments() { - $this->attachment = array(); - } - - /** - * Clears all custom headers. Returns void. - * @return void - */ - public function ClearCustomHeaders() { - $this->CustomHeader = array(); - } - - ///////////////////////////////////////////////// - // CLASS METHODS, MISCELLANEOUS - ///////////////////////////////////////////////// - - /** - * Adds the error message to the error container. - * @access protected - * @param string $msg - * @return void - */ - protected function SetError($msg) { - $this->error_count++; - if ($this->Mailer == 'smtp' and !is_null($this->smtp)) { - $lasterror = $this->smtp->getError(); - if (!empty($lasterror) and array_key_exists('smtp_msg', $lasterror)) { - $msg .= '

    ' . $this->Lang('smtp_error') . $lasterror['smtp_msg'] . "

    \n"; - } - } - $this->ErrorInfo = $msg; - } - - /** - * Returns the proper RFC 822 formatted date. - * @access public - * @return string - * @static - */ - public static function RFCDate() { - //Set the time zone to whatever the default is to avoid 500 errors - //Will default to UTC if it's not set properly in php.ini - date_default_timezone_set(@date_default_timezone_get()); - return date('D, j M Y H:i:s O'); - } - - /** - * Returns the server hostname or 'localhost.localdomain' if unknown. - * @access protected - * @return string - */ - protected function ServerHostname() { - if (!empty($this->Hostname)) { - $result = $this->Hostname; - } elseif (isset($_SERVER['SERVER_NAME'])) { - $result = $_SERVER['SERVER_NAME']; - } else { - $result = 'localhost.localdomain'; - } - - return $result; - } - - /** - * Returns a message in the appropriate language. - * @access protected - * @param string $key - * @return string - */ - protected function Lang($key) { - if(count($this->language) < 1) { - $this->SetLanguage('en'); // set the default language - } - - if(isset($this->language[$key])) { - return $this->language[$key]; - } else { - return 'Language string failed to load: ' . $key; - } - } - - /** - * Returns true if an error occurred. - * @access public - * @return bool - */ - public function IsError() { - return ($this->error_count > 0); - } - - /** - * Changes every end of line from CRLF, CR or LF to $this->LE. - * @access public - * @param string $str String to FixEOL - * @return string - */ - public function FixEOL($str) { - // condense down to \n - $nstr = str_replace(array("\r\n", "\r"), "\n", $str); - // Now convert LE as needed - if ($this->LE !== "\n") { - $nstr = str_replace("\n", $this->LE, $nstr); - } - return $nstr; - } - - /** - * Adds a custom header. $name value can be overloaded to contain - * both header name and value (name:value) - * @access public - * @param string $name custom header name - * @param string $value header value - * @return void - */ - public function AddCustomHeader($name, $value=null) { - if ($value === null) { - // Value passed in as name:value - $this->CustomHeader[] = explode(':', $name, 2); - } else { - $this->CustomHeader[] = array($name, $value); - } - } - - /** - * Creates a message from an HTML string, making modifications for inline images and backgrounds - * and creates a plain-text version by converting the HTML - * Overwrites any existing values in $this->Body and $this->AltBody - * @access public - * @param string $message HTML message string - * @param string $basedir baseline directory for path - * @param bool $advanced Whether to use the advanced HTML to text converter - * @return string $message - */ - public function MsgHTML($message, $basedir = '', $advanced = false) { - preg_match_all("/(src|background)=[\"'](.*)[\"']/Ui", $message, $images); - if(isset($images[2])) { - foreach($images[2] as $i => $url) { - // do not change urls for absolute images (thanks to corvuscorax) - if (!preg_match('#^[A-z]+://#', $url)) { - $filename = basename($url); - $directory = dirname($url); - if ($directory == '.') { - $directory = ''; - } - $cid = 'cid:' . md5($url); - $ext = pathinfo($filename, PATHINFO_EXTENSION); - $mimeType = self::_mime_types($ext); - if ( strlen($basedir) > 1 && substr($basedir, -1) != '/') { $basedir .= '/'; } - if ( strlen($directory) > 1 && substr($directory, -1) != '/') { $directory .= '/'; } - if ( $this->AddEmbeddedImage($basedir.$directory.$filename, md5($url), $filename, 'base64', $mimeType) ) { - $message = preg_replace("/".$images[1][$i]."=[\"']".preg_quote($url, '/')."[\"']/Ui", $images[1][$i]."=\"".$cid."\"", $message); - } - } - } - } - $this->IsHTML(true); - $this->Body = $message; - $this->AltBody = $this->html2text($message, $advanced); - if (empty($this->AltBody)) { - $this->AltBody = 'To view this email message, open it in a program that understands HTML!' . "\n\n"; - } - return $message; - } - - /** - * Convert an HTML string into a plain text version - * @param string $html The HTML text to convert - * @param bool $advanced Should this use the more complex html2text converter or just a simple one? - * @return string - */ - public function html2text($html, $advanced = false) { - if ($advanced) { - require_once 'extras/class.html2text.php'; - $h = new html2text($html); - return $h->get_text(); - } - return html_entity_decode(trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/s', '', $html))), ENT_QUOTES, $this->CharSet); - } - - /** - * Gets the MIME type of the embedded or inline image - * @param string $ext File extension - * @access public - * @return string MIME type of ext - * @static - */ - public static function _mime_types($ext = '') { - $mimes = array( - 'xl' => 'application/excel', - 'hqx' => 'application/mac-binhex40', - 'cpt' => 'application/mac-compactpro', - 'bin' => 'application/macbinary', - 'doc' => 'application/msword', - 'word' => 'application/msword', - 'class' => 'application/octet-stream', - 'dll' => 'application/octet-stream', - 'dms' => 'application/octet-stream', - 'exe' => 'application/octet-stream', - 'lha' => 'application/octet-stream', - 'lzh' => 'application/octet-stream', - 'psd' => 'application/octet-stream', - 'sea' => 'application/octet-stream', - 'so' => 'application/octet-stream', - 'oda' => 'application/oda', - 'pdf' => 'application/pdf', - 'ai' => 'application/postscript', - 'eps' => 'application/postscript', - 'ps' => 'application/postscript', - 'smi' => 'application/smil', - 'smil' => 'application/smil', - 'mif' => 'application/vnd.mif', - 'xls' => 'application/vnd.ms-excel', - 'ppt' => 'application/vnd.ms-powerpoint', - 'wbxml' => 'application/vnd.wap.wbxml', - 'wmlc' => 'application/vnd.wap.wmlc', - 'dcr' => 'application/x-director', - 'dir' => 'application/x-director', - 'dxr' => 'application/x-director', - 'dvi' => 'application/x-dvi', - 'gtar' => 'application/x-gtar', - 'php3' => 'application/x-httpd-php', - 'php4' => 'application/x-httpd-php', - 'php' => 'application/x-httpd-php', - 'phtml' => 'application/x-httpd-php', - 'phps' => 'application/x-httpd-php-source', - 'js' => 'application/x-javascript', - 'swf' => 'application/x-shockwave-flash', - 'sit' => 'application/x-stuffit', - 'tar' => 'application/x-tar', - 'tgz' => 'application/x-tar', - 'xht' => 'application/xhtml+xml', - 'xhtml' => 'application/xhtml+xml', - 'zip' => 'application/zip', - 'mid' => 'audio/midi', - 'midi' => 'audio/midi', - 'mp2' => 'audio/mpeg', - 'mp3' => 'audio/mpeg', - 'mpga' => 'audio/mpeg', - 'aif' => 'audio/x-aiff', - 'aifc' => 'audio/x-aiff', - 'aiff' => 'audio/x-aiff', - 'ram' => 'audio/x-pn-realaudio', - 'rm' => 'audio/x-pn-realaudio', - 'rpm' => 'audio/x-pn-realaudio-plugin', - 'ra' => 'audio/x-realaudio', - 'wav' => 'audio/x-wav', - 'bmp' => 'image/bmp', - 'gif' => 'image/gif', - 'jpeg' => 'image/jpeg', - 'jpe' => 'image/jpeg', - 'jpg' => 'image/jpeg', - 'png' => 'image/png', - 'tiff' => 'image/tiff', - 'tif' => 'image/tiff', - 'eml' => 'message/rfc822', - 'css' => 'text/css', - 'html' => 'text/html', - 'htm' => 'text/html', - 'shtml' => 'text/html', - 'log' => 'text/plain', - 'text' => 'text/plain', - 'txt' => 'text/plain', - 'rtx' => 'text/richtext', - 'rtf' => 'text/rtf', - 'xml' => 'text/xml', - 'xsl' => 'text/xml', - 'mpeg' => 'video/mpeg', - 'mpe' => 'video/mpeg', - 'mpg' => 'video/mpeg', - 'mov' => 'video/quicktime', - 'qt' => 'video/quicktime', - 'rv' => 'video/vnd.rn-realvideo', - 'avi' => 'video/x-msvideo', - 'movie' => 'video/x-sgi-movie' - ); - return (!isset($mimes[strtolower($ext)])) ? 'application/octet-stream' : $mimes[strtolower($ext)]; - } - - /** - * Set (or reset) Class Objects (variables) - * - * Usage Example: - * $page->set('X-Priority', '3'); - * - * @access public - * @param string $name - * @param mixed $value - * NOTE: will not work with arrays, there are no arrays to set/reset - * @throws phpmailerException - * @return bool - * @todo Should this not be using __set() magic function? - */ - public function set($name, $value = '') { - try { - if (isset($this->$name) ) { - $this->$name = $value; - } else { - throw new phpmailerException($this->Lang('variable_set') . $name, self::STOP_CRITICAL); - } - } catch (Exception $e) { - $this->SetError($e->getMessage()); - if ($e->getCode() == self::STOP_CRITICAL) { - return false; - } - } - return true; - } - - /** - * Strips newlines to prevent header injection. - * @access public - * @param string $str - * @return string - */ - public function SecureHeader($str) { - return trim(str_replace(array("\r", "\n"), '', $str)); - } - - /** - * Set the private key file and password to sign the message. - * - * @access public - * @param string $cert_filename - * @param string $key_filename - * @param string $key_pass Password for private key - */ - public function Sign($cert_filename, $key_filename, $key_pass) { - $this->sign_cert_file = $cert_filename; - $this->sign_key_file = $key_filename; - $this->sign_key_pass = $key_pass; - } - - /** - * Set the private key file and password to sign the message. - * - * @access public - * @param string $txt - * @return string - */ - public function DKIM_QP($txt) { - $line = ''; - for ($i = 0; $i < strlen($txt); $i++) { - $ord = ord($txt[$i]); - if ( ((0x21 <= $ord) && ($ord <= 0x3A)) || $ord == 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E)) ) { - $line .= $txt[$i]; - } else { - $line .= "=".sprintf("%02X", $ord); - } - } - return $line; - } - - /** - * Generate DKIM signature - * - * @access public - * @param string $s Header - * @throws phpmailerException - * @return string - */ - public function DKIM_Sign($s) { - if (!defined('PKCS7_TEXT')) { - if ($this->exceptions) { - throw new phpmailerException($this->Lang("signing").' OpenSSL extension missing.'); - } - return ''; - } - $privKeyStr = file_get_contents($this->DKIM_private); - if ($this->DKIM_passphrase != '') { - $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase); - } else { - $privKey = $privKeyStr; - } - if (openssl_sign($s, $signature, $privKey)) { - return base64_encode($signature); - } - return ''; - } - - /** - * Generate DKIM Canonicalization Header - * - * @access public - * @param string $s Header - * @return string - */ - public function DKIM_HeaderC($s) { - $s = preg_replace("/\r\n\s+/", " ", $s); - $lines = explode("\r\n", $s); - foreach ($lines as $key => $line) { - list($heading, $value) = explode(":", $line, 2); - $heading = strtolower($heading); - $value = preg_replace("/\s+/", " ", $value) ; // Compress useless spaces - $lines[$key] = $heading.":".trim($value) ; // Don't forget to remove WSP around the value - } - $s = implode("\r\n", $lines); - return $s; - } - - /** - * Generate DKIM Canonicalization Body - * - * @access public - * @param string $body Message Body - * @return string - */ - public function DKIM_BodyC($body) { - if ($body == '') return "\r\n"; - // stabilize line endings - $body = str_replace("\r\n", "\n", $body); - $body = str_replace("\n", "\r\n", $body); - // END stabilize line endings - while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") { - $body = substr($body, 0, strlen($body) - 2); - } - return $body; - } - - /** - * Create the DKIM header, body, as new header - * - * @access public - * @param string $headers_line Header lines - * @param string $subject Subject - * @param string $body Body - * @return string - */ - public function DKIM_Add($headers_line, $subject, $body) { - $DKIMsignatureType = 'rsa-sha1'; // Signature & hash algorithms - $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body - $DKIMquery = 'dns/txt'; // Query method - $DKIMtime = time() ; // Signature Timestamp = seconds since 00:00:00 - Jan 1, 1970 (UTC time zone) - $subject_header = "Subject: $subject"; - $headers = explode($this->LE, $headers_line); - $from_header = ''; - $to_header = ''; - $current = ''; - foreach($headers as $header) { - if (strpos($header, 'From:') === 0) { - $from_header = $header; - $current = 'from_header'; - } elseif (strpos($header, 'To:') === 0) { - $to_header = $header; - $current = 'to_header'; - } else { - if($current && strpos($header, ' =?') === 0){ - $$current .= $header; - } else { - $current = ''; - } - } - } - $from = str_replace('|', '=7C', $this->DKIM_QP($from_header)); - $to = str_replace('|', '=7C', $this->DKIM_QP($to_header)); - $subject = str_replace('|', '=7C', $this->DKIM_QP($subject_header)) ; // Copied header fields (dkim-quoted-printable - $body = $this->DKIM_BodyC($body); - $DKIMlen = strlen($body) ; // Length of body - $DKIMb64 = base64_encode(pack("H*", sha1($body))) ; // Base64 of packed binary SHA-1 hash of body - $ident = ($this->DKIM_identity == '')? '' : " i=" . $this->DKIM_identity . ";"; - $dkimhdrs = "DKIM-Signature: v=1; a=" . $DKIMsignatureType . "; q=" . $DKIMquery . "; l=" . $DKIMlen . "; s=" . $this->DKIM_selector . ";\r\n". - "\tt=" . $DKIMtime . "; c=" . $DKIMcanonicalization . ";\r\n". - "\th=From:To:Subject;\r\n". - "\td=" . $this->DKIM_domain . ";" . $ident . "\r\n". - "\tz=$from\r\n". - "\t|$to\r\n". - "\t|$subject;\r\n". - "\tbh=" . $DKIMb64 . ";\r\n". - "\tb="; - $toSign = $this->DKIM_HeaderC($from_header . "\r\n" . $to_header . "\r\n" . $subject_header . "\r\n" . $dkimhdrs); - $signed = $this->DKIM_Sign($toSign); - return $dkimhdrs.$signed."\r\n"; - } - - /** - * Perform callback - * @param boolean $isSent - * @param string $to - * @param string $cc - * @param string $bcc - * @param string $subject - * @param string $body - * @param string $from - */ - protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from = null) { - if (!empty($this->action_function) && is_callable($this->action_function)) { - $params = array($isSent, $to, $cc, $bcc, $subject, $body, $from); - call_user_func_array($this->action_function, $params); - } - } -} - -/** - * Exception handler for PHPMailer - * @package PHPMailer - */ -class phpmailerException extends Exception { - /** - * Prettify error message output - * @return string - */ - public function errorMessage() { - $errorMsg = '' . $this->getMessage() . "
    \n"; - return $errorMsg; - } -} diff --git a/sources/resources/PHPMailer/class.pop3.php b/sources/resources/PHPMailer/class.pop3.php deleted file mode 100644 index 17bb675..0000000 --- a/sources/resources/PHPMailer/class.pop3.php +++ /dev/null @@ -1,418 +0,0 @@ - - * @author Andy Prevost - * @author Jim Jagielski - */ - -class POP3 { - /** - * Default POP3 port - * @var int - */ - public $POP3_PORT = 110; - - /** - * Default Timeout - * @var int - */ - public $POP3_TIMEOUT = 30; - - /** - * POP3 Carriage Return + Line Feed - * @var string - */ - public $CRLF = "\r\n"; - - /** - * Displaying Debug warnings? (0 = now, 1+ = yes) - * @var int - */ - public $do_debug = 2; - - /** - * POP3 Mail Server - * @var string - */ - public $host; - - /** - * POP3 Port - * @var int - */ - public $port; - - /** - * POP3 Timeout Value - * @var int - */ - public $tval; - - /** - * POP3 Username - * @var string - */ - public $username; - - /** - * POP3 Password - * @var string - */ - public $password; - - /** - * Sets the POP3 PHPMailer Version number - * @var string - */ - public $Version = '5.2.6'; - - ///////////////////////////////////////////////// - // PROPERTIES, PRIVATE AND PROTECTED - ///////////////////////////////////////////////// - - /** - * @var resource Resource handle for the POP connection socket - */ - private $pop_conn; - /** - * @var boolean Are we connected? - */ - private $connected; - /** - * @var array Error container - */ - private $error; // Error log array - - /** - * Constructor, sets the initial values - * @access public - * @return POP3 - */ - public function __construct() { - $this->pop_conn = 0; - $this->connected = false; - $this->error = null; - } - - /** - * Combination of public events - connect, login, disconnect - * @access public - * @param string $host - * @param bool|int $port - * @param bool|int $tval - * @param string $username - * @param string $password - * @param int $debug_level - * @return bool - */ - public function Authorise ($host, $port = false, $tval = false, $username, $password, $debug_level = 0) { - $this->host = $host; - - // If no port value is passed, retrieve it - if ($port == false) { - $this->port = $this->POP3_PORT; - } else { - $this->port = $port; - } - - // If no port value is passed, retrieve it - if ($tval == false) { - $this->tval = $this->POP3_TIMEOUT; - } else { - $this->tval = $tval; - } - - $this->do_debug = $debug_level; - $this->username = $username; - $this->password = $password; - - // Refresh the error log - $this->error = null; - - // Connect - $result = $this->Connect($this->host, $this->port, $this->tval); - - if ($result) { - $login_result = $this->Login($this->username, $this->password); - - if ($login_result) { - $this->Disconnect(); - - return true; - } - - } - - // We need to disconnect regardless if the login succeeded - $this->Disconnect(); - - return false; - } - - /** - * Connect to the POP3 server - * @access public - * @param string $host - * @param bool|int $port - * @param integer $tval - * @return boolean - */ - public function Connect ($host, $port = false, $tval = 30) { - // Are we already connected? - if ($this->connected) { - return true; - } - - /* - On Windows this will raise a PHP Warning error if the hostname doesn't exist. - Rather than supress it with @fsockopen, let's capture it cleanly instead - */ - - set_error_handler(array(&$this, 'catchWarning')); - - // Connect to the POP3 server - $this->pop_conn = fsockopen($host, // POP3 Host - $port, // Port # - $errno, // Error Number - $errstr, // Error Message - $tval); // Timeout (seconds) - - // Restore the error handler - restore_error_handler(); - - // Does the Error Log now contain anything? - if ($this->error && $this->do_debug >= 1) { - $this->displayErrors(); - } - - // Did we connect? - if ($this->pop_conn == false) { - // It would appear not... - $this->error = array( - 'error' => "Failed to connect to server $host on port $port", - 'errno' => $errno, - 'errstr' => $errstr - ); - - if ($this->do_debug >= 1) { - $this->displayErrors(); - } - - return false; - } - - // Increase the stream time-out - - // Check for PHP 4.3.0 or later - if (version_compare(phpversion(), '5.0.0', 'ge')) { - stream_set_timeout($this->pop_conn, $tval, 0); - } else { - // Does not work on Windows - if (substr(PHP_OS, 0, 3) !== 'WIN') { - socket_set_timeout($this->pop_conn, $tval, 0); - } - } - - // Get the POP3 server response - $pop3_response = $this->getResponse(); - - // Check for the +OK - if ($this->checkResponse($pop3_response)) { - // The connection is established and the POP3 server is talking - $this->connected = true; - return true; - } - return false; - } - - /** - * Login to the POP3 server (does not support APOP yet) - * @access public - * @param string $username - * @param string $password - * @return boolean - */ - public function Login ($username = '', $password = '') { - if ($this->connected == false) { - $this->error = 'Not connected to POP3 server'; - - if ($this->do_debug >= 1) { - $this->displayErrors(); - } - } - - if (empty($username)) { - $username = $this->username; - } - - if (empty($password)) { - $password = $this->password; - } - - $pop_username = "USER $username" . $this->CRLF; - $pop_password = "PASS $password" . $this->CRLF; - - // Send the Username - $this->sendString($pop_username); - $pop3_response = $this->getResponse(); - - if ($this->checkResponse($pop3_response)) { - // Send the Password - $this->sendString($pop_password); - $pop3_response = $this->getResponse(); - - if ($this->checkResponse($pop3_response)) { - return true; - } - } - return false; - } - - /** - * Disconnect from the POP3 server - * @access public - */ - public function Disconnect () { - $this->sendString('QUIT'); - - fclose($this->pop_conn); - } - - ///////////////////////////////////////////////// - // Private Methods - ///////////////////////////////////////////////// - - /** - * Get the socket response back. - * $size is the maximum number of bytes to retrieve - * @access private - * @param integer $size - * @return string - */ - private function getResponse ($size = 128) { - $pop3_response = fgets($this->pop_conn, $size); - - return $pop3_response; - } - - /** - * Send a string down the open socket connection to the POP3 server - * @access private - * @param string $string - * @return integer - */ - private function sendString ($string) { - $bytes_sent = fwrite($this->pop_conn, $string, strlen($string)); - - return $bytes_sent; - } - - /** - * Checks the POP3 server response for +OK or -ERR - * @access private - * @param string $string - * @return boolean - */ - private function checkResponse ($string) { - if (substr($string, 0, 3) !== '+OK') { - $this->error = array( - 'error' => "Server reported an error: $string", - 'errno' => 0, - 'errstr' => '' - ); - - if ($this->do_debug >= 1) { - $this->displayErrors(); - } - - return false; - } else { - return true; - } - - } - - /** - * If debug is enabled, display the error message array - * @access private - */ - private function displayErrors () { - echo '
    ';
    -
    -    foreach ($this->error as $single_error) {
    -      print_r($single_error);
    -    }
    -
    -    echo '
    '; - } - - /** - * Takes over from PHP for the socket warning handler - * @access private - * @param integer $errno - * @param string $errstr - * @param string $errfile - * @param integer $errline - */ - private function catchWarning ($errno, $errstr, $errfile, $errline) { - $this->error[] = array( - 'error' => "Connecting to the POP3 server raised a PHP warning: ", - 'errno' => $errno, - 'errstr' => $errstr - ); - } - - // End of class -} diff --git a/sources/resources/PHPMailer/class.smtp.php b/sources/resources/PHPMailer/class.smtp.php deleted file mode 100644 index 8444eb8..0000000 --- a/sources/resources/PHPMailer/class.smtp.php +++ /dev/null @@ -1,1088 +0,0 @@ -Debugoutput == 'error_log') { - error_log($str); - } else { - echo $str; - } - } - - /** - * Initialize the class so that the data is in a known state. - * @access public - * @return SMTP - */ - public function __construct() { - $this->smtp_conn = 0; - $this->error = null; - $this->helo_rply = null; - - $this->do_debug = 0; - } - - ///////////////////////////////////////////////// - // CONNECTION FUNCTIONS - ///////////////////////////////////////////////// - - /** - * Connect to the server specified on the port specified. - * If the port is not specified use the default SMTP_PORT. - * If tval is specified then a connection will try and be - * established with the server for that number of seconds. - * If tval is not specified the default is 30 seconds to - * try on the connection. - * - * SMTP CODE SUCCESS: 220 - * SMTP CODE FAILURE: 421 - * @access public - * @param string $host - * @param int $port - * @param int $tval - * @return bool - */ - public function Connect($host, $port = 0, $tval = 30) { - // set the error val to null so there is no confusion - $this->error = null; - - // make sure we are __not__ connected - if($this->connected()) { - // already connected, generate error - $this->error = array('error' => 'Already connected to a server'); - return false; - } - - if(empty($port)) { - $port = $this->SMTP_PORT; - } - - // connect to the smtp server - $this->smtp_conn = @fsockopen($host, // the host of the server - $port, // the port to use - $errno, // error number if any - $errstr, // error message if any - $tval); // give up after ? secs - // verify we connected properly - if(empty($this->smtp_conn)) { - $this->error = array('error' => 'Failed to connect to server', - 'errno' => $errno, - 'errstr' => $errstr); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ": $errstr ($errno)" . $this->CRLF . '
    '); - } - return false; - } - - // SMTP server can take longer to respond, give longer timeout for first read - // Windows does not have support for this timeout function - if(substr(PHP_OS, 0, 3) != 'WIN') { - $max = ini_get('max_execution_time'); - if ($max != 0 && $tval > $max) { // don't bother if unlimited - @set_time_limit($tval); - } - stream_set_timeout($this->smtp_conn, $tval, 0); - } - - // get any announcement - $announce = $this->get_lines(); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $announce . $this->CRLF . '
    '); - } - - return true; - } - - /** - * Initiate a TLS communication with the server. - * - * SMTP CODE 220 Ready to start TLS - * SMTP CODE 501 Syntax error (no parameters allowed) - * SMTP CODE 454 TLS not available due to temporary reason - * @access public - * @return bool success - */ - public function StartTLS() { - $this->error = null; # to avoid confusion - - if(!$this->connected()) { - $this->error = array('error' => 'Called StartTLS() without being connected'); - return false; - } - - $this->client_send('STARTTLS' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 220) { - $this->error = - array('error' => 'STARTTLS not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - // Begin encrypted connection - if(!stream_socket_enable_crypto($this->smtp_conn, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) { - return false; - } - - return true; - } - - /** - * Performs SMTP authentication. Must be run after running the - * Hello() method. Returns true if successfully authenticated. - * @access public - * @param string $username - * @param string $password - * @param string $authtype - * @param string $realm - * @param string $workstation - * @return bool - */ - public function Authenticate($username, $password, $authtype='LOGIN', $realm='', $workstation='') { - if (empty($authtype)) { - $authtype = 'LOGIN'; - } - - switch ($authtype) { - case 'PLAIN': - // Start authentication - $this->client_send('AUTH PLAIN' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 334) { - $this->error = - array('error' => 'AUTH not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - // Send encoded username and password - $this->client_send(base64_encode("\0".$username."\0".$password) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 235) { - $this->error = - array('error' => 'Authentication not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - break; - case 'LOGIN': - // Start authentication - $this->client_send('AUTH LOGIN' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 334) { - $this->error = - array('error' => 'AUTH not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - // Send encoded username - $this->client_send(base64_encode($username) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 334) { - $this->error = - array('error' => 'Username not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - // Send encoded password - $this->client_send(base64_encode($password) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 235) { - $this->error = - array('error' => 'Password not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - break; - case 'NTLM': - /* - * ntlm_sasl_client.php - ** Bundled with Permission - ** - ** How to telnet in windows: http://technet.microsoft.com/en-us/library/aa995718%28EXCHG.65%29.aspx - ** PROTOCOL Documentation http://curl.haxx.se/rfc/ntlm.html#ntlmSmtpAuthentication - */ - require_once 'extras/ntlm_sasl_client.php'; - $temp = new stdClass(); - $ntlm_client = new ntlm_sasl_client_class; - if(! $ntlm_client->Initialize($temp)){//let's test if every function its available - $this->error = array('error' => $temp->error); - if($this->do_debug >= 1) { - $this->edebug('You need to enable some modules in your php.ini file: ' . $this->error['error'] . $this->CRLF); - } - return false; - } - $msg1 = $ntlm_client->TypeMsg1($realm, $workstation);//msg1 - - $this->client_send('AUTH NTLM ' . base64_encode($msg1) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - - if($code != 334) { - $this->error = - array('error' => 'AUTH not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF); - } - return false; - } - - $challenge = substr($rply, 3);//though 0 based, there is a white space after the 3 digit number....//msg2 - $challenge = base64_decode($challenge); - $ntlm_res = $ntlm_client->NTLMResponse(substr($challenge, 24, 8), $password); - $msg3 = $ntlm_client->TypeMsg3($ntlm_res, $username, $realm, $workstation);//msg3 - // Send encoded username - $this->client_send(base64_encode($msg3) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 235) { - $this->error = - array('error' => 'Could not authenticate', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF); - } - return false; - } - break; - case 'CRAM-MD5': - // Start authentication - $this->client_send('AUTH CRAM-MD5' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 334) { - $this->error = - array('error' => 'AUTH not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - // Get the challenge - $challenge = base64_decode(substr($rply, 4)); - - // Build the response - $response = $username . ' ' . $this->hmac($challenge, $password); - - // Send encoded credentials - $this->client_send(base64_encode($response) . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($code != 334) { - $this->error = - array('error' => 'Credentials not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - break; - } - return true; - } - - /** - * Works like hash_hmac('md5', $data, $key) in case that function is not available - * @access private - * @param string $data - * @param string $key - * @return string - */ - private function hmac($data, $key) { - if (function_exists('hash_hmac')) { - return hash_hmac('md5', $data, $key); - } - - // The following borrowed from http://php.net/manual/en/function.mhash.php#27225 - - // RFC 2104 HMAC implementation for php. - // Creates an md5 HMAC. - // Eliminates the need to install mhash to compute a HMAC - // Hacked by Lance Rushing - - $b = 64; // byte length for md5 - if (strlen($key) > $b) { - $key = pack('H*', md5($key)); - } - $key = str_pad($key, $b, chr(0x00)); - $ipad = str_pad('', $b, chr(0x36)); - $opad = str_pad('', $b, chr(0x5c)); - $k_ipad = $key ^ $ipad ; - $k_opad = $key ^ $opad; - - return md5($k_opad . pack('H*', md5($k_ipad . $data))); - } - - /** - * Returns true if connected to a server otherwise false - * @access public - * @return bool - */ - public function Connected() { - if(!empty($this->smtp_conn)) { - $sock_status = stream_get_meta_data($this->smtp_conn); - if($sock_status['eof']) { - // the socket is valid but we are not connected - if($this->do_debug >= 1) { - $this->edebug('SMTP -> NOTICE:' . $this->CRLF . 'EOF caught while checking if connected'); - } - $this->Close(); - return false; - } - return true; // everything looks good - } - return false; - } - - /** - * Closes the socket and cleans up the state of the class. - * It is not considered good to use this function without - * first trying to use QUIT. - * @access public - * @return void - */ - public function Close() { - $this->error = null; // so there is no confusion - $this->helo_rply = null; - if(!empty($this->smtp_conn)) { - // close the connection and cleanup - fclose($this->smtp_conn); - $this->smtp_conn = 0; - } - } - - ///////////////////////////////////////////////// - // SMTP COMMANDS - ///////////////////////////////////////////////// - - /** - * Issues a data command and sends the msg_data to the server - * finializing the mail transaction. $msg_data is the message - * that is to be send with the headers. Each header needs to be - * on a single line followed by a with the message headers - * and the message body being seperated by and additional . - * - * Implements rfc 821: DATA - * - * SMTP CODE INTERMEDIATE: 354 - * [data] - * . - * SMTP CODE SUCCESS: 250 - * SMTP CODE FAILURE: 552, 554, 451, 452 - * SMTP CODE FAILURE: 451, 554 - * SMTP CODE ERROR : 500, 501, 503, 421 - * @access public - * @param string $msg_data - * @return bool - */ - public function Data($msg_data) { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called Data() without being connected'); - return false; - } - - $this->client_send('DATA' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 354) { - $this->error = - array('error' => 'DATA command not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - /* the server is ready to accept data! - * according to rfc 821 we should not send more than 1000 - * including the CRLF - * characters on a single line so we will break the data up - * into lines by \r and/or \n then if needed we will break - * each of those into smaller lines to fit within the limit. - * in addition we will be looking for lines that start with - * a period '.' and append and additional period '.' to that - * line. NOTE: this does not count towards limit. - */ - - // normalize the line breaks so we know the explode works - $msg_data = str_replace("\r\n", "\n", $msg_data); - $msg_data = str_replace("\r", "\n", $msg_data); - $lines = explode("\n", $msg_data); - - /* we need to find a good way to determine is headers are - * in the msg_data or if it is a straight msg body - * currently I am assuming rfc 822 definitions of msg headers - * and if the first field of the first line (':' sperated) - * does not contain a space then it _should_ be a header - * and we can process all lines before a blank "" line as - * headers. - */ - - $field = substr($lines[0], 0, strpos($lines[0], ':')); - $in_headers = false; - if(!empty($field) && !strstr($field, ' ')) { - $in_headers = true; - } - - $max_line_length = 998; // used below; set here for ease in change - - while(list(, $line) = @each($lines)) { - $lines_out = null; - if($line == '' && $in_headers) { - $in_headers = false; - } - // ok we need to break this line up into several smaller lines - while(strlen($line) > $max_line_length) { - $pos = strrpos(substr($line, 0, $max_line_length), ' '); - - // Patch to fix DOS attack - if(!$pos) { - $pos = $max_line_length - 1; - $lines_out[] = substr($line, 0, $pos); - $line = substr($line, $pos); - } else { - $lines_out[] = substr($line, 0, $pos); - $line = substr($line, $pos + 1); - } - - /* if processing headers add a LWSP-char to the front of new line - * rfc 822 on long msg headers - */ - if($in_headers) { - $line = "\t" . $line; - } - } - $lines_out[] = $line; - - // send the lines to the server - while(list(, $line_out) = @each($lines_out)) { - if(strlen($line_out) > 0) - { - if(substr($line_out, 0, 1) == '.') { - $line_out = '.' . $line_out; - } - } - $this->client_send($line_out . $this->CRLF); - } - } - - // message data has been sent - $this->client_send($this->CRLF . '.' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 250) { - $this->error = - array('error' => 'DATA not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - return true; - } - - /** - * Sends the HELO command to the smtp server. - * This makes sure that we and the server are in - * the same known state. - * - * Implements from rfc 821: HELO - * - * SMTP CODE SUCCESS: 250 - * SMTP CODE ERROR : 500, 501, 504, 421 - * @access public - * @param string $host - * @return bool - */ - public function Hello($host = '') { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called Hello() without being connected'); - return false; - } - - // if hostname for HELO was not specified send default - if(empty($host)) { - // determine appropriate default to send to server - $host = 'localhost'; - } - - // Send extended hello first (RFC 2821) - if(!$this->SendHello('EHLO', $host)) { - if(!$this->SendHello('HELO', $host)) { - return false; - } - } - - return true; - } - - /** - * Sends a HELO/EHLO command. - * @access private - * @param string $hello - * @param string $host - * @return bool - */ - private function SendHello($hello, $host) { - $this->client_send($hello . ' ' . $host . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER: ' . $rply . $this->CRLF . '
    '); - } - - if($code != 250) { - $this->error = - array('error' => $hello . ' not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - $this->helo_rply = $rply; - - return true; - } - - /** - * Starts a mail transaction from the email address specified in - * $from. Returns true if successful or false otherwise. If True - * the mail transaction is started and then one or more Recipient - * commands may be called followed by a Data command. - * - * Implements rfc 821: MAIL FROM: - * - * SMTP CODE SUCCESS: 250 - * SMTP CODE SUCCESS: 552, 451, 452 - * SMTP CODE SUCCESS: 500, 501, 421 - * @access public - * @param string $from - * @return bool - */ - public function Mail($from) { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called Mail() without being connected'); - return false; - } - - $useVerp = ($this->do_verp ? ' XVERP' : ''); - $this->client_send('MAIL FROM:<' . $from . '>' . $useVerp . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 250) { - $this->error = - array('error' => 'MAIL not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - return true; - } - - /** - * Sends the quit command to the server and then closes the socket - * if there is no error or the $close_on_error argument is true. - * - * Implements from rfc 821: QUIT - * - * SMTP CODE SUCCESS: 221 - * SMTP CODE ERROR : 500 - * @access public - * @param bool $close_on_error - * @return bool - */ - public function Quit($close_on_error = true) { - $this->error = null; // so there is no confusion - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called Quit() without being connected'); - return false; - } - - // send the quit command to the server - $this->client_send('quit' . $this->CRLF); - - // get any good-bye messages - $byemsg = $this->get_lines(); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $byemsg . $this->CRLF . '
    '); - } - - $rval = true; - $e = null; - - $code = substr($byemsg, 0, 3); - if($code != 221) { - // use e as a tmp var cause Close will overwrite $this->error - $e = array('error' => 'SMTP server rejected quit command', - 'smtp_code' => $code, - 'smtp_rply' => substr($byemsg, 4)); - $rval = false; - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $e['error'] . ': ' . $byemsg . $this->CRLF . '
    '); - } - } - - if(empty($e) || $close_on_error) { - $this->Close(); - } - - return $rval; - } - - /** - * Sends the command RCPT to the SMTP server with the TO: argument of $to. - * Returns true if the recipient was accepted false if it was rejected. - * - * Implements from rfc 821: RCPT TO: - * - * SMTP CODE SUCCESS: 250, 251 - * SMTP CODE FAILURE: 550, 551, 552, 553, 450, 451, 452 - * SMTP CODE ERROR : 500, 501, 503, 421 - * @access public - * @param string $to - * @return bool - */ - public function Recipient($to) { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called Recipient() without being connected'); - return false; - } - - $this->client_send('RCPT TO:<' . $to . '>' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 250 && $code != 251) { - $this->error = - array('error' => 'RCPT not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - return true; - } - - /** - * Sends the RSET command to abort and transaction that is - * currently in progress. Returns true if successful false - * otherwise. - * - * Implements rfc 821: RSET - * - * SMTP CODE SUCCESS: 250 - * SMTP CODE ERROR : 500, 501, 504, 421 - * @access public - * @return bool - */ - public function Reset() { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array('error' => 'Called Reset() without being connected'); - return false; - } - - $this->client_send('RSET' . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 250) { - $this->error = - array('error' => 'RSET failed', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - - return true; - } - - /** - * Starts a mail transaction from the email address specified in - * $from. Returns true if successful or false otherwise. If True - * the mail transaction is started and then one or more Recipient - * commands may be called followed by a Data command. This command - * will send the message to the users terminal if they are logged - * in and send them an email. - * - * Implements rfc 821: SAML FROM: - * - * SMTP CODE SUCCESS: 250 - * SMTP CODE SUCCESS: 552, 451, 452 - * SMTP CODE SUCCESS: 500, 501, 502, 421 - * @access public - * @param string $from - * @return bool - */ - public function SendAndMail($from) { - $this->error = null; // so no confusion is caused - - if(!$this->connected()) { - $this->error = array( - 'error' => 'Called SendAndMail() without being connected'); - return false; - } - - $this->client_send('SAML FROM:' . $from . $this->CRLF); - - $rply = $this->get_lines(); - $code = substr($rply, 0, 3); - - if($this->do_debug >= 2) { - $this->edebug('SMTP -> FROM SERVER:' . $rply . $this->CRLF . '
    '); - } - - if($code != 250) { - $this->error = - array('error' => 'SAML not accepted from server', - 'smtp_code' => $code, - 'smtp_msg' => substr($rply, 4)); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> ERROR: ' . $this->error['error'] . ': ' . $rply . $this->CRLF . '
    '); - } - return false; - } - return true; - } - - /** - * This is an optional command for SMTP that this class does not - * support. This method is here to make the RFC821 Definition - * complete for this class and __may__ be implimented in the future - * - * Implements from rfc 821: TURN - * - * SMTP CODE SUCCESS: 250 - * SMTP CODE FAILURE: 502 - * SMTP CODE ERROR : 500, 503 - * @access public - * @return bool - */ - public function Turn() { - $this->error = array('error' => 'This method, TURN, of the SMTP '. - 'is not implemented'); - if($this->do_debug >= 1) { - $this->edebug('SMTP -> NOTICE: ' . $this->error['error'] . $this->CRLF . '
    '); - } - return false; - } - - /** - * Sends data to the server - * @param string $data - * @access public - * @return Integer number of bytes sent to the server or FALSE on error - */ - public function client_send($data) { - if ($this->do_debug >= 1) { - $this->edebug("CLIENT -> SMTP: $data" . $this->CRLF . '
    '); - } - return fwrite($this->smtp_conn, $data); - } - - /** - * Get the current error - * @access public - * @return array - */ - public function getError() { - return $this->error; - } - - ///////////////////////////////////////////////// - // INTERNAL FUNCTIONS - ///////////////////////////////////////////////// - - /** - * Read in as many lines as possible - * either before eof or socket timeout occurs on the operation. - * With SMTP we can tell if we have more lines to read if the - * 4th character is '-' symbol. If it is a space then we don't - * need to read anything else. - * @access private - * @return string - */ - private function get_lines() { - $data = ''; - $endtime = 0; - /* If for some reason the fp is bad, don't inf loop */ - if (!is_resource($this->smtp_conn)) { - return $data; - } - stream_set_timeout($this->smtp_conn, $this->Timeout); - if ($this->Timelimit > 0) { - $endtime = time() + $this->Timelimit; - } - while(is_resource($this->smtp_conn) && !feof($this->smtp_conn)) { - $str = @fgets($this->smtp_conn, 515); - if($this->do_debug >= 4) { - $this->edebug("SMTP -> get_lines(): \$data was \"$data\"" . $this->CRLF . '
    '); - $this->edebug("SMTP -> get_lines(): \$str is \"$str\"" . $this->CRLF . '
    '); - } - $data .= $str; - if($this->do_debug >= 4) { - $this->edebug("SMTP -> get_lines(): \$data is \"$data\"" . $this->CRLF . '
    '); - } - // if 4th character is a space, we are done reading, break the loop - if(substr($str, 3, 1) == ' ') { break; } - // Timed-out? Log and break - $info = stream_get_meta_data($this->smtp_conn); - if ($info['timed_out']) { - if($this->do_debug >= 4) { - $this->edebug('SMTP -> get_lines(): timed-out (' . $this->Timeout . ' seconds)
    '); - } - break; - } - // Now check if reads took too long - if ($endtime) { - if (time() > $endtime) { - if($this->do_debug >= 4) { - $this->edebug('SMTP -> get_lines(): timelimit reached (' . $this->Timelimit . ' seconds)
    '); - } - break; - } - } - } - return $data; - } - -} diff --git a/sources/resources/bootstrap/LICENSE b/sources/resources/bootstrap/LICENSE deleted file mode 100644 index f4c52d6..0000000 --- a/sources/resources/bootstrap/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011-2015 Twitter, Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/sources/resources/bootstrap/README.md b/sources/resources/bootstrap/README.md deleted file mode 100644 index 06e17f0..0000000 --- a/sources/resources/bootstrap/README.md +++ /dev/null @@ -1,134 +0,0 @@ -# [Bootstrap](http://getbootstrap.com) -![Bower version](https://img.shields.io/bower/v/bootstrap.svg?style=flat) -[![npm version](https://img.shields.io/npm/v/bootstrap.svg?style=flat)](https://www.npmjs.com/package/bootstrap) -[![Build Status](https://img.shields.io/travis/twbs/bootstrap/master.svg?style=flat)](https://travis-ci.org/twbs/bootstrap) -[![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg?style=flat)](https://david-dm.org/twbs/bootstrap#info=devDependencies) -[![Selenium Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap) - -Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thornton](https://twitter.com/fat), and maintained by the [core team](https://github.com/orgs/twbs/people) with the massive support and involvement of the community. - -To get started, check out ! - -## Table of contents - -- [Quick start](#quick-start) -- [Bugs and feature requests](#bugs-and-feature-requests) -- [Documentation](#documentation) -- [Contributing](#contributing) -- [Community](#community) -- [Versioning](#versioning) -- [Creators](#creators) -- [Copyright and license](#copyright-and-license) - -## Quick start - -Five quick start options are available: - -- [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.4.zip). -- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`. -- Install with [Bower](http://bower.io): `bower install bootstrap`. -- Install with [npm](https://www.npmjs.com): `npm install bootstrap`. -- Install with [Meteor](https://www.meteor.com/): `meteor add twbs:bootstrap`. - -Read the [Getting started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more. - -### What's included - -Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this: - -``` -bootstrap/ -├── css/ -│ ├── bootstrap.css -│ ├── bootstrap.css.map -│ ├── bootstrap.min.css -│ ├── bootstrap-theme.css -│ ├── bootstrap-theme.css.map -│ └── bootstrap-theme.min.css -├── js/ -│ ├── bootstrap.js -│ └── bootstrap.min.js -└── fonts/ - ├── glyphicons-halflings-regular.eot - ├── glyphicons-halflings-regular.svg - ├── glyphicons-halflings-regular.ttf - ├── glyphicons-halflings-regular.woff - └── glyphicons-halflings-regular.woff2 -``` - -We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/chrome-developer-tools/docs/css-preprocessors) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme. - - - -## Bugs and feature requests - -Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new). - - -## Documentation - -Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at . The docs may also be run locally. - -### Running documentation locally - -1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v2.5.x). - - **Windows users:** Read [this unofficial guide](http://jekyll-windows.juthilo.com/) to get Jekyll up and running without problems. -2. Install the Ruby-based syntax highlighter, [Rouge](https://github.com/jneen/rouge), with `gem install rouge`. -3. From the root `/bootstrap` directory, run `jekyll serve` in the command line. -4. Open in your browser, and voilà. - -Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/). - -### Documentation for previous releases - -Documentation for v2.3.2 has been made available for the time being at while folks transition to Bootstrap 3. - -[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download. - - - -## Contributing - -Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. - -Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/master/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo). - -Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at . - - - -## Community - -Keep track of development and community news. - -- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap). -- Read and subscribe to [The Official Bootstrap Blog](http://blog.getbootstrap.com). -- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel. -- Implementation help may be found at Stack Overflow (tagged [`twitter-bootstrap-3`](http://stackoverflow.com/questions/tagged/twitter-bootstrap-3)). -- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability. - - - -## Versioning - -For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible. - - - -## Creators - -**Mark Otto** - -- -- - -**Jacob Thornton** - -- -- - - - -## Copyright and license - -Code and documentation copyright 2011-2015 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE). diff --git a/sources/resources/bootstrap/dist/css/bootstrap-theme.min.css b/sources/resources/bootstrap/dist/css/bootstrap-theme.min.css deleted file mode 100644 index cefa3d1..0000000 --- a/sources/resources/bootstrap/dist/css/bootstrap-theme.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} \ No newline at end of file diff --git a/sources/resources/bootstrap/dist/css/bootstrap.min.css b/sources/resources/bootstrap/dist/css/bootstrap.min.css deleted file mode 100644 index cd1c616..0000000 --- a/sources/resources/bootstrap/dist/css/bootstrap.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px \9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px)and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.4;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px)and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px)and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px)and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px)and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.eot b/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.eot deleted file mode 100644 index b93a495..0000000 Binary files a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.eot and /dev/null differ diff --git a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.svg b/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.svg deleted file mode 100644 index 94fb549..0000000 --- a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf b/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf deleted file mode 100644 index 1413fc6..0000000 Binary files a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf and /dev/null differ diff --git a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff b/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff deleted file mode 100644 index 9e61285..0000000 Binary files a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff and /dev/null differ diff --git a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 b/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 deleted file mode 100644 index 64539b5..0000000 Binary files a/sources/resources/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 and /dev/null differ diff --git a/sources/resources/bootstrap/dist/js/bootstrap.min.js b/sources/resources/bootstrap/dist/js/bootstrap.min.js deleted file mode 100644 index c8f82e5..0000000 --- a/sources/resources/bootstrap/dist/js/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.4",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.4",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.4",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.4",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.4",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-mp.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.4",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.4",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.4",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a(document.body).height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/sources/resources/doT-php/doT.php b/sources/resources/doT-php/doT.php deleted file mode 100644 index 862ba25..0000000 --- a/sources/resources/doT-php/doT.php +++ /dev/null @@ -1,101 +0,0 @@ - - */ - - -class doT { - public $functionBody; - private $functionCode; - public $def; - - public function resolveDefs ($block) { - $me = $this; - return preg_replace_callback ("/\{\{#([\s\S]+?)\}\}/", function ($m) use ($me) { - $d = $m[1]; - $d = substr ($d, 4); - if (!array_key_exists ($d, $me->def)) { - return ""; - } - if (preg_match ("/\{\{#([\s\S]+?)\}\}/", $me->def [$d])) { - return $me->resolveDefs ($me->def [$d], $me->def); - } else { - return $me->def [$d]; - } - }, $block); - } - - public function handleDotNotation ($string) { - $out = preg_replace ("/(\w+)\.(.*?)([\s,\)])/", "\$$1[\"$2\"]$3", $string); - $out = preg_replace ("/(\w+)\.([\w\.]*?)$/", "\$$1[\"$2\"] ", $out); - $out = preg_replace ("/\./", '"]["', $out); - - // Special hideous case : shouldn't be committed - $out = preg_replace ("/^i /", ' $i ', $out); - return $out; - } - - public function template ($string, $def) { - $me = $this; - - $func = $string; - - // deps - if (empty ($def)) { - $func = preg_replace ("/\{\{#([\s\S]+?)\}\}/", "", $func); - } else { - $this->def = $def; - $func = $this->resolveDefs ($func); - } - - $func = preg_replace ("/'|\\\/", "\\$&", $func); - - // interpolate - $func = preg_replace_callback ("/\{\{=([\s\S]+?)\}\}/", function ($m) use ($me) { - return "' . " . $me->handleDotNotation ($m[1]) . " . '"; - }, $func); - // Conditional - $func = preg_replace_callback ("/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/", function ($m) use ($me) { - $elsecase = $m[1]; - $code = $m[2]; - if ($elsecase) { - if ($code) { - return "';} else if (" . $me->handleDotNotation ($code) . ") { $" . "out.='"; - } else { - return "';} else { $" . "out.='"; - } - } else { - if ($code) { - return "'; if (" . $me->handleDotNotation ($code) . ") { $" . "out.='"; - } else { - return "';} $" . "out.='"; - } - } - }, $func); - // Iterate - $func = preg_replace_callback ("/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/", function ($m) use ($me) { - if (count($m) > 1) { - $iterate = $m[1]; - $vname = $m[2]; - $iname = $m[3]; - $iterate = $me->handleDotNotation ($iterate); - return "'; for (\$$iname = 0; \$$iname < count($iterate); \$$iname++) { \$$vname = $iterate [\$$iname]; \$out.='"; - } else { - return "';} $" . "out.='"; - } - }, $func); - $func = '$out = \'' . $func . '\'; return $out;'; - - $this->functionBody = $func; - - return create_function ('$it', $func); - } - - public function execute ($data) { - return $this->functionCode ($data); - } - -} \ No newline at end of file diff --git a/sources/resources/doT/doT.min.js b/sources/resources/doT/doT.min.js deleted file mode 100644 index 823cabc..0000000 --- a/sources/resources/doT/doT.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/* Laura Doktorova https://github.com/olado/doT */ -(function(){function o(){var a={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},b=/&(?!#?\w+;)|<|>|"|'|\//g;return function(){return this?this.replace(b,function(c){return a[c]||c}):this}}function p(a,b,c){return(typeof b==="string"?b:b.toString()).replace(a.define||i,function(l,e,f,g){if(e.indexOf("def.")===0)e=e.substring(4);if(!(e in c))if(f===":"){a.defineParams&&g.replace(a.defineParams,function(n,h,d){c[e]={arg:h,text:d}});e in c||(c[e]=g)}else(new Function("def","def['"+ -e+"']="+g))(c);return""}).replace(a.use||i,function(l,e){if(a.useParams)e=e.replace(a.useParams,function(g,n,h,d){if(c[h]&&c[h].arg&&d){g=(h+":"+d).replace(/'|\\/g,"_");c.__exp=c.__exp||{};c.__exp[g]=c[h].text.replace(RegExp("(^|[^\\w$])"+c[h].arg+"([^\\w$])","g"),"$1"+d+"$2");return n+"def.__exp['"+g+"']"}});var f=(new Function("def","return "+e))(c);return f?p(a,f,c):f})}function m(a){return a.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}var j={version:"1.0.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g, -interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false},template:undefined, -compile:undefined},q;if(typeof module!=="undefined"&&module.exports)module.exports=j;else if(typeof define==="function"&&define.amd)define(function(){return j});else{q=function(){return this||(0,eval)("this")}();q.doT=j}String.prototype.encodeHTML=o();var r={append:{start:"'+(",end:")+'",endencode:"||'').toString().encodeHTML()+'"},split:{start:"';out+=(",end:");out+='",endencode:"||'').toString().encodeHTML();out+='"}},i=/$^/;j.template=function(a,b,c){b=b||j.templateSettings;var l=b.append?r.append: -r.split,e,f=0,g;a=b.use||b.define?p(b,a,c||{}):a;a=("var out='"+(b.strip?a.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):a).replace(/'|\\/g,"\\$&").replace(b.interpolate||i,function(h,d){return l.start+m(d)+l.end}).replace(b.encode||i,function(h,d){e=true;return l.start+m(d)+l.endencode}).replace(b.conditional||i,function(h,d,k){return d?k?"';}else if("+m(k)+"){out+='":"';}else{out+='":k?"';if("+m(k)+"){out+='":"';}out+='"}).replace(b.iterate||i,function(h, -d,k,s){if(!d)return"';} } out+='";f+=1;g=s||"i"+f;d=m(d);return"';var arr"+f+"="+d+";if(arr"+f+"){var "+k+","+g+"=-1,l"+f+"=arr"+f+".length-1;while("+g+"a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
    ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; -if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
    a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:k.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("