diff -Naur mythweb/includes/mythfrontend.php mythweb-devel/includes/mythfrontend.php --- mythweb/includes/mythfrontend.php 2006-12-01 12:23:20.000000000 -0500 +++ mythweb-devel/includes/mythfrontend.php 2007-01-18 00:10:50.000000000 -0500 @@ -40,9 +40,9 @@ var $fp; /** @var string Hostname to connect to. */ - var $host; + public $host; /** @var string Hostname to connect to. */ - var $port; + public $port; /** @var array List of jump points available on this host. */ var $jump_points = array(); diff -Naur mythweb/modules/frontends/handler.php mythweb-devel/modules/frontends/handler.php --- mythweb/modules/frontends/handler.php 1969-12-31 19:00:00.000000000 -0500 +++ mythweb-devel/modules/frontends/handler.php 2007-01-18 00:00:46.000000000 -0500 @@ -0,0 +1,17 @@ + diff -Naur mythweb/modules/frontends/init.php mythweb-devel/modules/frontends/init.php --- mythweb/modules/frontends/init.php 1969-12-31 19:00:00.000000000 -0500 +++ mythweb-devel/modules/frontends/init.php 2007-01-18 00:00:46.000000000 -0500 @@ -0,0 +1,23 @@ + $ + * @license GPL + * + * @package MythWeb + * @subpackage TV + * +/**/ + +// The TV module is always enabled. + $Modules['frontends'] = array('path' => 'frontends', + 'name' => t('Frontends'), + 'links' => array('status' => t('Frontend Status'), + ), + ); + diff -Naur mythweb/modules/frontends/jump.php mythweb-devel/modules/frontends/jump.php --- mythweb/modules/frontends/jump.php 1969-12-31 19:00:00.000000000 -0500 +++ mythweb-devel/modules/frontends/jump.php 2007-01-18 00:00:46.000000000 -0500 @@ -0,0 +1,13 @@ +send_jump( $_POST['jump'] ); + + if( $_GET['frontends'] && $_GET['jump'] ) + foreach( $_GET['frontends'] as $frontend ) + $Frontends[$frontend]->send_jump( $_GET['jump'] ); + + sleep(1); //give the frontend time to do it's thing +?> \ No newline at end of file diff -Naur mythweb/modules/frontends/keys.php mythweb-devel/modules/frontends/keys.php --- mythweb/modules/frontends/keys.php 1969-12-31 19:00:00.000000000 -0500 +++ mythweb-devel/modules/frontends/keys.php 2007-01-18 00:00:46.000000000 -0500 @@ -0,0 +1,13 @@ +send_keypress( $_POST['key'] ); + + if( $_GET['frontends'] && $_GET['key'] ) + foreach( $_GET['frontends'] as $frontend ) + $Frontends[$frontend]->send_keypress( $_GET['key'] ); + + sleep(1); //give the frontend time to do it's thing +?> diff -Naur mythweb/modules/frontends/main.php mythweb-devel/modules/frontends/main.php --- mythweb/modules/frontends/main.php 1969-12-31 19:00:00.000000000 -0500 +++ mythweb-devel/modules/frontends/main.php 2007-01-18 00:00:46.000000000 -0500 @@ -0,0 +1,122 @@ + +'; + + // Print the page header + require 'modules/_shared/tmpl/'.tmpl.'/header.php'; +?> + + + + + + + +