<?php
/**
 * Welcome page description of the TV module.
 *
 * @url         $URL: http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythplugins/mythweb/modules/tv/tmpl/lite/welcome.php $
 * @date        $Date: 2009-08-01 23:50:00 -0500 (Sat, 01 Aug 2009) $
 * @version     $Revision: 21099 $
 * @author      $Author: kormoc $
 * @license     GPL
 *
 * @package     MythWeb
 * @subpackage  TV
 *
/**/

// Open with a div and an image
    echo '<div id="info_tv">',
         '<p>',
         '<a href="', root_url, Modules::getModuleProperity('tv', 'path'), '">',
         '<img src="', skin_url, '/img/tv.png" class="module_icon" border="0" />',
         '<h2>', Modules::getModuleProperity('tv', 'name'), '</h2></a>',
         '</p>',

// Print a basic overview of what this module does
         t('welcome: tv'),

// Next, print a list of possible subsectons
         '<ul>';
    foreach (Modules::getModuleProperity('tv', 'links') as $link => $name) {
        echo '    <li><a href="', root_url, Modules::getModuleProperity('tv', 'path'), '/', $link, '">', html_entities($name), "</a></li>\n";
    }
    echo '</ul>',

// Close the div
         "</div>\n";
