From 6827d330935e89a9a1a498a92bdf7f62cb0167b2 Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 18 Nov 2025 00:32:32 +0100 Subject: [PATCH] fixing some text formatting Signed-off-by: Banana --- webclient/api.php | 2 +- .../config/config-googlebooks.php.default | 2 +- .../config/config-musicbrainz.php.default | 2 +- webclient/config/config.php.default | 2 +- webclient/i18n/deu.ini | 6 ++-- webclient/i18n/eng.ini | 4 +-- webclient/index.php | 2 +- webclient/lib/doomguy.class.php | 2 +- webclient/lib/googlebookparser.class.php | 2 +- webclient/lib/gorenest.class.php | 2 +- .../lib/managecollectionfields.class.php | 2 +- webclient/lib/managecollections.class.php | 2 +- webclient/lib/manageentry.class.php | 2 +- webclient/lib/managetags.class.php | 2 +- webclient/lib/mancubus.class.php | 2 +- webclient/lib/musicbrainz.class.php | 2 +- webclient/lib/possessed.class.php | 2 +- webclient/lib/spectre.class.php | 2 +- webclient/lib/summoner.class.php | 2 +- webclient/lib/tentacle.class.php | 2 +- webclient/lib/trite.class.php | 2 +- webclient/setup/index.php | 2 +- webclient/view/98/system/menu.php | 2 +- webclient/view/98/system/message.php | 2 +- .../default/advancedsearch/advancedsearch.php | 2 +- webclient/view/default/auth/auth.php | 2 +- webclient/view/default/bulkedit/bulkedit.php | 2 +- .../view/default/collections/collections.php | 2 +- .../view/default/dashboard/dashboard.php | 2 +- webclient/view/default/entry/entry.php | 2 +- .../managecollectionfields.php | 2 +- .../managecolletions/managecolletions.php | 2 +- .../view/default/manageentry/manageentry.php | 2 +- .../default/managegroups/managegroups.php | 2 +- .../view/default/managetags/managetags.php | 2 +- .../view/default/manageusers/manageusers.php | 2 +- webclient/view/default/profile/profile.php | 2 +- webclient/view/default/sysinfo/sysinfo.php | 2 +- webclient/view/default/system/menu.php | 2 +- webclient/view/default/system/message.php | 2 +- webclient/view/default/tags/tags.php | 2 +- webclient/view/default/tool/tool-gameinfo.php | 2 +- .../view/default/tool/tool-googlebooks.php | 2 +- webclient/view/default/tool/tool-imdbweb.html | 6 +++- webclient/view/default/tool/tool-imdbweb.php | 33 ++++++++++++------- .../view/default/tool/tool-musicbrainz.php | 2 +- webclient/view/default/tool/tool.php | 2 +- 47 files changed, 75 insertions(+), 60 deletions(-) diff --git a/webclient/api.php b/webclient/api.php index 7a2ec6a..63bacd4 100644 --- a/webclient/api.php +++ b/webclient/api.php @@ -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'; diff --git a/webclient/config/config-googlebooks.php.default b/webclient/config/config-googlebooks.php.default index 2a4a645..56d7fac 100644 --- a/webclient/config/config-googlebooks.php.default +++ b/webclient/config/config-googlebooks.php.default @@ -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 */ /** diff --git a/webclient/config/config-musicbrainz.php.default b/webclient/config/config-musicbrainz.php.default index 7f62ffa..134f551 100644 --- a/webclient/config/config-musicbrainz.php.default +++ b/webclient/config/config-musicbrainz.php.default @@ -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 */ /** diff --git a/webclient/config/config.php.default b/webclient/config/config.php.default index ab393e1..dfc2ee5 100644 --- a/webclient/config/config.php.default +++ b/webclient/config/config.php.default @@ -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 diff --git a/webclient/i18n/deu.ini b/webclient/i18n/deu.ini index a644c90..b706dee 100644 --- a/webclient/i18n/deu.ini +++ b/webclient/i18n/deu.ini @@ -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" diff --git a/webclient/i18n/eng.ini b/webclient/i18n/eng.ini index 72d97db..df48881 100644 --- a/webclient/i18n/eng.ini +++ b/webclient/i18n/eng.ini @@ -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" diff --git a/webclient/index.php b/webclient/index.php index f7d1c8f..cf25151 100644 --- a/webclient/index.php +++ b/webclient/index.php @@ -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'; diff --git a/webclient/lib/doomguy.class.php b/webclient/lib/doomguy.class.php index a422ec1..c046ac2 100644 --- a/webclient/lib/doomguy.class.php +++ b/webclient/lib/doomguy.class.php @@ -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 */ /** diff --git a/webclient/lib/googlebookparser.class.php b/webclient/lib/googlebookparser.class.php index 2d96612..4858219 100644 --- a/webclient/lib/googlebookparser.class.php +++ b/webclient/lib/googlebookparser.class.php @@ -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 */ /** diff --git a/webclient/lib/gorenest.class.php b/webclient/lib/gorenest.class.php index 540cc5d..32e5310 100644 --- a/webclient/lib/gorenest.class.php +++ b/webclient/lib/gorenest.class.php @@ -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 */ /** diff --git a/webclient/lib/managecollectionfields.class.php b/webclient/lib/managecollectionfields.class.php index 9709e30..c754b11 100644 --- a/webclient/lib/managecollectionfields.class.php +++ b/webclient/lib/managecollectionfields.class.php @@ -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 */ /** diff --git a/webclient/lib/managecollections.class.php b/webclient/lib/managecollections.class.php index bb12041..aec5f5e 100644 --- a/webclient/lib/managecollections.class.php +++ b/webclient/lib/managecollections.class.php @@ -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 */ /** diff --git a/webclient/lib/manageentry.class.php b/webclient/lib/manageentry.class.php index 3f9f580..8ee26be 100644 --- a/webclient/lib/manageentry.class.php +++ b/webclient/lib/manageentry.class.php @@ -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 { diff --git a/webclient/lib/managetags.class.php b/webclient/lib/managetags.class.php index 13f2d8b..d669f53 100644 --- a/webclient/lib/managetags.class.php +++ b/webclient/lib/managetags.class.php @@ -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 */ /** diff --git a/webclient/lib/mancubus.class.php b/webclient/lib/mancubus.class.php index 89a7707..9a5be60 100644 --- a/webclient/lib/mancubus.class.php +++ b/webclient/lib/mancubus.class.php @@ -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 */ /** diff --git a/webclient/lib/musicbrainz.class.php b/webclient/lib/musicbrainz.class.php index 58602b8..67fd1be 100644 --- a/webclient/lib/musicbrainz.class.php +++ b/webclient/lib/musicbrainz.class.php @@ -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 */ /** diff --git a/webclient/lib/possessed.class.php b/webclient/lib/possessed.class.php index dabd638..d3e422c 100644 --- a/webclient/lib/possessed.class.php +++ b/webclient/lib/possessed.class.php @@ -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 */ /** diff --git a/webclient/lib/spectre.class.php b/webclient/lib/spectre.class.php index 0553142..9905195 100644 --- a/webclient/lib/spectre.class.php +++ b/webclient/lib/spectre.class.php @@ -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 */ /** diff --git a/webclient/lib/summoner.class.php b/webclient/lib/summoner.class.php index 5a173dc..7acec10 100644 --- a/webclient/lib/summoner.class.php +++ b/webclient/lib/summoner.class.php @@ -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 */ /** diff --git a/webclient/lib/tentacle.class.php b/webclient/lib/tentacle.class.php index 3ec0c19..28b6ac7 100644 --- a/webclient/lib/tentacle.class.php +++ b/webclient/lib/tentacle.class.php @@ -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 */ /** diff --git a/webclient/lib/trite.class.php b/webclient/lib/trite.class.php index e7cb7ec..3e90d9a 100644 --- a/webclient/lib/trite.class.php +++ b/webclient/lib/trite.class.php @@ -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 */ /** diff --git a/webclient/setup/index.php b/webclient/setup/index.php index ba9b24e..9f03243 100644 --- a/webclient/setup/index.php +++ b/webclient/setup/index.php @@ -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 */ /** diff --git a/webclient/view/98/system/menu.php b/webclient/view/98/system/menu.php index 87d04da..c32757a 100644 --- a/webclient/view/98/system/menu.php +++ b/webclient/view/98/system/menu.php @@ -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 diff --git a/webclient/view/98/system/message.php b/webclient/view/98/system/message.php index f47b9ff..b60697b 100644 --- a/webclient/view/98/system/message.php +++ b/webclient/view/98/system/message.php @@ -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'])) { diff --git a/webclient/view/default/advancedsearch/advancedsearch.php b/webclient/view/default/advancedsearch/advancedsearch.php index ffa1c79..5f69fc6 100644 --- a/webclient/view/default/advancedsearch/advancedsearch.php +++ b/webclient/view/default/advancedsearch/advancedsearch.php @@ -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'; diff --git a/webclient/view/default/auth/auth.php b/webclient/view/default/auth/auth.php index 3e2e863..2420613 100644 --- a/webclient/view/default/auth/auth.php +++ b/webclient/view/default/auth/auth.php @@ -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); diff --git a/webclient/view/default/bulkedit/bulkedit.php b/webclient/view/default/bulkedit/bulkedit.php index d223abf..3d4fd69 100644 --- a/webclient/view/default/bulkedit/bulkedit.php +++ b/webclient/view/default/bulkedit/bulkedit.php @@ -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'; diff --git a/webclient/view/default/collections/collections.php b/webclient/view/default/collections/collections.php index be9fd73..9d23f70 100644 --- a/webclient/view/default/collections/collections.php +++ b/webclient/view/default/collections/collections.php @@ -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'; diff --git a/webclient/view/default/dashboard/dashboard.php b/webclient/view/default/dashboard/dashboard.php index a7a9eed..bb7779c 100644 --- a/webclient/view/default/dashboard/dashboard.php +++ b/webclient/view/default/dashboard/dashboard.php @@ -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'; diff --git a/webclient/view/default/entry/entry.php b/webclient/view/default/entry/entry.php index c8a6752..25738ad 100644 --- a/webclient/view/default/entry/entry.php +++ b/webclient/view/default/entry/entry.php @@ -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'; diff --git a/webclient/view/default/managecollectionfields/managecollectionfields.php b/webclient/view/default/managecollectionfields/managecollectionfields.php index 66e23c9..91a1c3d 100644 --- a/webclient/view/default/managecollectionfields/managecollectionfields.php +++ b/webclient/view/default/managecollectionfields/managecollectionfields.php @@ -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 */ /** diff --git a/webclient/view/default/managecolletions/managecolletions.php b/webclient/view/default/managecolletions/managecolletions.php index a4e8e79..d8095ff 100644 --- a/webclient/view/default/managecolletions/managecolletions.php +++ b/webclient/view/default/managecolletions/managecolletions.php @@ -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'; diff --git a/webclient/view/default/manageentry/manageentry.php b/webclient/view/default/manageentry/manageentry.php index 9c722d1..e2521f1 100644 --- a/webclient/view/default/manageentry/manageentry.php +++ b/webclient/view/default/manageentry/manageentry.php @@ -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'; diff --git a/webclient/view/default/managegroups/managegroups.php b/webclient/view/default/managegroups/managegroups.php index 6233254..88a3c6e 100644 --- a/webclient/view/default/managegroups/managegroups.php +++ b/webclient/view/default/managegroups/managegroups.php @@ -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'; diff --git a/webclient/view/default/managetags/managetags.php b/webclient/view/default/managetags/managetags.php index d6dac63..d6e2150 100644 --- a/webclient/view/default/managetags/managetags.php +++ b/webclient/view/default/managetags/managetags.php @@ -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'; diff --git a/webclient/view/default/manageusers/manageusers.php b/webclient/view/default/manageusers/manageusers.php index 74e5aad..bee6b77 100644 --- a/webclient/view/default/manageusers/manageusers.php +++ b/webclient/view/default/manageusers/manageusers.php @@ -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'; diff --git a/webclient/view/default/profile/profile.php b/webclient/view/default/profile/profile.php index 27a8914..90f16c9 100644 --- a/webclient/view/default/profile/profile.php +++ b/webclient/view/default/profile/profile.php @@ -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'; diff --git a/webclient/view/default/sysinfo/sysinfo.php b/webclient/view/default/sysinfo/sysinfo.php index 5e64236..f91045f 100644 --- a/webclient/view/default/sysinfo/sysinfo.php +++ b/webclient/view/default/sysinfo/sysinfo.php @@ -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; diff --git a/webclient/view/default/system/menu.php b/webclient/view/default/system/menu.php index b88c782..c0aa379 100644 --- a/webclient/view/default/system/menu.php +++ b/webclient/view/default/system/menu.php @@ -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 diff --git a/webclient/view/default/system/message.php b/webclient/view/default/system/message.php index 885d275..1bfb80a 100644 --- a/webclient/view/default/system/message.php +++ b/webclient/view/default/system/message.php @@ -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'])) { diff --git a/webclient/view/default/tags/tags.php b/webclient/view/default/tags/tags.php index a5579b6..00f2e2d 100644 --- a/webclient/view/default/tags/tags.php +++ b/webclient/view/default/tags/tags.php @@ -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'; diff --git a/webclient/view/default/tool/tool-gameinfo.php b/webclient/view/default/tool/tool-gameinfo.php index fd7028c..6f2b411 100644 --- a/webclient/view/default/tool/tool-gameinfo.php +++ b/webclient/view/default/tool/tool-gameinfo.php @@ -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 */ /** diff --git a/webclient/view/default/tool/tool-googlebooks.php b/webclient/view/default/tool/tool-googlebooks.php index 0491e96..33a6f21 100644 --- a/webclient/view/default/tool/tool-googlebooks.php +++ b/webclient/view/default/tool/tool-googlebooks.php @@ -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 */ /** diff --git a/webclient/view/default/tool/tool-imdbweb.html b/webclient/view/default/tool/tool-imdbweb.html index daae517..97d9b3d 100644 --- a/webclient/view/default/tool/tool-imdbweb.html +++ b/webclient/view/default/tool/tool-imdbweb.html @@ -1,8 +1,11 @@

t('tool.limitations'); ?>

t('tool.limitations.override'); ?>

- t('tool.imdb.posters'); ?> impawards
t('tool.imdb.search.hint'); ?> + +

+

+ t('tool.imdb.posters'); ?> impawards

@@ -10,6 +13,7 @@
diff --git a/webclient/view/default/tool/tool-imdbweb.php b/webclient/view/default/tool/tool-imdbweb.php index 2189542..ccb0895 100644 --- a/webclient/view/default/tool/tool-imdbweb.php +++ b/webclient/view/default/tool/tool-imdbweb.php @@ -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()); diff --git a/webclient/view/default/tool/tool-musicbrainz.php b/webclient/view/default/tool/tool-musicbrainz.php index 268203f..94239e8 100644 --- a/webclient/view/default/tool/tool-musicbrainz.php +++ b/webclient/view/default/tool/tool-musicbrainz.php @@ -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 */ /** diff --git a/webclient/view/default/tool/tool.php b/webclient/view/default/tool/tool.php index 995ddd7..a9329d7 100644 --- a/webclient/view/default/tool/tool.php +++ b/webclient/view/default/tool/tool.php @@ -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'; -- 2.39.5