[mythtv] [PATCH]: make "Search IMDB" open a new window/tab
Ian Forde
ian at duckland.org
Thu Sep 25 18:15:20 EDT 2003
On Thu, 2003-09-25 at 17:08, Ian Forde wrote:
> Okay - so I'm a little biased. I use galeon and I'd rather the IMDB
> listings came up in a new tab rather than replacing the current mythweb
> window. This patch is against mythweb/Default/program_detail.php. It
> should also apply against mythweb/compact/program_detail.php.
New patch - I also made it apply to the "Search Google" as well as
"Search IMDB".
-I
--- program_detail.php 2003-09-25 17:12:20.000000000 -0700
+++ program_detail.php.orig 2003-09-25 17:02:01.000000000 -0700
@@ -56,9 +56,9 @@
if ($this_program->previouslyshown)
echo '(Rerun) ';
if ($this_program->category_type == 'movie')
- echo " (<a href=\"http://www.imdb.com/Find?select=Titles&for=" . urlencode($this_program->title) . "\" target=\"_blank\">Search IMDB</a>)";
+ echo " (<a href=\"http://www.imdb.com/Find?select=Titles&for=" . urlencode($this_program->title) . "\">Search IMDB</a>)";
else
- echo " (<a href=\"http://www.google.com/search?q=" . urlencode($this_program->title) . "\" target=\"_blank\">Search Google</a>)";
+ echo " (<a href=\"http://www.google.com/search?q=" . urlencode($this_program->title) . "\">Search Google</a>)";
?></span></td>
</tr><tr>
<td colspan="3"> </td>
--
__________________________________
Ian Forde, RHCE, CCSE, SCNA, SCDME
CYTBeN, Inc.
ian at duckland.org / ian at cytben.com
More information about the mythtv-dev
mailing list