Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Delete the weather stuff from mythweb -- if you want weather stuff fr…

…om your browser, use a real weather service.
  • Loading branch information...
commit a4c8b26945bf0beebd93e46f9eafc9baeff00dc7 1 parent c6591a2
@ex-nerd ex-nerd authored
Showing with 0 additions and 1,201 deletions.
  1. +0 −390 modules/weather/classes/WeatherScreen.php
  2. +0 −35 modules/weather/handler.php
  3. +0 −29 modules/weather/includes/weather_utils.php
  4. +0 −44 modules/weather/init.php
  5. +0 −211 modules/weather/set_screen.php
  6. +0 −128 modules/weather/tmpl/default/set_screen.php
  7. +0 −48 modules/weather/tmpl/default/weather.18h.php
  8. +0 −47 modules/weather/tmpl/default/weather.3d.php
  9. +0 −47 modules/weather/tmpl/default/weather.6d.php
  10. +0 −75 modules/weather/tmpl/default/weather.am.php
  11. +0 −50 modules/weather/tmpl/default/weather.cc.php
  12. +0 −45 modules/weather/tmpl/default/weather.php
  13. +0 −29 modules/weather/tmpl/default/weather.sm.php
  14. +0 −23 modules/weather/tmpl/default/welcome.php
  15. BIN  skins/clean_blue/img/weather/cloudy.png
  16. BIN  skins/clean_blue/img/weather/fair.png
  17. BIN  skins/clean_blue/img/weather/flurries.png
  18. BIN  skins/clean_blue/img/weather/fog.png
  19. BIN  skins/clean_blue/img/weather/lshowers.png
  20. BIN  skins/clean_blue/img/weather/mcloudy.png
  21. BIN  skins/clean_blue/img/weather/pcloudy.png
  22. BIN  skins/clean_blue/img/weather/rainsnow.png
  23. BIN  skins/clean_blue/img/weather/showers.png
  24. BIN  skins/clean_blue/img/weather/snowshow.png
  25. BIN  skins/clean_blue/img/weather/sunny.png
  26. BIN  skins/clean_blue/img/weather/thunshowers.png
  27. BIN  skins/clean_blue/img/weather/unknown.png
  28. BIN  skins/default/img/weather/cloudy.png
  29. BIN  skins/default/img/weather/fair.png
  30. BIN  skins/default/img/weather/flurries.png
  31. BIN  skins/default/img/weather/fog.png
  32. BIN  skins/default/img/weather/lshowers.png
  33. BIN  skins/default/img/weather/mcloudy.png
  34. BIN  skins/default/img/weather/pcloudy.png
  35. BIN  skins/default/img/weather/rainsnow.png
  36. BIN  skins/default/img/weather/showers.png
  37. BIN  skins/default/img/weather/snowshow.png
  38. BIN  skins/default/img/weather/sunny.png
  39. BIN  skins/default/img/weather/thunshowers.png
  40. BIN  skins/default/img/weather/unknown.png
  41. BIN  skins/elkin/img/weather/cloudy.png
  42. BIN  skins/elkin/img/weather/fair.png
  43. BIN  skins/elkin/img/weather/flurries.png
  44. BIN  skins/elkin/img/weather/fog.png
  45. BIN  skins/elkin/img/weather/lshowers.png
  46. BIN  skins/elkin/img/weather/mcloudy.png
  47. BIN  skins/elkin/img/weather/pcloudy.png
  48. BIN  skins/elkin/img/weather/rainsnow.png
  49. BIN  skins/elkin/img/weather/showers.png
  50. BIN  skins/elkin/img/weather/snowshow.png
  51. BIN  skins/elkin/img/weather/sunny.png
  52. BIN  skins/elkin/img/weather/thunshowers.png
  53. BIN  skins/elkin/img/weather/unknown.png
  54. BIN  skins/grey/img/weather/cloudy.png
  55. BIN  skins/grey/img/weather/fair.png
  56. BIN  skins/grey/img/weather/flurries.png
  57. BIN  skins/grey/img/weather/fog.png
  58. BIN  skins/grey/img/weather/lshowers.png
  59. BIN  skins/grey/img/weather/mcloudy.png
  60. BIN  skins/grey/img/weather/myth_logo.png
  61. BIN  skins/grey/img/weather/pcloudy.png
  62. BIN  skins/grey/img/weather/rainsnow.png
  63. BIN  skins/grey/img/weather/showers.png
  64. BIN  skins/grey/img/weather/snowshow.png
  65. BIN  skins/grey/img/weather/sunny.png
  66. BIN  skins/grey/img/weather/thunshowers.png
  67. BIN  skins/grey/img/weather/unknown.png
  68. BIN  skins/haze_dark/img/weather/cloudy.png
  69. BIN  skins/haze_dark/img/weather/fair.png
  70. BIN  skins/haze_dark/img/weather/flurries.png
  71. BIN  skins/haze_dark/img/weather/fog.png
  72. BIN  skins/haze_dark/img/weather/lshowers.png
  73. BIN  skins/haze_dark/img/weather/mcloudy.png
  74. BIN  skins/haze_dark/img/weather/myth_logo.png
  75. BIN  skins/haze_dark/img/weather/pcloudy.png
  76. BIN  skins/haze_dark/img/weather/rainsnow.png
  77. BIN  skins/haze_dark/img/weather/showers.png
  78. BIN  skins/haze_dark/img/weather/snowshow.png
  79. BIN  skins/haze_dark/img/weather/sunny.png
  80. BIN  skins/haze_dark/img/weather/thunshowers.png
  81. BIN  skins/haze_dark/img/weather/unknown.png
  82. BIN  skins/haze_light/img/weather/cloudy.png
  83. BIN  skins/haze_light/img/weather/fair.png
  84. BIN  skins/haze_light/img/weather/flurries.png
  85. BIN  skins/haze_light/img/weather/fog.png
  86. BIN  skins/haze_light/img/weather/lshowers.png
  87. BIN  skins/haze_light/img/weather/mcloudy.png
  88. BIN  skins/haze_light/img/weather/myth_logo.png
  89. BIN  skins/haze_light/img/weather/pcloudy.png
  90. BIN  skins/haze_light/img/weather/rainsnow.png
  91. BIN  skins/haze_light/img/weather/showers.png
  92. BIN  skins/haze_light/img/weather/snowshow.png
  93. BIN  skins/haze_light/img/weather/sunny.png
  94. BIN  skins/haze_light/img/weather/thunshowers.png
  95. BIN  skins/haze_light/img/weather/unknown.png
View
390 modules/weather/classes/WeatherScreen.php
@@ -1,390 +0,0 @@
-<?php
-/**
- * WeatherScreen class for MythWeb's Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-class WeatherScreen {
-
- var $screen_id;
- var $source_id;
- var $draworder;
- var $container;
- var $host;
- var $units;
- var $active;
-
- var $data = array();
- var $search = array();
-
- function WeatherScreen($screen_id) {
- global $db;
-
- $this->screen_id = $screen_id;
- $this->setActive();
-
- if ($this->active) {
- $sh = $db->query('SELECT weatherscreens.draworder,
- weatherscreens.container,
- weatherscreens.hostname,
- weatherscreens.units
- FROM weatherscreens
- WHERE weatherscreens.screen_id = ?',
- $this->screen_id
- );
-
- list($draworder, $container, $hostname, $units) = $sh->fetch_row();
-
- $this->draworder = $draworder;
- $this->container = $container;
- $this->host = $hostname;
- $this->units = $units;
-
- $this->source_id = $db->query_col('SELECT DISTINCT weatherdatalayout.weathersourcesettings_sourceid
- FROM weatherdatalayout
- WHERE weatherdatalayout.weatherscreens_screen_id = ?',
- $this->screen_id
- );
- }
- }
-
- function setActive() {
- $this->active = ( $this->checkScreenID() ? 1 : 0 );
- }
-
- function getSource( $source_id = NULL) {
- global $db;
-
- // If we get no source_id to lookup, use ours
- if ($source_id == NULL)
- $source_id = $this->source_id;
-
- $source_name = $db->query_col('SELECT weathersourcesettings.source_name
- FROM weathersourcesettings
- WHERE weathersourcesettings.sourceid = ?',
- $source_id
- );
- return $source_name;
- }
-
- function deleteScreen() {
- global $db;
-
- if (! $this->checkScreenID())
- return;
-
- $db->query('DELETE FROM weatherscreens
- WHERE weatherscreens.screen_id = ?
- AND weatherscreens.hostname = ?',
- $this->screen_id,
- $this->host
- );
-
- $db->query('DELETE FROM weatherdatalayout
- WHERE weatherdatalayout.weatherscreens_screen_id = ?',
- $this->screen_id
- );
-
- $this->active = 0;
- $this->renumDrawOrder();
-
- return;
- }
-
- function initNew($container, $hostname) {
- global $db;
-
- // Get next draworder
- $draworder = $db->query_col('SELECT MAX(weatherscreens.draworder)
- FROM weatherscreens
- WHERE weatherscreens.hostname = ?',
- $hostname
- );
-
- if (strlen($draworder) > 0 && $draworder >= 0)
- $draworder++;
- else
- $draworder = 0;
-
- // Insert screen
- $db->query('INSERT INTO weatherscreens
- SET weatherscreens.screen_id = NULL,
- weatherscreens.draworder = ?,
- weatherscreens.container = ?,
- weatherscreens.hostname = ?,
- weatherscreens.units = 0',
- $draworder,
- $container,
- $hostname
- );
-
- $this->setActive();
- $this->renumDrawOrder();
- }
-
- function renumDrawOrder( ) {
- global $db;
- $i = 0;
-
- $sh = $db->query('SELECT weatherscreens.screen_id
- FROM weatherscreens
- WHERE weatherscreens.hostname = ?
- ORDER BY weatherscreens.draworder',
- $this->host
- );
-
- while($id = $sh->fetch_col()) {
- $db->query('UPDATE weatherscreens
- SET weatherscreens.draworder = ?
- WHERE weatherscreens.hostname = ?
- AND weatherscreens.screen_id = ?',
- $i,
- $this->host,
- $id
- );
- $i++;
- }
- }
-
- function move( $direction ) {
- global $db;
-
- if ($direction == 'up') $i = -1;
- if ($direction == 'down') $i = 1;
-
- $db->query('UPDATE weatherscreens
- SET weatherscreens.draworder = ?
- WHERE weatherscreens.draworder = ?
- AND weatherscreens.hostname = ?',
- $this->draworder,
- ($this->draworder+$i),
- $this->host
- );
-
- $db->query('UPDATE weatherscreens
- SET weatherscreens.draworder = ?
- WHERE weatherscreens.screen_id = ?
- AND weatherscreens.hostname = ?',
- ($this->draworder+$i),
- $this->screen_id,
- $this->host
- );
-
- $this->renumDrawOrder();
- }
-
- function checkScreenID( ) {
- global $db;
-
- // Sanity check on screen_id
- if ($this->screen_id >= 0) {
- $count = $db->query_col('SELECT COUNT(weatherscreens.screen_id)
- FROM weatherscreens
- WHERE weatherscreens.screen_id = ?',
- $this->screen_id
- );
- if ($count != 0)
- return TRUE;
- }
- return FALSE;
- }
-
- function runSearch( $needle ) {
- global $db;
- if (!$this->checkScreenID())
- return;
-
- // Build container name to types hash
- //
- // TODO This is not the way to do this. All of this data is stored
- // in the weather-ui.xml file. Parsing it to get type descriptions
- // seems overkill.
-
- $type_hash['Animated Map'] = 'amdesc';
- $type_hash['Static Map'] = 'smdesc';
- $type_hash['Current Conditions'] = 'cclocation';
- $type_hash['Six Day Forecast'] = '6dlocation';
- $type_hash['Three Day Forecast'] = '3dlocation';
- $type_hash['Severe Weather Alerts'] = 'swlocation';
- $type_hash['18 Hour Forecast'] = '18hrlocation';
-
- // Run scripts that supply $this->container and search for $needle
- $sh = $db->query('SELECT weathersourcesettings.sourceid,
- weathersourcesettings.path,
- weathersourcesettings.types
- FROM weathersourcesettings
- WHERE weathersourcesettings.hostname = ?',
- $this->host
- );
-
- while (list($source_id, $script, $types) = $sh->fetch_row()) {
- $types_arr = explode(',', $types);
- foreach ($types_arr as $type) {
- if ($type_hash[$this->container] == $type) {
- $results = $this->runScript($script, '-l '.escapeshellarg($needle));
- if (count($results))
- $this->search[$source_id] = $results;
- }
- }
- }
-
- $sh->finish();
- }
-
- function getData( ) {
- global $db;
- if (!$this->checkScreenID())
- return;
-
- // Find script file for this screen_id
- $sh = $db->query('SELECT DISTINCT weathersourcesettings.path
- FROM weathersourcesettings,
- weatherdatalayout
- WHERE weatherdatalayout.weatherscreens_screen_id = ?
- AND weathersourcesettings_sourceid = weathersourcesettings.sourceid',
- $this->screen_id
- );
-
- $script = $sh->fetch_col();
- if (!isset($script))
- return;
-
- // Find location
- $sh = $db->query('SELECT DISTINCT weatherdatalayout.location
- FROM weatherdatalayout
- WHERE weatherdatalayout.weatherscreens_screen_id = ?',
- $this->screen_id
- );
- $location = $sh->fetch_col();
-
- // Generate args and run the script
- $units = $this->units == 0 ? 'SI' : 'ENG';
- $output_array = $this->runScript($script, '-u '. escapeshellarg($units) .' -d '. escapeshellarg(getcwd() .'/'. data ) .' '. escapeshellarg($location));
-
- // Query db data items
- $sh = $db->query('SELECT weatherdatalayout.dataitem
- FROM weatherdatalayout,
- weathersourcesettings
- WHERE weatherscreens_screen_id = ?
- AND weathersourcesettings_sourceid = weathersourcesettings.sourceid',
- $this->screen_id
- );
-
- // Populate data array
- while($dataitem = $sh->fetch_col())
- $this->data[$dataitem] = $output_array[$dataitem];
-
- // Convert day numbers to text, if necessary
- foreach (array_keys($this->data) as $key) {
- if (strpos($key, 'date-') !== false) {
- if (is_numeric($this->data[$key])) {
- switch ($this->data[$key]) {
- case 0: $this->data[$key] = t('Sunday'); break;
- case 1: $this->data[$key] = t('Monday'); break;
- case 2: $this->data[$key] = t('Tuesday'); break;
- case 3: $this->data[$key] = t('Wednesday'); break;
- case 4: $this->data[$key] = t('Thursday'); break;
- case 5: $this->data[$key] = t('Friday'); break;
- case 6: $this->data[$key] = t('Saturday'); break;
- }
- }
- }
- }
-
- }
-
- function runScript( $script, $args ) {
- $cwd = getcwd();
- $output_array = array();
-
- // Make sure the script exists
- if (!file_exists($script)) {
- custom_error("Could not find '$script'.\nThis most likely means that MythWeather is not installed on this host.");
- }
-
- // Separate path and filename of script
- $scratch = explode('/', $script);
- $script = array_pop($scratch);
- $path = implode('/', $scratch);
-
- if (chdir($path)) {
- $command = escapeshellcmd($script)." $args";
- $output = `./$command`;
- }
- else
- custom_error("Could not change active directory to $path.\n");
-
- if (! chdir($cwd))
- custom_error("Could not change active directory to $cwd.\n");
-
- // Split script output into an array
- $scratch = preg_split('/\n/', $output);
- foreach ($scratch as $line) {
- list($key, $var) = preg_split('/::/', $line);
- if (strlen($key))
- $output_array[$key] = trim($var);
- }
-
- return $output_array;
- }
-
- function updateLocation ( $source_id, $loc ) {
- global $db;
- if (!$this->checkScreenID() || strlen($loc) <= 0)
- return;
-
- // Does this location have settings?
- $has_settings = $db->query_col('SELECT COUNT(weatherdatalayout.weathersourcesettings_sourceid)
- FROM weatherdatalayout
- WHERE weatherdatalayout.weatherscreens_screen_id = ?',
- $this->screen_id
- );
-
- if ($has_settings)
- $db->query('UPDATE weatherdatalayout
- SET weatherdatalayout.location = ?,
- weatherdatalayout.weathersourcesettings_sourceid = ?
- WHERE weatherdatalayout.weatherscreens_screen_id = ?',
- $loc,
- $source_id,
- $this->screen_id
- );
- else {
- $types = $db->query_col('SELECT weathersourcesettings.types
- FROM weathersourcesettings
- WHERE weathersourcesettings.sourceid = ?',
- $source_id
- );
-
- foreach(explode(',', $types) as $type) {
- $db->query('INSERT INTO weatherdatalayout ( location, dataitem, weatherscreens_screen_id, weathersourcesettings_sourceid )
- VALUES ( ?, ?, ?, ? )',
- $loc,
- $type,
- $this->screen_id,
- $source_id
- );
- }
- }
- }
-
- function updateUnits( $units ) {
- global $db;
- if ( !$this->checkScreenID() || $units < 0 || $units > 1 )
- return;
-
- $db->query('UPDATE weatherscreens
- SET weatherscreens.units = ?
- WHERE weatherscreens.screen_id = ?
- AND weatherscreens.hostname = ?',
- $units,
- $this->screen_id,
- $this->host
- );
- }
-}
View
35 modules/weather/handler.php
@@ -1,35 +0,0 @@
-<?php
-/**
- * Handler for the Weather module.
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
- require 'includes/weather_utils.php';
-
- $WeatherScreens = array();
-
-// Get configured WeatherScreens from the database
- $sh = $db->query('SELECT screen_id, draworder
- FROM weatherscreens
- WHERE hostname=?',
- $_SESSION['settings']['host']);
-
- while(list($screen_id, $draworder) = $sh->fetch_row()) {
- $WeatherScreens[$draworder] = new WeatherScreen($screen_id);
- $WeatherScreens[$draworder]->getData();
- }
-
- ksort($WeatherScreens);
- $sh->finish();
-
-// Print the weather page template
- require_once tmpl_dir.'weather.php';
-
-// Exit
- exit;
-
View
29 modules/weather/includes/weather_utils.php
@@ -1,29 +0,0 @@
-<?php
-/**
- * Collection of functions used by the various pages of the MythWeb Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-function getScreenTitle($containerName) {
- if ($containerName == "Current Conditions")
- return t("Current Conditions");
- if ($containerName == "Three Day Forecast")
- return t("Three Day Forecast");
- if ($containerName == "18 Hour Forecast")
- return t("18 Hour Forecast");
- if ($containerName == "Severe Weather Alerts")
- return t("Severe Weather Alerts");
- if ($containerName == "Six Day Forecast")
- return t("Six Day Forecast");
- if ($containerName == "Static Map")
- return t("Static Map");
- if ($containerName == "Animated Map")
- return t("Animated Map");
-
- return screenName;
-}
View
44 modules/weather/init.php
@@ -1,44 +0,0 @@
-<?php
-/**
- * Initialization routines for the MythWeb Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-// First, we check if the table exists...
- if(tmpl == 'default' && $db->query_num_rows('SHOW TABLES LIKE "weatherscreens"')) {
- // Settings options
- $Settings['weather'] = array('name' => t('Weather'),
- 'choices' => array('screen' => t('Screen Settings')),
- 'default' => 'screen',
- );
- // we should check to see that MythWeather is configured.
- $has_weather = $db->query_col('SELECT COUNT(screen_id)
- FROM weatherscreens');
- // And also check that the weather scripts exist on this host
- if ($has_weather) {
- $paths = $db->query_list('SELECT path
- FROM weathersourcesettings
- WHERE hostname=?',
- hostname);
- foreach ($paths as $path ) {
- if (!file_exists($path)) {
- $has_weather = false;
- break;
- }
- }
- }
- }
-
-// If weather is enabled, add it to the list.
- if ($has_weather) {
- $Modules['weather'] = array('path' => 'weather',
- 'sort' => 4,
- 'name' => t('Weather'),
- 'description' => t('Local weather forecast')
- );
- }
View
211 modules/weather/set_screen.php
@@ -1,211 +0,0 @@
-<?php
-/**
- * Weather Screen settings
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-require 'includes/weather_utils.php';
-
-// Load all of the known mythtv frontend hosts
- $Settings_Hosts = array();
- $sh = $db->query('SELECT DISTINCT hostname
- FROM weathersourcesettings
- ORDER BY hostname');
- while (list($host) = $sh->fetch_row()) {
- if (empty($host))
- continue;
- $Settings_Hosts[$host] = $host;
- }
- $sh->finish();
-
-// Make sure we have a valid host selected
- if (!isset($Settings_Hosts[$_SESSION['settings']['host']]))
- $_SESSION['settings']['host'] = reset(array_keys($Settings_Hosts));
-
-// Initialize Screens
- rebuild_active_screens();
- rebuild_inactive_screens();
-
-// Add to Active Screens
- if (isset($_POST['add']) && isset($_POST['host'])) {
- if (isset($_POST['inactive_screen'])) {
- $screen = new WeatherScreen(null);
- $screen->initNew($_POST['inactive_screen'], $_POST['host']);
-
- rebuild_active_screens();
- }
- $_SESSION['settings']['host'] = $_POST['host'];
- }
-
-// Delete from Active Screens
- else if (isset($_POST['delete']) && isset($_POST['host'])) {
- if (isset($_POST['active_screen'])) {
- $screen = new WeatherScreen($_POST['active_screen']);
- $screen->deleteScreen();
-
- rebuild_active_screens();
- }
- $_SESSION['settings']['host'] = $_POST['host'];
- }
-
-// Move screen
- else if ((isset($_POST['move_u']) || isset($_POST['move_d'])) && isset($_POST['host'])) {
- if (isset($_POST['active_screen'])) {
- $screen = new WeatherScreen($_POST['active_screen']);
- if (isset($_POST['move_u'])) $screen->move('up');
- if (isset($_POST['move_d'])) $screen->move('down');
-
- rebuild_active_screens();
- }
- }
-
-// Edit Active Screen
- else if (isset($_POST['edit']) && isset($_POST['host'])) {
- // Cancel editting
- if (isset($_POST['cancel_edit'])) {
- unset($_SESSION['weather']['edit']);
- unset($_SESSION['weather']['search']);
- }
- // Edit screen
- if (isset($_POST['active_screen'])) {
- $_SESSION['weather']['edit'] = $_POST['active_screen'];
- }
- // Search locations
- if (isset($_POST['edit_search']) && (strlen($_POST['weather_search'])>0)) {
- $_SESSION['weather']['search'] = $_POST['weather_search'];
- }
- // Save changes
- if (isset($_POST['save_edit'])) {
- $screen = new WeatherScreen($_POST['edit']);
- // Save location changes
- if (isset($_POST['weather_location']) && isset($_POST['weather_use_results'])) {
- $matches = array();
- if (preg_match('/\(\((\d*)\)\)(.*)/', $_POST['weather_location'], $matches)) {
- $screen->updateLocation($matches[1], $matches[2]);
- }
- }
- // Save unit changes
- if (isset($_POST['weather_units']))
- $screen->updateUnits($_POST['weather_units']);
-
- // Save clears out search and edit functions
- unset($_SESSION['weather']['edit']);
- unset($_SESSION['weather']['search']);
- }
-
- $_SESSION['settings']['host'] = $_POST['host'];
- }
-
-/**
- * refreshes the active screens array
-/**/
- function rebuild_active_screens() {
- global $db;
- $_SESSION['weather']['active'] = array();
-
- $sh = $db->query('SELECT screen_id, draworder
- FROM weatherscreens
- WHERE hostname=?
- ORDER BY draworder', $_SESSION['settings']['host']);
-
- // Populate active screens
- while(list($screen_id, $draworder) = $sh->fetch_row())
- $_SESSION['weather']['active'][$draworder] = $screen_id;
-
- $sh->finish();
- }
-
-/**
- * refreshes the inactive screens array
-/**/
- function rebuild_inactive_screens() {
- global $db;
-
- // Clear old inactive list
- unset($_SESSION['weather']['inactive']);
- if (!isset($_SESSION['weather']['inactive']))
- $_SESSION['weather']['inactive'] = array();
-
- $sh = $db->query('SELECT types
- FROM weathersourcesettings
- WHERE hostname=?', $_SESSION['settings']['host']);
-
- // Populate inactive screens
- //
- // TODO Hardcoding these variables is probably a no-no. But all of this
- // stuff is coded into the XML theme (weather-ui.xml). Having the
- // module parse that seems overkill.
- while(list($types) = $sh->fetch_row()) {
- $scratch = explode(',', $types);
- foreach ($scratch as $item) {
- if ($item == 'cclocation') $type_list[$item] = 'Current Conditions';
- if ($item == '3dlocation') $type_list[$item] = 'Three Day Forecast';
- if ($item == '6dlocation') $type_list[$item] = 'Six Day Forecast';
- if ($item == 'smdesc') $type_list[$item] = 'Static Map';
- if ($item == 'amdesc') $type_list[$item] = 'Animated Map';
- if ($item == 'swlocation') $type_list[$item] = 'Severe Weather Alerts';
- if ($item == '18hrlocation') $type_list[$item] = '18 Hour Forecast';
- }
- }
- $sh->finish();
-
- // Return if no types are found
- if (!isset($type_list)) { return; }
-
- foreach ($type_list as $key => $value)
- array_push($_SESSION['weather']['inactive'], $type_list[$key]);
-
- sort($_SESSION['weather']['inactive']);
- }
-
-/**
- * displays a list of inactive screens as a <select> list
-/**/
- function display_inactive_screens() {
- if (!isset($_SESSION['weather']['inactive'])) return;
-
- if (count($_SESSION['weather']['inactive']) <= 0)
- echo '<p><b>Warning!!</b> No types were found in weathersourcesettings for hostname ('. $_SESSION['settings']['host'] .')</p>';
-
- else {
- echo '<select name="inactive_screen">' ."\n";
- foreach ($_SESSION['weather']['inactive'] as $screen)
- if (! $screen->active)
- echo ' <option value="' . $screen .'">'. getScreenTitle($screen) ."</option>\n";
- echo '</select>' ."\n";
- }
- }
-
-
-/**
- * displays a list of active screens as a <select> list
-/**/
- function display_active_screens() {
- if (!isset($_SESSION['weather']['active'])) return;
-
- echo "<ol>\n";
- foreach ($_SESSION['weather']['active'] as $screen_id) {
- $screen = new WeatherScreen($screen_id);
- $screen->getData();
-
- echo '<li><input type="radio" name="active_screen" value="'. $screen->screen_id .'" id="active-screen-'. $screen->screen_id .'">';
- echo '<label for="active-screen-'. $screen->screen_id .'">'. getScreenTitle($screen->container) ."</label></li>\n";
- echo "<ul>\n";
- echo '<li>'. t('Location:') .' ';
-
- foreach($screen->data as $key => $value) {
- if (preg_match('/location/', $key)) { echo $value; break; }
- if (preg_match('/desc/', $key)) { echo $value; break; }
- }
-
- echo "</li>\n";
- echo '<li>'. t('Source:') .' '. $screen->getSource() ."</li>\n";
- echo "</ul>\n";
- }
- echo "</ol>";
- }
View
128 modules/weather/tmpl/default/set_screen.php
@@ -1,128 +0,0 @@
-<?php
-/**
- * Display/save MythWeather Screen settings
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
-
-<?php
-
-// Edit screen ------------------------------------------------------------
-if (isset($_SESSION['weather']['edit'])) {
- $screen = new WeatherScreen($_SESSION['weather']['edit']);
- $screen->getData();
-
- if (isset($_SESSION['weather']['search']))
- $screen->runSearch($_SESSION['weather']['search']);
-?>
-
-<form class="form" method="post" action="<?php echo form_action ?>">
-<input type="hidden" name="host" value="<?php echo html_entities($_SESSION['settings']['host']) ?>">
-<input type="hidden" name="edit" value="<?php echo $screen->screen_id ?>" />
-
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
- <td colspan="2"><?php echo t('Edit Screen') ?></td>
-</tr>
-<tr>
- <th><?php echo t('Screen Name') ?></th>
- <td><?php echo getScreenTitle($screen->container) ?></td>
-</tr>
-<tr>
- <th><?php echo t('Location') ?></th>
- <td><?php
- foreach($screen->data as $key => $value) {
- if (preg_match('/location/', $key)) { echo $value; break; }
- if (preg_match('/desc/', $key)) { echo $value; break; }
- }
-
- ?></td>
-</tr>
-
-<?php if (isset($_SESSION['weather']['search'])) { ?>
-<tr>
- <th><?php echo t('Search Results') ?></th>
- <?php if (count($screen->search)) { ?>
- <td><select name="weather_location" size="1"><?php
- foreach($screen->search as $key => $value) {
- foreach ($value as $location => $description) {
- echo '<option value="(('. $key .'))'. $location .'">('. $screen->getSource($key) .") ". htmlentities($description) ."</option>\n";
- }
- }
- ?></select>
- </td>
-</tr>
-<tr>
- <th><input type="checkbox" name="weather_use_results" id="use_results"></th>
- <td><label for="use_results">Use selected location</label></td>
-</tr>
- <?php } else { ?>
- <td>Nothing found for &quot;<i><?php echo $_SESSION['weather']['search'] ?></i>&quot;</td>
- <?php } } ?>
-</tr>
-<tr>
- <th><?php echo t('Change Location') ?></th>
- <td><input type="text" name="weather_search" size="15" value="<?php echo $_SESSION['weather']['search'] ?>"> <input type="submit" class="submit" name="edit_search" value="<?php echo t('Search') ?>"></td>
-</tr>
-<tr>
- <th><?php echo t('Units') ?></th>
- <td><select name="weather_units">
- <option value="0" <?php echo $screen->units == 0 ? 'SELECTED' : '' ?>><?php echo t('SI') ?></option>
- <option value="1" <?php echo $screen->units == 1 ? 'SELECTED' : '' ?>><?php echo t('English_Unit') ?></option>
- </select>
- </td>
-</tr>
-<tr>
- <th></th>
- <td>
- <input type="submit" class="submit" name="save_edit" value="<?php echo t('Save') ?>">
- <input type="submit" class="submit" name="cancel_edit" value="<?php echo t('Cancel') ?>">
- </td>
-</tr>
-</table>
-
-</form>
-
-<?php // Define screens ----------------------------------------------------------
-} else {
-?>
-
-<form class="form" method="post" action="<?php echo form_action ?>">
-<input type="hidden" name="host" value="<?php echo html_entities($_SESSION['settings']['host']) ?>" />
-
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
- <td colspan="2"><?php echo t('Inactive Screens') ?></td>
-</tr>
-<tr class="x-sep">
- <td> <?php display_inactive_screens() ?> </td>
- <?php if (count($_SESSION['weather']['inactive']) > 0) { ?>
- <td><input type="submit" class="submit" name="add" value="<?php echo t('Add To Active Screens') ?>"></td>
- <?php } ?>
-</tr>
-</table>
-
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
- <td colspan="2"><?php echo t('Active Screens') ?></td>
-</tr>
-<tr>
- <td><?php display_active_screens() ?></th>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr><td><input type="submit" class="submit" name="move_u" value="<?php echo t('Up') ?>"></td></tr>
- <tr><td><input type="submit" class="submit" name="move_d" value="<?php echo t('Down') ?>"></td></tr>
- <tr><td><input type="submit" class="submit" name="edit" value="<?php echo t('Edit') ?>"></td></tr>
- <tr><td><input type="submit" class="submit" name="delete" value="<?php echo t('Delete') ?>"></td></tr>
- </table>
- </td>
-</tr>
-</table>
-
-</form>
-<?php }
View
48 modules/weather/tmpl/default/weather.18h.php
@@ -1,48 +0,0 @@
-<?php
-/**
- * Display template for 18 Hour Forecast for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
- <p class="host"><?php
- echo t('Host') .": ". $screen->host;
- ?></p>
- <p class="location"><?php
- echo $screen->data["18hrlocation"]
- ?></p>
-
- <div class="forecast clearfix">
- <h2><?php echo getScreenTitle($screen->container) ?></h2>
-
- <?php
- for($i=0;$i<6;$i++) {
- ?>
-
- <div class="daily_forecast">
- <h3><?php echo $screen->data["time-$i"] ?></h3>
- <img src="<?php echo skin_url ?>img/weather/<?php echo $screen->data["18icon-$i"] ?>" class="alpha_png" alt="">
-
- <div class="temps">
- <div class="high">
- <p><?php echo t('Temp') ?></p>
- <p class="temp">
- <?php echo $screen->data["temp-$i"] == 'NA' ? '' : $screen->data["temp-$i"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
- </div>
- <div class="temps">
- <div class="low">
- <p><?php echo t('Precip') ?></p>
- <p class="temp">
- <?php echo $screen->data["pop-$i"] == 'NA' ? '' : $screen->data["pop-$i"] ?>
- </p>
- </div>
- </div>
- </div>
- <?php } ?>
- </div>
View
47 modules/weather/tmpl/default/weather.3d.php
@@ -1,47 +0,0 @@
-<?php
-/**
- * Display template for Three Day Forecast for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
- <p class="host"><?php
- echo t('Host') .": ". $screen->host;
- ?></p>
- <p class="location"><?php
- echo $screen->data["3dlocation"]
- ?></p>
-
- <div class="forecast clearfix">
- <h2><?php echo getScreenTitle($screen->container) ?></h2>
-
- <?php
- for($i=0;$i<3;$i++) {
- ?>
-
- <div class="daily_forecast">
- <h3><?php echo $screen->data["date-$i"] ?></h3>
- <img src="<?php echo skin_url ?>img/weather/<?php echo $screen->data["icon-$i"] ?>" class="alpha_png" alt="">
-
- <div class="temps">
- <div class="low">
- <p><?php echo t('Low') ?></p>
- <p class="temp">
- <?php echo $screen->data["low-$i"] == 'NA' ? '' : $screen->data["low-$i"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
-
- <div class="high">
- <p><?php echo t('High') ?></p>
- <p class="temp">
- <?php echo $screen->data["high-$i"] == 'NA' ? '' : $screen->data["high-$i"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
- </div>
- </div>
- <?php } ?>
- </div>
View
47 modules/weather/tmpl/default/weather.6d.php
@@ -1,47 +0,0 @@
-<?php
-/**
- * Display template for Six Day Forecast for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
- <p class="host"><?php
- echo t('Host') .": ". $screen->host;
- ?></p>
- <p class="location"><?php
- echo $screen->data["6dlocation"]
- ?></p>
-
- <div class="forecast clearfix">
- <h2><?php echo getScreenTitle($screen->container) ?></h2>
-
- <?php
- for($i=0;$i<6;$i++) {
- ?>
-
- <div class="daily_forecast">
- <h3><?php echo $screen->data["date-$i"] ?></h3>
- <img src="<?php echo skin_url ?>img/weather/<?php echo $screen->data["icon-$i"] ?>" class="alpha_png" alt="">
-
- <div class="temps">
- <div class="low">
- <p><?php echo t('Low') ?></p>
- <p class="temp">
- <?php echo $screen->data["low-$i"] == 'NA' ? '' : $screen->data["low-$i"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
-
- <div class="high">
- <p><?php echo t('High') ?></p>
- <p class="temp">
- <?php echo $screen->data["high-$i"] == 'NA' ? '' : $screen->data["high-$i"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
- </div>
- </div>
- <?php } ?>
- </div>
View
75 modules/weather/tmpl/default/weather.am.php
@@ -1,75 +0,0 @@
-<?php
-/**
- * Display template for Animated Maps for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
- <div class="radar">
- <h2><?php echo $screen->data["amdesc"] ?></h2>
-
- <div class="radar_image"><center>
- <script type='text/javascript'>
- <!--
-
- images = new Array();
- imageNum = 0;
- speed = 3;
- delay = 300;
-<?php
- $matches = array();
- $image = array_pop(split('/', $screen->data["animatedimage"]));
- preg_match("/(.*)-\%1-(\d*)-(\d*)x(\d*)/", $image, $matches);
-
- echo "imageTotal = ". $matches[2] .";\n";
- for ($i=0; $i<$matches[2]; $i++) {
- echo "images[$i] = new Image();\n";
- echo "images[$i].src = \"data/". $matches[1] ."-$i\";\n";
- }
-?>
- function nextFrame (inc) {
- // display next frame from images array
- imageNum += inc;
- if (imageNum >= imageTotal) {
- imageNum = 0;
- }
-
- imageCurrent = imageNum;
- document.animation.src = images[imageCurrent].src;
- }
-
- function animate() {
- // start animation loop
- nextFrame(1);
- }
-
- function setDelay(i) {
- speed = i;
- delay = speed * 100;
- if (delay == 0) delay = 50;
- }
-
- output = '<form name="animap" id="animap" action="get">'
- output += '<b><?php echo addslashes(t('Slower')) ?></b> '
-<?php
- for ($i=6;$i>=0;$i-=1) {
- echo "output += '<input type=\"radio\" name=\"speedRadio\" value=\"". $i. "\" onClick=\"setDelay(". $i .")\"";
- if ($i == 3) { echo " checked"; }
- echo ">'\n";
- }
-?>
-
- output += ' <b><?php echo addslashes(t('Faster')) ?></b><br>'
- output += '<img name="animation" src="<?php echo 'data/'. $matches[1] ."-0" ?>" alt="<?php echo addslashes(t('Animation')) ?>" onload="setTimeout(\'animate()\', delay)">'
- output += '</form>'
- document.write(output);
-
- // -->
- </script>
- </center>
- </div>
- </div>
View
50 modules/weather/tmpl/default/weather.cc.php
@@ -1,50 +0,0 @@
-<?php
-/**
- * Display template for Current Conditions for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-?>
- <p class="host"><?php
- echo t('Host') .": ". $screen->host;
- ?></p>
- <p class="location"><?php
- echo $screen->data["cclocation"]
- ?></p>
-
- <div class="current_conditions clearfix">
- <h2><?php echo getScreenTitle($screen->container) ?></h2>
-
- <div class="overview">
- <img src="<?php echo skin_url ?>img/weather/<?php echo $screen->data["weather_icon"] ?>" class="alpha_png" alt="">
- <h3><?php echo $screen->data["weather"] ?></h3>
- <p class="temp">
- <?php echo $screen->data["temp"] ?>&deg;<sup><?php echo $screen->units == 0 ? 'C' : 'F' ?></sup>
- </p>
- </div>
-
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <th><?php echo t('Humidity') ?></th>
- <td><?php echo $screen->data["relative_humidity"] ?>%</td>
- </tr><tr>
- <th><?php echo t('Pressure') ?></th>
- <td><?php echo $screen->data["pressure"]; echo $screen->units == 0 ? ' mb' : ' in' ?></td>
- </tr><tr>
- <th><?php echo t('Wind') ?></th>
- <td><?php echo $screen->data["wind_dir"] . t(' at ') . $screen->data["wind_spdgst"]; echo $screen->units == 0 ? ' km/h' : ' mph' ?></td>
- </tr><tr>
- <th><?php echo t('Visibility') ?></th>
- <td><?php echo $screen->data["visibility"]; echo $screen->units == 0 ? ' km' : ' mi' ?></td>
- </tr><tr>
- <th><?php echo t('Wind Chill') ?></th>
- <td><?php echo $screen->data["appt"] . '&deg;<sup>'; echo $screen->units == 0 ? 'C' : 'F' ?></sup></td>
- </tr><tr>
- <td colspan="2"><?php echo $screen->data["observation_time"] ?></td>
- </tr>
- </table>
- </div>
View
45 modules/weather/tmpl/default/weather.php
@@ -1,45 +0,0 @@
-<?php
-/**
- * Display template for the Weather module
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-// Page title
- $page_title = 'MythWeb - '.t('Weather');
-
-// Load this page's custom stylesheet
- $headers[] = '<link rel="stylesheet" type="text/css" href="'.skin_url.'/weather.css">';
-
-// Print the page header
- require 'modules/_shared/tmpl/'.tmpl.'/header.php';
-
-// Print Information for each of the screensa
-?>
-<div class="weather_site">
-<?php
- foreach ($WeatherScreens as $screen) {
- if ($screen->container == 'Current Conditions')
- require tmpl_dir.'weather.cc.php';
- if ($screen->container == '18 Hour Forecast')
- require tmpl_dir.'weather.18h.php';
- if ($screen->container == 'Three Day Forecast')
- require tmpl_dir.'weather.3d.php';
- if ($screen->container == 'Six Day Forecast')
- require tmpl_dir.'weather.6d.php';
- if ($screen->container == 'Static Map')
- require tmpl_dir.'weather.sm.php';
- if ($screen->container == 'Animated Map')
- require_once tmpl_dir.'weather.am.php';
- }
-?>
-</div>
-
-<?php
-
-// Print the page footer
- require 'modules/_shared/tmpl/'.tmpl.'/footer.php';
View
29 modules/weather/tmpl/default/weather.sm.php
@@ -1,29 +0,0 @@
-<?php
-/**
- * Display template for Static Maps for the Weather module
- *
- * @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>
View
23 modules/weather/tmpl/default/welcome.php
@@ -1,23 +0,0 @@
-<?php
-/**
- * Welcome page description of the Weather module.
- *
- * @license GPL
- *
- * @package MythWeb
- * @subpackage Weather
- *
-/**/
-
-// Open with a div and an image
- echo '<div id="info_weather" class="hidden">',
- '<img src="', skin_url, '/img/weather.png" class="module_icon">',
-
-// Print a basic overview of what this module does
- t('welcome: weather'),
-
-// Next, print a list of possible subsectons
- ####
-
-// Close the div
- "</div>\n";
View
BIN  skins/clean_blue/img/weather/cloudy.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/fair.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/flurries.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/fog.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/lshowers.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/mcloudy.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/pcloudy.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/rainsnow.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/showers.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/snowshow.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/sunny.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/thunshowers.png
Deleted file not rendered
View
BIN  skins/clean_blue/img/weather/unknown.png
Deleted file not rendered
View
BIN  skins/default/img/weather/cloudy.png
Deleted file not rendered
View
BIN  skins/default/img/weather/fair.png
Deleted file not rendered
View
BIN  skins/default/img/weather/flurries.png
Deleted file not rendered
View
BIN  skins/default/img/weather/fog.png
Deleted file not rendered
View
BIN  skins/default/img/weather/lshowers.png
Deleted file not rendered
View
BIN  skins/default/img/weather/mcloudy.png
Deleted file not rendered
View
BIN  skins/default/img/weather/pcloudy.png
Deleted file not rendered
View
BIN  skins/default/img/weather/rainsnow.png
Deleted file not rendered
View
BIN  skins/default/img/weather/showers.png
Deleted file not rendered
View
BIN  skins/default/img/weather/snowshow.png
Deleted file not rendered
View
BIN  skins/default/img/weather/sunny.png
Deleted file not rendered
View
BIN  skins/default/img/weather/thunshowers.png
Deleted file not rendered
View
BIN  skins/default/img/weather/unknown.png
Diff not rendered
View
BIN  skins/elkin/img/weather/cloudy.png
Diff not rendered
View
BIN  skins/elkin/img/weather/fair.png
Diff not rendered
View
BIN  skins/elkin/img/weather/flurries.png
Diff not rendered
View
BIN  skins/elkin/img/weather/fog.png
Diff not rendered
View
BIN  skins/elkin/img/weather/lshowers.png
Diff not rendered
View
BIN  skins/elkin/img/weather/mcloudy.png
Diff not rendered
View
BIN  skins/elkin/img/weather/pcloudy.png
Diff not rendered
View
BIN  skins/elkin/img/weather/rainsnow.png
Diff not rendered
View
BIN  skins/elkin/img/weather/showers.png
Diff not rendered
View
BIN  skins/elkin/img/weather/snowshow.png
Diff not rendered
View
BIN  skins/elkin/img/weather/sunny.png
Diff not rendered
View
BIN  skins/elkin/img/weather/thunshowers.png
Diff not rendered
View
BIN  skins/elkin/img/weather/unknown.png
Diff not rendered
View
BIN  skins/grey/img/weather/cloudy.png
Diff not rendered
View
BIN  skins/grey/img/weather/fair.png
Diff not rendered
View
BIN  skins/grey/img/weather/flurries.png
Diff not rendered
View
BIN  skins/grey/img/weather/fog.png
Diff not rendered
View
BIN  skins/grey/img/weather/lshowers.png
Diff not rendered
View
BIN  skins/grey/img/weather/mcloudy.png
Diff not rendered
View
BIN  skins/grey/img/weather/myth_logo.png
Diff not rendered
View
BIN  skins/grey/img/weather/pcloudy.png
Diff not rendered
View
BIN  skins/grey/img/weather/rainsnow.png
Diff not rendered
View
BIN  skins/grey/img/weather/showers.png
Diff not rendered
View
BIN  skins/grey/img/weather/snowshow.png
Diff not rendered
View
BIN  skins/grey/img/weather/sunny.png
Diff not rendered
View
BIN  skins/grey/img/weather/thunshowers.png
Diff not rendered
View
BIN  skins/grey/img/weather/unknown.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/cloudy.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/fair.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/flurries.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/fog.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/lshowers.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/mcloudy.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/myth_logo.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/pcloudy.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/rainsnow.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/showers.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/snowshow.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/sunny.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/thunshowers.png
Diff not rendered
View
BIN  skins/haze_dark/img/weather/unknown.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/cloudy.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/fair.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/flurries.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/fog.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/lshowers.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/mcloudy.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/myth_logo.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/pcloudy.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/rainsnow.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/showers.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/snowshow.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/sunny.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/thunshowers.png
Diff not rendered
View
BIN  skins/haze_light/img/weather/unknown.png
Diff not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.