Permalink
Browse files

Removes all mention if iPod from fixes/0.24

  • Loading branch information...
1 parent 10e990e commit d0f3ba16ab2de06b5339f11f07d05f2cc21f74b0 @kormoc kormoc committed Mar 10, 2011
@@ -1,32 +0,0 @@
-<?php
-/**
- * This footer file is shared by all MythWeb modules.
- *
- * @url $URL$
- * @date $Date$
- * @version $Revision$
- * @author $Author$
- * @license GPL
- *
- * @package MythWeb
- *
-/**/
-?>
-
- <script type="text/javascript" language="javascript">
- // Images to preload!
- // Once iSafari starts a new page load,
- // it refuses to load other images
- // so background-images changes fail
- var Image1 = new Image();
- Image1.src = '<?php echo skin_url ?>img/chevron_touched.png';
- var Image2 = new Image();
- Image2.src = '<?php echo skin_url ?>img/item_background_touched.png';
- var Image3 = new Image();
- Image3.src = '<?php echo skin_url ?>img/back_button_clicked.png';
- var Image4 = new Image();
- Image4.src = '<?php echo skin_url ?>img/button_darkgray_pressed.png';
- </script>
-
-</body>
-</html>
@@ -1,91 +0,0 @@
-<?php
-/**
- * This header file is shared by all MythWeb modules.
- *
- * @url $URL$
- * @date $Date$
- * @version $Revision$
- * @author $Author$
- * @license GPL
- *
- * @package MythWeb
- *
-/**/
-
-// UTF-8 content
- header("Content-Type: text/html; charset=utf-8");
-
-// Globals
- global $headers, $page_title;
-?>
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
- <base href="<?php echo root_url; ?>">
- <title><?php echo html_entities($page_title) ?></title>
-
- <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport" />
-
- <link rel="icon" href="<?php echo skin_url ?>img/favicon.ico" type="image/x-icon">
- <link rel="shortcut icon" href="<?php echo skin_url ?>img/favicon.ico" type="image/x-icon">
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="robots" content="noindex, nofollow">
-
- <script type="text/javascript" src="js/prototype.js"></script>
-
- <script type="text/javascript" src="js/utils.js"></script>
- <script type="text/javascript" src="js/table_sort.js"></script>
-
- <link rel="stylesheet" type="text/css" media="screen" href="<?php echo skin_url ?>style.css">
- <link rel="stylesheet" type="text/css" href="<?php echo skin_url ?>header.css">
-
- <?php
- if (!empty($headers) && is_array($headers))
- echo ' ', implode("\n ", $headers), "\n";
- ?>
-
- <script type="text/javascript" language="javascript">
- function updateOrientation() {
- switch(window.orientation) {
- case 0:
- case 180:
- document.body.removeClassName('landscape');
- break;
-
- case 1: // android (G1)
- case 90:
- case -90:
- document.body.addClassName('landscape');
- break;
- }
- }
-
- // Hide safari's location bar by default;
- setTimeout(function(){ window.scrollTo(0, 1);} , 100);
- // Handle resize/rotate events
- Event.observe(document.onresize ? document : window,
- "resize", updateOrientation);
- </script>
-
-</head>
-
-<body onorientationchange="updateOrientation();">
-
- <script type="text/javascript" language="javascript">
- // We need this here to get the Orientation as soon as the body tag is rendered to the dom.
- updateOrientation();
- </script>
-
- <div id="Header">
- <div id="PageTitle"><?php echo _or($Page_Title_Short, 'MythWeb') ?></div>
- <?php
- if (isset($Page_Previous_Location) && isset($Page_Previous_Location_Name)) {
- ?>
- <a id="homeButton" class="button" href="<?php echo $Page_Previous_Location ?>"><?php echo $Page_Previous_Location_Name ?></a>
- <?php
- }
- ?>
- <a id="Search" class="button" href="tv/search">Search</a>
- </div>
@@ -1,54 +0,0 @@
-<?php
-/**
- * The display code for the main welcome page that lists the available mythweb
- * sections.
- *
- * @url $URL$
- * @date $Date$
- * @version $Revision$
- * @author $Author$
- * @license GPL
- *
- * @package MythWeb
- *
-/**/
-
-// Set the desired page title
- $page_title = 'Welcome to MythWeb!';
- $Page_Title_Short = 'MythWeb';
-
-// Custom headers
- $headers[] = '<link rel="stylesheet" type="text/css" href="'.skin_url.'/AppPanel.css">';
-
-// Print the page header
- require 'modules/_shared/tmpl/'.tmpl.'/header.php';
-?>
-
-<div id="AppPanel">
- <?php
- $module_directories = get_sorted_files(modules_path);
- $module_directories = array_unique(array_merge(array('tv', 'video', 'music', 'remote', 'settings'), $module_directories));
- foreach ($module_directories as $module) {
- if (preg_match('/^_/', $module))
- continue;
- if (!file_exists("modules/$module/tmpl/".tmpl.'/welcome.php'))
- continue;
-
- require "modules/$module/tmpl/".tmpl.'/welcome.php';
- ?>
- <div class="appicon">
- <a href="<?php echo $Module_URL; ?>">
- <img src="<?php echo $Module_Icon; ?>.png"><br>
- <?php echo $Module_Name; ?>
- </a>
- </div>
- <?php
- }
- ?>
-</div>
-
-<a id="reset" href="<?php echo root_url; ?>?RESET_SKIN&RESET_TMPL"><?php echo t('Reset template and skin to defaults'); ?></a>
-
-<?php
-// Print the page footer
- require 'modules/_shared/tmpl/'.tmpl.'/footer.php';
@@ -37,7 +37,7 @@
/**/
function template_select($name = 'tmpl', $selected = null) {
echo '<select name="'.$name.'">';
- foreach (array('default', 'lite', 'iPod') as $tmpl) {
+ foreach (array('default', 'lite') as $tmpl) {
// Print the option
echo '<option value="'.html_entities($tmpl).'"';
if ($selected == $tmpl)
View
@@ -13,7 +13,7 @@
*
/**/
- if (tmpl == 'default' || tmpl == 'iPod') {
+ if (tmpl == 'default') {
// Add the module
$Modules['remote'] = array('path' => 'remote',
'sort' => 6,
@@ -1,32 +0,0 @@
-<?php
-/**
- *
- * @url $URL$
- * @date $Date$
- * @version $Revision$
- * @author $Author$
- * @license GPL
- *
- * @package MythWeb
- *
-/**/
-
-// Set the desired page title
- $page_title = 'MythWeb - ' . t('Play Recording on Frontend');
-
- $headers[] = '<link rel="stylesheet" type="text/css" href="'.skin_url.'ListPanel.css">';
-
-// Print the page header
- require 'modules/_shared/tmpl/'.tmpl.'/header.php';
-?>
-
-<ul class="ListPanel">
- <?php
- foreach (MythFrontend::findFrontends() as $frontend)
- echo '<li><a href="remote/play_program_on_frontend?host='.urlencode($frontend->getHost()).'&chanid='.urlencode($chanid).'&starttime='.urlencode($starttime).'">'.$frontend->getHost().'</a>';
- ?>
-</ul>
-
-
-<?php
- require 'modules/_shared/tmpl/'.tmpl.'/footer.php';
@@ -1,16 +0,0 @@
-<?php
-/**
- *
- * @url $URL$
- * @date $Date$
- * @version $Revision$
- * @author $Author$
- * @license GPL
- *
- * @package MythWeb
- *
-/**/
-
-$Module_Name = 'Remote';
-$Module_Icon = skin_url.'img/Icons/remote';
-$Module_URL = '#';
View
@@ -53,10 +53,7 @@
// Return to the row just prior to the one deleted
// (with some fuzz to account for normal screen height
// -- remember that rows are numbered starting at zero)
- if (tmpl == 'iPod')
- redirect_browser(root_url.'tv/list_recording_groups');
- else
- redirect_browser(root_url.'tv/recorded?refresh'.($prev_row > 0 ? "#$prev_row" : ''));
+ redirect_browser(root_url.'tv/recorded?refresh'.($prev_row > 0 ? "#$prev_row" : ''));
// redirect_browser calls exit() on its own
}
Oops, something went wrong.

0 comments on commit d0f3ba1

Please sign in to comment.