Ticket #9713: MythWeb-ChannelIconEdits-v2.diff

File MythWeb-ChannelIconEdits-v2.diff, 5.6 KB (added by skd5aner <skd5aner@…>, 13 years ago)

Version 2 - additional tweaks

  • modules/tv/tmpl/default/recorded.php

    diff --git a/modules/tv/tmpl/default/recorded.php b/modules/tv/tmpl/default/recorded.php
    index fcb9133..6c225df 100644
    a b EOM; 
    169169    <td class="x-originalairdate"><?php echo $show->airdate ?></td>
    170170    <td class="x-airdate"><?php echo strftime($_SESSION['date_recorded'], $show->starttime) ?></td><?php
    171171        if ($_SESSION["show_channel_icons"] == true && !empty($show->channel->icon)) {
    172                 ?><td><a href="<?php echo root_url ?>tv/channel/<?php echo $show->channel->chanid, '/', $list_starttime ?>"
     172                ?><td class="x-chanicon" rowspan="2"><a href="<?php echo root_url ?>tv/channel/<?php echo $show->channel->chanid, '/', $list_starttime ?>"
    173173                    title="<?php echo t('Details for: $1', html_entities($show->channel->name)) ?>">
    174                     <img class="channelicon" src="<?php echo $show->channel->icon ?>" width=70></a></td><?php
     174                    <img class="channelicon" src="<?php echo $show->channel->icon ?>"></a></td><?php
    175175        } else {?>
    176             <td class="x-channum"><?php echo $show->channel->channum, ' - ', $show->channel->name ?></td><?php
     176            <td class="x-channum" rowspan="2"><?php echo $show->channel->channum, ' - ', $show->channel->name ?></td><?php
    177177        }
    178178    if ($recgroup_cols)
    179179        echo "    <td class=\"-recgroup\">$show->recgroup</td>\n";
    EOM; 
    208208<?php   } ?>
    209209        </td>
    210210</tr><tr id="statusrow_<?php echo $row ?>" class="recorded statusrow">
    211     <td colspan="6" valign="top"><?php echo $show->description ?></td>
     211    <td colspan="5" valign="top"><?php echo $show->description ?></td>
    212212    <td colspan="<?php echo 2 + $recgroup_cols ?>" class="x-progflags"><?php
    213213        // Auto expire is interactive
    214214            echo '<a onclick="set_autoexpire(', $row, ')" class="_autoexpire">',
    EOM; 
    226226            if ($show->hdtv)
    227227                echo '<img src="'.skin_url.'/img/flags/hd.png"          title="'.t('HD').'"                  alt="">';
    228228            if ($show->has_commflag)
    229                 echo '<img src="'.skin_url.'/img/flags/commflagged.png" title="'.t('Commercials Flagged').'" alt="">';
     229               echo '<img src="'.skin_url.'/img/flags/commflagged.png" title="'.t('Commercials Flagged').'" alt="">';
    230230            if ($show->has_cutlist)
    231231                echo '<img src="'.skin_url.'/img/flags/cutlist.png"     title="'.t('Has Cutlist').'"         alt="">';
    232232            if ($show->bookmark)
  • skins/clean_blue/tv_recorded.css

    diff --git a/skins/clean_blue/tv_recorded.css b/skins/clean_blue/tv_recorded.css
    index 7d206ce..46ed0cf 100644
    a b td.list { 
    132132    -moz-box-shadow:                    1px 1px 5px #999;
    133133        -webkit-box-shadow:                 1px 1px 5px #999;
    134134    box-shadow:                         1px 1px 5px #999;
     135    text-align:         center;
     136    display:            block;
     137    margin-left:        auto;
     138    margin-right:       auto;
     139    max-width:          70px;
     140    max-height:         70px;
     141    width:              expression(this.width > 70 ? "70px" : true);
     142    height:             expression(this.height > 70 ? "70px" : true);
     143}
     144
     145td.x-chanicon, td.x-channum
     146{
     147    border-bottom:                  1px solid #E4E4E4 !important;
    135148}
    136149
    137150tr.statusrow td,
  • skins/default/tv_recorded.css

    diff --git a/skins/default/tv_recorded.css b/skins/default/tv_recorded.css
    index 77b512a..1a24071 100644
    a b  
    111111    padding:            .25em .5em;
    112112    margin:             0 0 3px 0;
    113113}
     114#recorded_list td img.channelicon
     115{
     116    text-align:         center;
     117    display:            block;
     118    margin-left:        auto;
     119    margin-right:       auto;
     120    max-width:          70px;
     121    max-height:         70px;
     122    width:              expression(this.width > 70 ? "70px" : true);
     123    height:             expression(this.height > 70 ? "70px" : true);
     124}
    114125
    115126/* a class for the the cells containing recored programs in recorded_programs.php */
    116127.recorded {    background-color: #506080; }
  • skins/elkin/tv_recorded.css

    diff --git a/skins/elkin/tv_recorded.css b/skins/elkin/tv_recorded.css
    index efd070d..250a4f6 100644
    a b  
    133133    padding:            .25em .5em;
    134134    margin:             0 0 3px 0;
    135135}
     136#recorded_list td img.channelicon
     137{
     138    text-align:         center;
     139    display:            block;
     140    margin-left:        auto;
     141    margin-right:       auto;
     142    max-width:          70px;
     143    max-height:         70px;
     144    width:              expression(this.width > 70 ? "70px" : true);
     145    height:             expression(this.height > 70 ? "70px" : true);
     146}
    136147
    137148/* a class for the the cells containing recored programs in recorded_programs.php */
    138149.recorded {    background-color: #DDDDDD; }
  • skins/grey/tv_recorded.css

    diff --git a/skins/grey/tv_recorded.css b/skins/grey/tv_recorded.css
    index 43ab86a..332abec 100644
    a b  
    9494    border:             2px solid #000;
    9595    background-color:   #333;
    9696}
     97#recorded_list td img.channelicon
     98{
     99    text-align:         center;
     100    display:            block;
     101    margin-left:        auto;
     102    margin-right:       auto;
     103    max-width:          70px;
     104    max-height:         70px;
     105    width:              expression(this.width > 70 ? "70px" : true);
     106    height:             expression(this.height > 70 ? "70px" : true);
     107}
     108
    97109
    98110/* a class for the the cells containing recored programs in recorded_programs.php */
    99111.recorded {    background-color: #444; }