[mythtv-users] mythweb screenshots
Chris Delis
cedelis at uillinois.edu
Sun Mar 28 08:32:58 EST 2004
On Sun, Mar 28, 2004 at 02:15:05PM +0200, Milan van den Muyzenberg wrote:
> I just installed the mythweb patch and it works great. One minor modification I had to make was to change both <img src="... lines to <img border=0 src="... If I don't do this, a border appears around the small arrows, which I personally don't like.
Thanks. Good catch! I didn't notice this because I'm using Opera as
my brower. Once I fired up Mozilla, I was able to see the border which
is not what I had intended.
>
> Thanks for the patch!
>
> --
> Best regards,
> Milan
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
Index: mythweb/themes/Default/program_listing.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb/themes/Default/program_listing.php,v
retrieving revision 1.20
diff -u -r1.20 program_listing.php
--- mythweb/themes/Default/program_listing.php 17 Feb 2004 03:31:27 -0000 1.20
+++ mythweb/themes/Default/program_listing.php 28 Mar 2004 13:30:46 -0000
@@ -268,6 +268,12 @@
$mouseover .= 'return true;"';
// Print a link to record this show
echo '<a id="program_'.$program_id_counter.'" href="program_detail.php?chanid='.$program->chanid.'&starttime='.$program->starttime.'"'.$mouseover.'>';
+
+ // Is this program 'Already in Progress'?
+ $display_starttime = $list_starttime - $timeslots_used * timeslot_size;
+ if ($program->starttime <= $display_starttime - timeslot_blocks * timeslot_size)
+ echo '<img border="0" src="themes/Default/img/leftwhite.png">';
+
if ($percent > 5) {
echo $program->title;
if (strlen($program->subtitle) > 0) {
@@ -301,6 +307,11 @@
// Finally, print some other information
if ($program->previouslyshown)
echo "<BR><i>(Rerun)</i>";
+
+ // Does this program 'Continue'?
+ if ($program->endtime >= $list_starttime + timeslot_blocks * timeslot_size)
+ echo '<img border="0" src="themes/Default/img/rightwhite.png">';
+
?></td>
<?php
}
More information about the mythtv-users
mailing list