]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
fixing some text formatting
authorBanana <mail@bananas-playground.net>
Mon, 17 Nov 2025 23:32:32 +0000 (00:32 +0100)
committerBanana <mail@bananas-playground.net>
Mon, 17 Nov 2025 23:32:32 +0000 (00:32 +0100)
Signed-off-by: Banana <mail@bananas-playground.net>
47 files changed:
webclient/api.php
webclient/config/config-googlebooks.php.default
webclient/config/config-musicbrainz.php.default
webclient/config/config.php.default
webclient/i18n/deu.ini
webclient/i18n/eng.ini
webclient/index.php
webclient/lib/doomguy.class.php
webclient/lib/googlebookparser.class.php
webclient/lib/gorenest.class.php
webclient/lib/managecollectionfields.class.php
webclient/lib/managecollections.class.php
webclient/lib/manageentry.class.php
webclient/lib/managetags.class.php
webclient/lib/mancubus.class.php
webclient/lib/musicbrainz.class.php
webclient/lib/possessed.class.php
webclient/lib/spectre.class.php
webclient/lib/summoner.class.php
webclient/lib/tentacle.class.php
webclient/lib/trite.class.php
webclient/setup/index.php
webclient/view/98/system/menu.php
webclient/view/98/system/message.php
webclient/view/default/advancedsearch/advancedsearch.php
webclient/view/default/auth/auth.php
webclient/view/default/bulkedit/bulkedit.php
webclient/view/default/collections/collections.php
webclient/view/default/dashboard/dashboard.php
webclient/view/default/entry/entry.php
webclient/view/default/managecollectionfields/managecollectionfields.php
webclient/view/default/managecolletions/managecolletions.php
webclient/view/default/manageentry/manageentry.php
webclient/view/default/managegroups/managegroups.php
webclient/view/default/managetags/managetags.php
webclient/view/default/manageusers/manageusers.php
webclient/view/default/profile/profile.php
webclient/view/default/sysinfo/sysinfo.php
webclient/view/default/system/menu.php
webclient/view/default/system/message.php
webclient/view/default/tags/tags.php
webclient/view/default/tool/tool-gameinfo.php
webclient/view/default/tool/tool-googlebooks.php
webclient/view/default/tool/tool-imdbweb.html
webclient/view/default/tool/tool-imdbweb.php
webclient/view/default/tool/tool-musicbrainz.php
webclient/view/default/tool/tool.php

index 7a2ec6aab992b0e1ec7e06755c92901305951570..63bacd4933322f392a1502e81dfb542cf7ae685e 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once './config/config.php';
index 2a4a645097dfe4233b4632491ddd7eee62211d8e..56d7fac444ec2ca197c03ce90159bdaff205509b 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 7f62ffadca3353ad70c69872a44c71677180a04c..134f551c4ff45df420baa9fcb4c44e580815086a 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index ab393e1542324f6b3f0fc86820db7dd928d1762e..dfc2ee5e5a1b2b71b4cfbda40eb42ae23769bdf8 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 # set to true if you need debug messages in error log file
index a644c90e97db2430b013918e73889242e261f9e5..b706deefa677b80d8f3b1e4f2a23c1778f72c884 100644 (file)
@@ -13,7 +13,7 @@
 ;  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, see http://www.gnu.org/licenses/gpl-3.0.
+;  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
 ;
 ; Format: key = "value", which is the default ini format
 ; Special logic is added to make key = key work. Use it to provide a unique key but with a already existing value.
@@ -285,10 +285,10 @@ tool.headline.using = "Verwendung von %s in Sammlung: %s"
 tool.imdb.posters = "Film Poster"
 tool.imdb.save = reuse.global.save
 tool.imdb.search = reuse.global.search
-tool.imdb.search.hint = "Suche funktioniert mit der IMDB Film ID am Besten. Auf IMDB manuell suchen und davon die ID nehmen."
+tool.imdb.search.hint = "Suche funktioniert mit der IMDB Film ID. Auf IMDB manuell suchen und davon die ID (tt*) aus der URL nehmen."
 tool.imdb.select.none = reuse.global.none
 tool.limitations = "Einschränkungen"
-tool.limitations.override = "Daten werden überschrieben"
+tool.limitations.override = "Daten werden überschrieben."
 tool.message.missingFiles = "Benötige Tooldateien können nicht gefunden werden."
 tool.music.input.albumTitle = "Album/Titel"
 tool.music.input.artist = "Künstler"
index 72d97db6b9ac208dd711b203bc5c18f121aff01a..df4888190d1e1cd8dbc1fb5d66749c4a58bc5da9 100644 (file)
@@ -13,7 +13,7 @@
 ;  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, see http://www.gnu.org/licenses/gpl-3.0.
+;  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
 ;
 ; Format: key = "value", which is the default ini format
 ; Special logic is added to make key = key work. Use it to provide a unique key but with a already existing value.
@@ -285,7 +285,7 @@ tool.headline.using = "Using %s with collection: %s"
 tool.imdb.posters = "Movie posters"
 tool.imdb.save = reuse.global.save
 tool.imdb.search = reuse.global.search
-tool.imdb.search.hint = "Seach works best if you use the imdb movie ID after searching manually on imdb itself."
+tool.imdb.search.hint = "Seach works with the imdb movie ID (the tt* in the url) after searching manually on imdb itself."
 tool.imdb.select.none = reuse.global.none
 tool.limitations = "Limitations"
 tool.limitations.override = "Data will be overwritten"
index f7d1c8f72666e4b3f2bcf3d07bdb0e0e781461a4..cf251510d1cde6ee27bd8d362056490605c2a65e 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once './config/config.php';
index a422ec1c54489881bc65b9ba44dc1ca72e68ffb6..c046ac2775c95a821f548d4b42eda90d496b3a7f 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 2d966126232dcc803dabefc45abde4d64268d936..485821919336a188a70a6ed6e2dff4e90a3a42a2 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 540cc5d138d5b43f79c30174f096e7b5a39256cd..32e53104d67f8d97896b6b45d2e0b7d08bb3c440 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 9709e3003ef122fb95921799e8bfcebce2ce60e6..c754b111c12857f1498d738baa8c7000a69184c4 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index bb120413e76fc4bea9623c1c9e53b74fe1100a39..aec5f5e2875ea639aa633d6ba9a2da1b3ccb8635 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 3f9f580cebe330e54de47e0aeb7be182c80ed42d..8ee26be8bcd841cdc749d82c317732c05388a419 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 class Manageentry {
index 13f2d8bed09eabbc4aa63fef4d308be143a2b87a..d669f5376f6ac48ab54556fad1796a3438807bbc 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 89a77071bc921233c176eca0dcbb786920ff3ce1..9a5be6070c9d3fb3dc3df234780253f8199f7725 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 58602b879324ce9bb5aaa596dec048e1ed172abd..67fd1be364f133ade02782ee290e372e2b0e9043 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index dabd638e10e82c5fccdd4cfc1e6845fff72e9aa0..d3e422c3800b44ba1c9d7a52c216b9710e0d23dd 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 05531428bde6b126f3daaa1ef4fbbd37d8929a48..9905195c68b1962101d2a7faa7c7a201b13054ce 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 5a173dc8912cd000ef26ea9d26ee2f22d6ef2967..7acec109e9b679e748dd36796891c61b4108ebc5 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 3ec0c194a1d80afdf365a095f22da2f95d034ff8..28b6ac77356c3751a9c7735a43ec35a3e6faf72f 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index e7cb7ece974ec3a816ecfebda5d52180224c5030..3e90d9a403fd2bfd6b8f0c7a4491ec41781ba1f2 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index ba9b24e53f9d10bcf40d4828b91d448a7102bc65..9f032430f9ddcf51bafdb0d06f19573be4374137 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 87d04da3b92c5f2fd06b1b008d4c14fd0600aebf..c32757abe42d721308e1155396aca32160ef4c8c 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 ## optional context action
index f47b9ff9ab83902f9f6e6db8d1c5708a39973bea..b60697b283966a98768cc24570dad5d44e234d7a 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 if(isset($TemplateData['message']['content'])) {
index ffa1c79689ca165a0bf6f98d6718ad90a03a82cc..5f69fc6dfc4d309271543d9b97be47ee7a5ea0de 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/trite.class.php';
index 3e2e863ed1e3406cb56dafee5598c41b73dff094..24206136c52560ba75533b2af4ed0c3a457d798c 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 // passwords used here: password_hash("somePassword", PASSWORD_DEFAULT);
index d223abf1cde77ca8a25a6489da3a8fe4501516b3..3d4fd69a79fdebf9d386aee35dff3c1cf19c937a 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/trite.class.php';
index be9fd738f1fb58b774ff03d2b414c6d9db5e6b7f..9d23f70a3bbe40acc5e7e5015f1462fd234aa5fb 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/mancubus.class.php';
index a7a9eed42e3805c0f1a67b606b4185b3f566538d..bb7779c6241fe35f7dd5499fbe10e9bed3f1b707 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/mancubus.class.php';
index c8a67527198ab0a33a3dd8d41a85c8a58d94e651..25738ad750ebf12d6e969d339eafa3560fef3b61 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/mancubus.class.php';
index 66e23c93f9a2c029d31a8ed00063ae5438d188a6..91a1c3df27f7594e30568018f5de810d80d9ab80 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index a4e8e794ef6a7b689a49ab9dc844555667b321ce..d8095ffe9d80d2614cbfd131f900e37726e06695 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/managecollections.class.php';
index 9c722d15b54c653d4c695c9eba1e59693d2abd0f..e2521f13b68c850d17d1544ad4170d9880130ca4 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/trite.class.php';
index 623325498e78ebd8341dc38eca87280e701a1499..88a3c6ee2ee88fcb56cccc8a4663775ea7b13cd8 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/possessed.class.php';
index d6dac63bd74cc67d4d824acee99ad2ac79ce3f8b..d6e21505e5293c9041a0ec99a18e9a9cd7ea278f 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/trite.class.php';
index 74e5aad7ba18cc0e9fe37b54e1fb25df19ec405d..bee6b77bdd804f8eec0181bb8b48727430c7bda4 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/possessed.class.php';
index 27a891400d00457d5a05a5999c8d5df0a04dff87..90f16c913c87646e05b5cfcd461ffa1199621f57 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/possessed.class.php';
index 5e64236d22e03d5154a63e516c2d1b49e6bf800a..f91045f0efea34ef5f7c8ad9439a379c0527968a 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 $TemplateData['bibVersion'] = BIB_VERSION;
index b88c782c220679b26f26c95ac394c66c8d48be48..c0aa379ecbee1005bf86498b9c6b311b76a88c09 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 ## optional context action
index 885d27514048f124ed61fcb315b36823f19d5a4c..1bfb80a8a767323b8f57552b805260c3e199a0fe 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 if(isset($TemplateData['message']['content'])) {
index a5579b6bc693803331e56855b5b19226373f8cf4..00f2e2dbd239449c3b602f0b6564212880b42f9d 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/mancubus.class.php';
index fd7028c70516beeb7709502b01c751f4a69951a1..6f2b411a9fce2b73d9c42a4fb27cf867a9b2b760 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 0491e96de6b3427a2fdb565cbfdf360f63bab722..33a6f2102b190a7a2655cb90e39b64772aed5ec9 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index daae51735c68143f42b2e4f181c77bce4e8838dc..97d9b3dd289f640fb1b3b514ae403603afe98761 100644 (file)
@@ -1,8 +1,11 @@
 <p><b><?php echo $I18n->t('tool.limitations'); ?></b></p>
 <p><?php echo $I18n->t('tool.limitations.override'); ?></p>
 <p>
-       <?php echo $I18n->t('tool.imdb.posters'); ?> <a href="http://www.impawards.com/" target=_blank>impawards</a><br />
        <?php echo $I18n->t('tool.imdb.search.hint'); ?>
+
+</p>
+<p>
+       <?php echo $I18n->t('tool.imdb.posters'); ?> <a href="http://www.impawards.com/" target=_blank>impawards</a
 </p>
 
 <form class="uk-form-horizontal uk-margin-small" method="post" enctype="multipart/form-data">
@@ -10,6 +13,7 @@
                <label class="uk-form-label" for="search"><?php echo $I18n->t('tool.imdb.search'); ?></label>
                <div class="uk-form-controls">
                        <input class="uk-input" id="search" type="text" autocomplete="off"
+                                       placeholder="tt123456790"
                                   name="fdata[search]"
                                   value="<?php echo $TemplateData['editEntry']['title'] ?? ''; ?>"
                        >
index 2189542de7d637f3af2f8772230f6d754a73469a..ccb08950516c80b93d74f76e21705a3bfbea47e1 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
@@ -23,6 +23,7 @@
  * Requirements and more information come from the main tool.php file
  */
 
+/*
 require_once 'lib/imdbwebparser.class.php';
 if(file_exists(PATH_ABSOLUTE.'/config/config-imdbweb.php')) {
        require_once 'config/config-imdbweb.php';
@@ -37,6 +38,20 @@ $IMDB = new IMDB(array(
        'browserAccept' => TOOL_IMDBWEB_BROWSER_ACCEPT,
        'debug' => false
 ));
+*/
+
+require_once 'lib/imdbweb.class.php';
+if(file_exists(PATH_ABSOLUTE.'/config/config-imdbweb.php')) {
+    require_once 'config/config-imdbweb.php';
+}
+$IMDB = new IMDBWEB(array(
+    'storage' => TOOL_IMDBWEB_CACHE_STORAGE,
+    'browserAgent' => TOOL_IMDBWEB_BROWSER_AGENT,
+    'browserLang' => TOOL_IMDBWEB_BROWSER_ACCEPT_LANG,
+    'browserAccept' => TOOL_IMDBWEB_BROWSER_ACCEPT,
+    'attributes' => TOOL_IMDBWEB_ATTRIBUTES,
+    'debug' => DEBUG
+));
 
 
 $TemplateData['movieData'] = array();
@@ -59,16 +74,12 @@ if(isset($_POST['submitFormSearch'])) {
                $search = Summoner::validate($search) ? $search : false;
 
                if(!empty($search)) {
-                       try {
-                               $IMDB->search($search);
-                       }
-                       catch (Exception $e) {
-                               if(DEBUG) Summoner::sysLog("[DEBUG] imdb search catch: ".$e->getMessage());
-                       }
+            $mData = $IMDB->search($search);
+            var_dump($mData);
 
-                       if ($IMDB->isReady) {
-                               $TemplateData['movieData'] = $IMDB->getAll();
-                               $TemplateData['movieImdbId'] = "tt".$IMDB->iId; // this is the IMDB id you can search for
+                       if (!empty($mData)) {
+                               $TemplateData['movieData'] = $mData;
+                               $TemplateData['movieImdbId'] = "tt"; // this is the IMDB id you can search for
                                $TemplateData['showMatchingForm'] = true;
                        } else {
                                $TemplateData['message']['content'] = $I18n->t('global.message.nothingFound');
@@ -90,7 +101,7 @@ if(isset($_POST['submitFormSave'])) {
 
                if(!empty($_imdbId)) {
                        try {
-                               $IMDB->search($_imdbId); // cache used
+                               $IMDB->search($_imdbId);
                        }
                        catch (Exception $e) {
                                if(DEBUG) Summoner::sysLog("[DEBUG] imdb search catch: ".$e->getMessage());
index 268203f2b007fe8e174b769e4ec8c210c88e734e..94239e821610661fef75b7ce0d52edb81c185183 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 /**
index 995ddd71dd5b9567b65af8efcffdc8aadaf2f26f..a9329d7cd018c772777d1cec1dda6daf13798a6a 100644 (file)
@@ -15,7 +15,7 @@
  *  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, see http://www.gnu.org/licenses/gpl-3.0.
+ *  along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0
  */
 
 require_once 'lib/tentacle.class.php';