[mythtv-commits] Ticket #858: Clicking on a channel in the mythweb
listings brings back details from 1970
MythTV
mythtv at cvs.mythtv.org
Fri Dec 23 04:11:22 EST 2005
#858: Clicking on a channel in the mythweb listings brings back details from 1970
--------------------------------+-------------------------------------------
Reporter: abostock at gmail.com | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: 0.19
Component: mythweb | Version: head
Severity: low |
--------------------------------+-------------------------------------------
Using SVN 8355 Clicking on a channel name/logo/number in the mythweb
listings brings back details from 1970. The following patch fixes this,
the problem is just that ?chanid= is missing in the url.
{{{
--- ./themes/default/tv/list.php 2005-12-23 09:00:57.000000000
+0000
+++ /usr/local/mythtv/mythplugins/mythweb/themes/default/tv/list.php
2005-12-18 16:19:12.000000000 +0000
@@ -138,25 +138,25 @@
if (show_channel_icons === true) {
?><table class="small" width="100%" border="0" cellspacing="0"
cellpadding="2">
<tr>
- <td width="50%" align="center" nowrap><a href="<?php echo
root ?>tv/channel?chanid=<?php echo $channel->chanid ?>&time=<?php echo
$list_starttime ?>" class ="huge"
+ <td width="50%" align="center" nowrap><a href="<?php echo
root ?>tv/channel/<?php echo $channel->chanid ?>&time=<?php echo
$list_starttime ?>" class="huge"
onmouseover="return
wstatus('Details for: <?php echo preg_replace("/([\"'])/", '\\\$1',
$channel->channum.' '.$channel->cal lsign) ?>')"
onmouseout="return
wstatus('')"><?php echo prefer_channum ? $channel->channum :
$channel->callsign ?></a> </td>
<td width="50%" align="right"><?php
if (is_file($channel->icon)) {
- ?><a href="<?php echo root ?>tv/channel?chanid=<?php
echo $channel->chanid ?>&time=<?php echo $list_starttime ?>"
+ ?><a href="<?php echo root ?>tv/channel/<?php echo
$channel->chanid ?>&time=<?php echo $list_starttime ?>"
onmouseover="return wstatus('<?php echo
t('Details for') ?>: <?php echo preg_replace("/([\"'])/", '\\\$1',
$channel->channum.' '.$channel->call sign) ?>')"
onmouseout="return wstatus('')"><img src="<?php
echo $channel->icon ?>" height="30" width="30"></a><?php
} else {
echo ' ';
} ?></td>
</tr><tr>
- <td colspan="2" align="center" nowrap><a href="<?php echo
root ?>tv/channel?chanid=<?php echo $channel->chanid ?>&time=<?php echo
$list_starttime ?>"
+ <td colspan="2" align="center" nowrap><a href="<?php echo
root ?>tv/channel/<?php echo $channel->chanid ?>&time=<?php echo
$list_starttime ?>"
onmouseover="window.status='Details for: <?php echo
preg_replace("/([\"'])/", '\\\$1', $channel->channum.' '. $channel->cal
lsign) ?>';return true"
onmouseout="window.status='';return true"><?php echo prefer_channum ?
$channel->callsign : $channel->channum ?></a></td>
</tr>
</table><?php
} else {
- ?><a href="<?php echo root ?>tv/channel?chanid=<?php echo
$channel->chanid ?>" class="huge"
+ ?><a href="<?php echo root ?>tv/channel/<?php echo
$channel->chanid ?>" class="huge"
onmouseover="window.status='Details for: <?php echo
$channel->channum ?> <?php echo $channel->callsign ?>';return true"
onmouseout="window.status='';return true"><?php echo
prefer_channum ? $channel->channum : $channel->callsign ?><BR>
<?php echo prefer_channum ? $channel->callsign :
$channel->channum ?></a><?php
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/858>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list