Ticket #4481: mythweb-upcoming-icons2.patch

File mythweb-upcoming-icons2.patch, 7.6 KB (added by elkin@…, 16 years ago)

Patch

  • mythweb/skins/default/tv_upcoming.css

     
    8080}
    8181#listings td.-commands a {
    8282    display:            block;
    83     padding:            .25em .5em;
    8483    margin:             0;
     84    border:             0;
    8585}
    8686#listings td.-recording a {
    8787    border:             1px solid #0f0;
    8888}
    8989
     90
     91/* icons for commands */
     92#listings td.-commands a.default {
     93    height:             16px;
     94    width:              16px;
     95    background: url(/mythweb/skins/default/img/commands/default.png) no-repeat center left;
     96}
     97
     98#listings td.-commands a.never_record {
     99    height:             16px;
     100    width:              16px;
     101    background: url(/mythweb/skins/default/img/commands/never_record.png) no-repeat center left;
     102}
     103
     104#listings td.-commands a.activate {
     105    height:             16px;
     106    width:              16px;
     107    background: url(/mythweb/skins/default/img/commands/activate.png) no-repeat center left;
     108}
     109
     110#listings td.-commands a.dontrec {
     111    height:             16px;
     112    width:              16px;
     113    background: url(/mythweb/skins/default/img/commands/dontrec.png) no-repeat center left;
     114}
     115
     116#listings td.-commands a.record {
     117    height:             16px;
     118    width:              16px;
     119    background: url(/mythweb/skins/default/img/commands/record.png) no-repeat center left;
     120}
     121 Kein Zeilenvorschub am Ende der Datei
  • mythweb/modules/tv/tmpl/default/upcoming.php

    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/never_record.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/dontrec.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/activate.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/reload_page.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/default.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
    Kann nicht anzeigen: Dateityp ist als binÀr angegeben.
    svn:mime-type = application/octet-stream
    
    EigenschaftsÀnderungen: mythweb/skins/default/img/commands/forget_old.png
    ___________________________________________________________________
    Name: svn:mime-type
       + application/octet-stream
    
     
    210210        foreach ($commands as $key => $val) {
    211211            switch ($val) {
    212212                case 'dontrec':
    213                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?dontrec=yes"'
    214                                      .' title="'.html_entities(t('info: dont record')).'">'
    215                                      .t('Don\'t Record').'</a>';
     213                    $commands[$key] = '<a class=dontrec href="'.root.'tv/upcoming/'.$urlstr.'?dontrec=yes"'
     214                                     .' title="'.html_entities(t('Don\'t Record')).' '.html_entities(t('info: dont record')).'"></a>';
    216215                    break;
    217216                case 'never_record':
    218                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?never_record=yes"'
    219                                      .' title="'.html_entities(t('info:never record')).'">'
    220                                      .t('Never Record').'</a>';
     217                    $commands[$key] = '<a class=never_record href="'.root.'tv/upcoming/'.$urlstr.'?never_record=yes"'
     218                                     .' title="'.html_entities(t('Never Record')).' '.html_entities(t('info: never record')).'"></a>';
    221219                    break;
    222220                case 'record':
    223                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?record=yes"'
    224                                      .' title="'.html_entities(t('info: record this')).'">'
    225                                      .t('Record This').'</a>';
     221                    $commands[$key] = '<a class=record href="'.root.'tv/upcoming/'.$urlstr.'?record=yes"'
     222                                     .' title="'.html_entities(t('Record This')).html_entities(t('info: record this')).'"></a>';
    226223                    break;
    227224                case 'forget_old':
    228                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?forget_old=yes"'
    229                                      .' title="'.html_entities(t('info:forget old')).'">'
    230                                      .t('Forget Old').'</a>';
     225                    $commands[$key] = '<a class=forget_old href="'.root.'tv/upcoming/'.$urlstr.'?forget_old=yes"'
     226                                     .' title="'.html_entities(t('Forget Old')).' '.html_entities(t('info:forget old')).'"></a>';
    231227                    break;
    232228                case 'activate':
    233                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?record=yes"'
    234                                      .' title="'.html_entities(t('info: activate recording')).'">'
    235                                      .t('Activate').'</a>';
     229                    $commands[$key] = '<a class=activate href="'.root.'tv/upcoming/'.$urlstr.'?record=yes"'
     230                                     .' title="'.html_entities(t('Activate')).' '.html_entities(t('info: activate recording')).'"></a>';
    236231                    break;
    237232                case 'default':
    238                     $commands[$key] = '<a href="'.root.'tv/upcoming/'.$urlstr.'?default=yes"'
    239                              .' title="'.html_entities(t('info: default recording')).'">'
    240                              .t('Default').'</a>';
     233                    $commands[$key] = '<a class=default href="'.root.'tv/upcoming/'.$urlstr.'?default=yes"'
     234                             .' title="'.html_entities(t('Default')).' '.html_entities(t('info: default recording')).'"></a>';
    241235                    break;
    242236            }
    243237        }