<?php
/**
 * Display template for Static Maps for the Weather module
 *
 * @url         $URL: http://svn.mythtv.org/svn/tags/release-0-24/mythplugins/mythweb/modules/weather/tmpl/default/weather.sm.php $
 * @date        $Date: 2010-05-31 13:05:12 -0700 (Mon, 31 May 2010) $
 * @version     $Revision: 24920 $
 * @author      $Author: kormoc $
 * @license     GPL
 *
 * @package     MythWeb
 * @subpackage  Weather
 *
/**/
?>

<?php
    $image = array_pop(split('/', $screen->data['map']));
    $matches = array();
    preg_match('/(.*)-\d*x\d*/', $image, $matches);
?>



    <div class="radar">
        <h2><?php echo $screen->data["smdesc"] ?></h2>

        <div class="radar_image">
            <center>
                <img name="static_map" src="<?php echo 'data/'. $matches[1] ?>" alt="<?php echo t('Static Map') ?>">
            </center>
        </div>
    </div>
