Index: themes/default/video/video.php =================================================================== --- themes/default/video/video.php (revision 8312) +++ themes/default/video/video.php (working copy) @@ -58,7 +58,7 @@
@@ -76,8 +76,8 @@ foreach ($All_Shows as $show) { ?> | |
coverfile))) - echo '.'; + if (show_video_covers && file_exists(video_img_path.'/'.basename($show->coverfile))) + echo ''; else echo ' '; ?> | Index: themes/default/tv/list.php =================================================================== --- themes/default/tv/list.php (revision 8312) +++ themes/default/tv/list.php (working copy) @@ -145,7 +145,7 @@ if (is_file($channel->icon)) { ?>channum.' '.$channel->callsign) ?>')" - onmouseout="return wstatus('')">icon" ?>" height="30" width="30"> Index: config/conf.php =================================================================== --- config/conf.php (revision 8312) +++ config/conf.php (working copy) @@ -115,6 +115,13 @@ define('pixmap_width', 160); define('pixmap_height', 120); +/* + + The following constants are defined for the videos page + +*/ + define('show_video_covers', true); + // height and width of generated pixmaps for video thumbnails define('video_img_width', 94); define('video_img_height', 140); Index: mythweb.php =================================================================== --- mythweb.php (revision 8312) +++ mythweb.php (working copy) @@ -24,7 +24,8 @@ require_once 'modules/'.$Path[0].'/handler.php'; } elseif (!empty($Path[0]) && preg_match('/\w/', $Path[0])) { - require_once 'templates/_unknown_module.php'; + if (readfile(implode('/', $Path)) === false) + require_once 'templates/_unknown_module.php'; } else { # check to make sure the user didn't want the old style page