Permalink
Browse files

restrict TheMovieDB search in program detail to movies

  • Loading branch information...
dekarl committed Jun 8, 2013
1 parent 373cbde commit a50ca17baa65a8f98510bc6f94a602f3815fb443
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/tv/tmpl/default/detail.php
  2. +1 −1 modules/tv/tmpl/lite/detail.php
@@ -498,7 +498,7 @@ function updateHomePage(item) {
<th><?php echo t('More') ?>:</th>
<td>
<?php if ($schedule->title) { ?>
<a href="http://www.themoviedb.org/search?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
<a href="http://www.themoviedb.org/search/movie?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'IMDB') ?></a>
<a href="http://www.thetvdb.com/?string=<?php echo urlencode($schedule->title) ?>&searchseriesid=&tab=listseries&function=Search"><?php echo t('Search $1', 'TheTVDB') ?></a>
<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>
@@ -65,7 +65,7 @@
</div>
<div id="external_searches">
(<?php echo t('Search') ?>: &nbsp;
<a href="http://www.themoviedb.org/search?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
<a href="http://www.themoviedb.org/search/movie?query=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
&nbsp;-&nbsp;
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('IMDB') ?></a>
&nbsp;-&nbsp;

0 comments on commit a50ca17

Please sign in to comment.