Ticket #9713: MythWeb-ChannelIconEdits.diff

File MythWeb-ChannelIconEdits.diff, 3.9 KB (added by skd5aner <skd5aner@…>, 13 years ago)
  • modules/tv/tmpl/default/recorded.php

    diff --git a/modules/tv/tmpl/default/recorded.php b/modules/tv/tmpl/default/recorded.php
    index fcb9133..5f6613d 100644
    a b EOM; 
    171171        if ($_SESSION["show_channel_icons"] == true && !empty($show->channel->icon)) {
    172172                ?><td><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 {?>
    176176            <td class="x-channum"><?php echo $show->channel->channum, ' - ', $show->channel->name ?></td><?php
    177177        }
  • skins/clean_blue/tv_recorded.css

    diff --git a/skins/clean_blue/tv_recorded.css b/skins/clean_blue/tv_recorded.css
    index 7d206ce..621782d 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);
    135143}
    136144
    137145tr.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; }