Ticket #516: quotes.diff

File quotes.diff, 2.5 KB (added by ciaranj+mythtv@…, 20 years ago)

Patch file of the change.

  • themes/Default/program_listing.php

     
    153153        ?><table class="small" width="100%" border="0" cellspacing="0" cellpadding="2">
    154154        <tr>
    155155            <td width="50%" align="center" nowrap><a href="channel_detail.php?chanid=<?php echo $channel->chanid?>&time=<?php echo $start_time?>" class="huge"
    156                                             onmouseover="return wstatus('Details for: <?php echo preg_replace("/([\"'])/", '\\$1', $channel->channum.' '.$channel->callsign) ?>')"
     156                                            onmouseover="return wstatus('Details for: <?php echo preg_replace("/([\"'])/", '\\\$1', $channel->channum.' '.$channel->callsign) ?>')"
    157157                                            onmouseout="return wstatus('')"><?php echo prefer_channum ? $channel->channum : $channel->callsign?></a>&nbsp;</td>
    158158            <td width="50%" align="right"><?php
    159159                if (is_file($channel->icon)) {
    160160                    ?><a href="channel_detail.php?chanid=<?php echo $channel->chanid?>&time=<?php echo $start_time?>"
    161                         onmouseover="return wstatus('<? echo t('Details for')?>: <?php echo preg_replace("/([\"'])/", '\\$1', $channel->channum.' '.$channel->callsign) ?>')"
     161                        onmouseover="return wstatus('<? echo t('Details for')?>: <?php echo preg_replace("/([\"'])/", '\\\$1', $channel->channum.' '.$channel->callsign) ?>')"
    162162                        onmouseout="return wstatus('')"><img src="<?php echo $channel->icon?>" height="30" width="30"></a><?php
    163163                } else {
    164164                    echo '&nbsp;';
    165165                }?></td>
    166166        </tr><tr>
    167167            <td colspan="2" align="center" nowrap><a href="channel_detail.php?chanid=<?php echo $channel->chanid?>&time=<?php echo $start_time?>"
    168                                             onmouseover="window.status='Details for: <?php echo $channel->channum?> <?php echo $channel->callsign?>';return true"
     168                                            onmouseover="window.status='Details for: <?php echo preg_replace("/([\"'])/", '\\\$1', $channel->channum.' '. $channel->callsign) ?>';return true"
    169169                                            onmouseout="window.status='';return true"><?php echo prefer_channum ? $channel->callsign : $channel->channum?></a></td>
    170170        </tr>
    171171        </table><?php