Skip to content

Commit a50ca17

Browse files
committed
restrict TheMovieDB search in program detail to movies
1 parent 373cbde commit a50ca17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/tv/tmpl/default/detail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ function updateHomePage(item) {
498498
<th><?php echo t('More') ?>:</th>
499499
<td>
500500
<?php if ($schedule->title) { ?>
501-
<a href="http://www.themoviedb.org/search?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
501+
<a href="http://www.themoviedb.org/search/movie?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
502502
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'IMDB') ?></a>
503503
<a href="http://www.thetvdb.com/?string=<?php echo urlencode($schedule->title) ?>&searchseriesid=&tab=listseries&function=Search"><?php echo t('Search $1', 'TheTVDB') ?></a>
504504
<a href="http://www.tv.com/search.php?type=11&stype=all&qs=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'TV.com') ?></a>

modules/tv/tmpl/lite/detail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</div>
6666
<div id="external_searches">
6767
(<?php echo t('Search') ?>: &nbsp;
68-
<a href="http://www.themoviedb.org/search?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
68+
<a href="http://www.themoviedb.org/search/movie?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
6969
&nbsp;-&nbsp;
7070
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('IMDB') ?></a>
7171
&nbsp;-&nbsp;

0 commit comments

Comments
 (0)