From 17613d090558dc2cd5e28e97917fe873c631e3ba Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Mon, 28 Jan 2013 12:06:00 -0500 Subject: Rework the stylesheet loading for the HTML5 player Move the standard stylesheet head lines into a separate include file, so that the player will actually do the standard and pick up the RTL and things like that. --- templates/header.inc.php | 13 +------------ templates/show_html5_player.inc.php | 2 +- templates/stylesheets.inc.php | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 templates/stylesheets.inc.php (limited to 'templates') diff --git a/templates/header.inc.php b/templates/header.inc.php index 803147c9..3bc77dd1 100644 --- a/templates/header.inc.php +++ b/templates/header.inc.php @@ -25,7 +25,6 @@ if (INIT_LOADED != '1') { exit; } $web_path = Config::get('web_path'); $htmllang = str_replace("_","-",Config::get('lang')); $location = get_location(); -$theme_path = Config::get('theme_path') . '/templates'; ?> @@ -40,17 +39,7 @@ if (Config::get('use_rss')) { ?> <?php echo scrub_out(Config::get('site_title')); ?> - <?php echo $location['title']; ?> - - - - - - + diff --git a/templates/show_html5_player.inc.php b/templates/show_html5_player.inc.php index 04a25652..1abd96d2 100644 --- a/templates/show_html5_player.inc.php +++ b/templates/show_html5_player.inc.php @@ -29,7 +29,7 @@ header('Expires: ' . gmdate(DATE_RFC1123, time()-1)); <?php echo Config::get('site_title'); ?> - +