diff options
-rw-r--r-- | browse.php | 2 | ||||
-rw-r--r-- | lib/class/genre.class.php | 3 | ||||
-rw-r--r-- | templates/default.css | 16 | ||||
-rw-r--r-- | tv.php | 23 |
4 files changed, 43 insertions, 1 deletions
@@ -81,7 +81,7 @@ switch($action) { case 'genre': /* Create the Needed Object */ $genre = new Genre(); - + /* Setup the View object */ $view = new View(); $view->import_session_view(); diff --git a/lib/class/genre.class.php b/lib/class/genre.class.php index 5723ec7a..b7772679 100644 --- a/lib/class/genre.class.php +++ b/lib/class/genre.class.php @@ -249,6 +249,7 @@ class Genre { switch ($match) { case 'Show_All': case 'show_all': + case 'Show_all': $sql = "SELECT id FROM genre"; break; case 'Browse': @@ -274,6 +275,8 @@ class Genre { */ function show_match_list($match) { + + require (conf('prefix') . '/templates/show_box_top.inc.php'); show_alphabet_list('genre','browse.php',$match,'genre'); /* Detect if it's Browse, and if so don't fill it in */ diff --git a/templates/default.css b/templates/default.css index 9594a02d..86e27c8b 100644 --- a/templates/default.css +++ b/templates/default.css @@ -596,6 +596,9 @@ li.current-rating{ .np_cell { margin: 10px; } + +/* 'Tab' Preferences, used by preferences.php */ + #tablist { padding: 3px 0; margin: 12px 0 0 0; @@ -633,3 +636,16 @@ li.current-rating{ border-bottom: 1px solid #000000; } + +/* TV Page Related Styles */ +#tv_control { + float:left; +} + +#tv_np { + float:right; +} + +#tv_playlist { + clear: both; +} @@ -25,4 +25,27 @@ require_once('lib/init.php'); $dbh = dbh(); $web_path = conf('web_path'); +$htmllang = str_replace("_","-",conf('lang')); +$location = get_location(); ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>"> + +<head> +<link rel="shortcut icon" href="<?php echo $web_path; ?>/favicon.ico" /> +<meta http-equiv="Content-Type" content="text/html; charset=<?php echo conf('site_charset'); ?>" /> +<title><?php echo conf('site_title'); ?> - <?php echo $location['title']; ?></title> +<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/default.css" type="text/css" /> +<link rel="stylesheet" href="<?php echo $web_path; ?><?php echo conf('theme_path'); ?>/templates/default.css" type="text/css" /> +</head> +<body> +<script src="<?php echo $web_path; ?>/lib/general.js" language="javascript" type="text/javascript"></script> +<script src="<?php echo $web_path; ?>/modules/kajax/ajax.js" language="javascript" type="text/javascript"></script> +<!-- Control DIV --> +<div id="tv_control"> + +</div> +<!-- End Control Div --> +<div id="tv_np"> +<div id="tv_playlist"> +</div> |