[mythtv-commits] Ticket #3717: mythweb detail page can link to /tv/schedules/custom for manual schedules
MythTV
mythtv at cvs.mythtv.org
Wed Jul 11 17:15:01 UTC 2007
#3717: mythweb detail page can link to /tv/schedules/custom for manual schedules
-------------------------------------------------------+--------------------
Reporter: Tom Dexter <digitalaudiorock at hotmail.com> | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: unknown
Severity: low | Mlocked: 0
-------------------------------------------------------+--------------------
If a manual schedule has been created using the same title as appears in
the guide for that channel and time, the detail page (in the link labeled
'Schedule via <title>') links to it as though it was a custom schedule
rather than a manual one.
It appears this is in this part of the
mythweb/modules/tv/tmpl/*/detail.php code:
<label for="record_never"><?php
if ($schedule->search)
echo t('Schedule via $1.',
'<a
href='.root.'tv/schedules/custom/'.$schedule->recordid.'>'
.$schedule->search_title.'</a>');
elseif ($schedule->recordid)
echo t('Cancel this schedule.');
else
echo t('Don\'t record this program.');
?></label></li>
In the case where the $schedule->search is searchtype_manual the link
should use /manual rather than /custom.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3717>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list