Ticket #4367: mythweb.2.patch

File mythweb.2.patch, 1.5 KB (added by Oleksiy Kokachev <lelikv@…>, 12 years ago)

Final version.

  • mythweb/modules/video/tmpl/default/video.php

     
    373373        <div id="<?php echo $video->intid; ?>_categoryid" class="hidden"><?php echo $video->category; ?></div>
    374374        <div id="<?php echo $video->intid; ?>_genre" class="hidden"><?php if (count($video->genres)) foreach ($video->genres as $genre) echo ' '.$genre.' ';?></div>
    375375        <div id="<?php echo $video->intid; ?>_browse" class="hidden"><?php echo $video->browse; ?></div>
    376         <div id="<?php echo $video->intid; ?>-title" class="title"><a href="<?php echo $video->url; ?>"><?php echo htmlentities($video->title); ?></a></div>
     376        <div id="<?php echo $video->intid; ?>-title" class="title"><a href="<?php echo $video->url; ?>"><?php echo htmlentities($video->title, ENT_COMPAT, 'UTF-8'); ?></a></div>
    377377        <div id="<?php echo $video->intid; ?>_img">                <img <?php if (show_video_covers && file_exists($video->cover_file)) echo 'src="data/video_covers/'.basename($video->cover_file).'"'; echo ' width="'.$video->cover_scaled_width.'" height="'.$video->cover_scaled_height.'"'; ?> alt="<?php echo t('Missing Cover'); ?>"></div>
    378378        <div id="<?php echo $video->intid; ?>-category">           <?php echo $Category_String[$video->category]; ?></div>
    379379        <div id="<?php echo $video->intid; ?>_playtime">           <?php echo nice_length($video->length * 60); ?></div>