Ticket #959: mythweb.conflict_fix.diff

File mythweb.conflict_fix.diff, 1.4 KB (added by Robert Tsai <rtsai1111>, 18 years ago)
  • mythweb/themes/default/tv/detail.php

     
    186186            echo "    <div id=\"conflicting_shows\" class=\"clearfix\">\n        ",
    187187                 t('Possible conflicts with this show'),
    188188                 ":\n        <table>\n        ";
     189            // A program id counter for popup info
     190            $program_id_counter = 0;
    189191            foreach ($conflicting_shows as $show) {
    190192            // Set the class to be used to display the recording status character
    191193                $rec_class = implode(' ', array(recstatus_class($show), $show->recstatus));
     
    199201                    case 'PreviousRecording':
    200202                    case 'CurrentRecording':
    201203                    case 'Repeat':
     204                    case 'Recorded':
    202205                        $class = 'duplicate';
    203206                        break;
    204207                    case 'Conflict':
     
    217220                        break;
    218221                }
    219222
    220             // A program id counter for popup info
    221                 if (show_popup_info) {
    222                     $program_id_counter = 0;
    223                     $program_id_counter++;
    224                 }
     223                $program_id_counter++;
    225224
    226225            // Print the content
    227226        ?><tr class="<?php echo $class ?>">