Skip to content

Commit

Permalink
Pad the episode number in Mythweb's Recorded view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McNamara committed Jul 9, 2011
1 parent bbb7b6b commit 987f60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tv/tmpl/default/recorded.php
Expand Up @@ -162,7 +162,7 @@
<td class="x-subtitle"><?php echo '<a href="', root_url, 'tv/detail/', $show->chanid, '/', $show->recstartts, '"'
.' title="', t('Recording Details'), '"'
.'>'.$show->subtitle.'</a>' ?></td>
<td class="x-seasep"><?php if ($show->episode > 0) {echo $show->season,'x',$show->episode;} ?></td>
<td class="x-seasep"><?php if ($show->episode > 0) {echo $show->season,'x',str_pad($show->episode,2,"0",STR_PAD_LEFT);} ?></td>
<td class="x-programid"><?php echo $show->programid ?></td>
<td class="x-originalairdate"><?php echo $show->airdate ?></td>
<td class="x-airdate"><?php echo strftime($_SESSION['date_recorded'], $show->starttime) ?></td><?php
Expand Down

0 comments on commit 987f60f

Please sign in to comment.