Ticket #4557: mythweb-del-subtitleseparator.patch

File mythweb-del-subtitleseparator.patch, 759 bytes (added by otto at kolsi dot fi, 16 years ago)
  • modules/tv/tmpl/default/recorded.php

     
    112112    function confirm_delete(id, forget_old) {
    113113        var file = files[id];
    114114        if (confirm("<?php echo t('Are you sure you want to delete the following show?')
    115                     ?>\n\n     "+file.title+": "+file.subtitle)) {
     115                    ?>\n\n     "+file.title + ((file.subtitle == '') ? "" : ": " +file.subtitle))) {
    116116            var url = '<?php echo root ?>tv/recorded?delete=yes&chanid='+file.chanid
    117117                      +'&starttime='+file.starttime
    118118                      +(forget_old