summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-16 21:37:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-16 21:37:23 +0000
commit3887ab1f65fa556368d555e33b5c3e9ab59459da (patch)
tree3c006c802b0693a110806d184e038e336d48c35e /templates
parent9dc866338aede131ece294b2dcd939d61a60d187 (diff)
downloadampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.tar.gz
ampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.tar.bz2
ampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.zip
fixed some playlist issues, (mime type and selection) cleaned up the preferences lib a little more moved a lot into the class, updated references to old functions
Diffstat (limited to 'templates')
-rw-r--r--templates/header.inc.php2
-rw-r--r--templates/sidebar_localplay.inc.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/header.inc.php b/templates/header.inc.php
index 706c2f20..8899670a 100644
--- a/templates/header.inc.php
+++ b/templates/header.inc.php
@@ -41,7 +41,7 @@ if (Config::get('use_rss')) { ?>
<link rel="alternate" type="application/rss+xml" title="Ampache Recently Played" href="<?php echo $web_path; ?>/rss.php?type=recentlyplayed" />
<?php } ?>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=<?php echo Config::get('site_charset'); ?>" />
-<title><?php echo Config::get('site_title'); ?> - <?php echo $location['title']; ?></title>
+<title><?php echo scrub_out(Config::get('site_title')); ?> - <?php echo $location['title']; ?></title>
<link rel="stylesheet" href="<?php echo $web_path; ?><?php echo Config::get('theme_path'); ?>/templates/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/handheld.css" type="text/css" media="handheld" />
diff --git a/templates/sidebar_localplay.inc.php b/templates/sidebar_localplay.inc.php
index 8bce5a2a..01c198ee 100644
--- a/templates/sidebar_localplay.inc.php
+++ b/templates/sidebar_localplay.inc.php
@@ -24,6 +24,7 @@
// Requires a little work.. :(
$instances = $localplay->get_instances();
foreach ($instances as $uid=>$name) {
+ $name = scrub_out($name);
$class = '';
if ($uid == $current_instance) {
$class = ' class="active_instance"';