";
Rating::show($_GET['object_id'], $_GET['object_type']);
- echo "
";
+ echo " |";
}
if (AmpConfig::get('userflags')) {
echo " ";
diff --git a/server/browse.ajax.php b/server/browse.ajax.php
index d242b7c6cc..fa0c987a54 100644
--- a/server/browse.ajax.php
+++ b/server/browse.ajax.php
@@ -24,7 +24,10 @@
* Sub-Ajax page, requires AJAX_INCLUDE
*/
require_once '../lib/init.php';
-session_start();
+
+if (session_status() == PHP_SESSION_NONE) {
+ session_start();
+}
if (!defined('AJAX_INCLUDE')) { exit; }
@@ -34,10 +37,9 @@
$browse_id = null;
}
-$list_uid = scrub_in($_REQUEST['uid']);
$browse = new Browse($browse_id);
-if ($_REQUEST['show_header']) {
+if (isset($_REQUEST['show_header']) && $_REQUEST['show_header']) {
$browse->set_show_header($_REQUEST['show_header'] == 'true');
}
diff --git a/templates/browse_filters.inc.php b/templates/browse_filters.inc.php
index b0be419b5a..9cd38abdd9 100644
--- a/templates/browse_filters.inc.php
+++ b/templates/browse_filters.inc.php
@@ -19,77 +19,82 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
-session_start();
+
+if (session_status() == PHP_SESSION_NONE) {
+ session_start();
+}
?>
+
get_type()); ?>
-
-
-
-
-
-
-
-
- id . '&key=min_count&value=1', '')); ?>
-
-
-
-
- id . '&key=rated&value=1', '')); ?>
-
-
-
get_filter('unplayed') ? 'checked="checked"' : ''; ?>/>
-
-
-
-
get_filter('playlist_type') ? 'checked="checked"' : ''; ?>/>
-
- id . '&key=playlist_type&value=1','')); ?>
-
-
- get_filter('object_type'); ${$string} = 'selected="selected"'; ?>
-
/>
-
- id . '&type=song','')); ?>
-
-
- id . '&type=album','')); ?>
-
-
- id . '&type=artist','')); ?>
-
+
+
+
+
+
+
+
+
+
+ id . '&key=min_count&value=1', '')); ?>
+
+
+
+
+ id . '&key=rated&value=1', '')); ?>
+
+
+ get_filter('unplayed') ? 'checked="checked"' : ''; ?>/>
+
+
+
+ get_filter('playlist_type') ? 'checked="checked"' : ''; ?>/>
+
+ id . '&key=playlist_type&value=1','')); ?>
+
+
+ get_filter('object_type'); ${$string} = 'selected="selected"'; ?>
+ />
+
+ id . '&type=song','')); ?>
+
+
+ id . '&type=album','')); ?>
+
+
+ id . '&type=artist','')); ?>
+
-
-
+
+ id,'catalog_select', 'catalog_choice')); ?>
+
+
+
+ />
+ id, '')); ?>
+
+
diff --git a/templates/list_header.inc.php b/templates/list_header.inc.php
index 5c8b957ba7..85268afda3 100644
--- a/templates/list_header.inc.php
+++ b/templates/list_header.inc.php
@@ -27,7 +27,7 @@
* to layout this page.
*/
- if ($is_header) {
+ if (isset($is_header) && $is_header) {
$is_header = false;
} else {
$is_header = true;
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index 89a38c51b5..e228ceaf7d 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -125,10 +125,10 @@
-
+
-
+
diff --git a/templates/show_html5_player.inc.php b/templates/show_html5_player.inc.php
index 218c04f752..f39a413e07 100644
--- a/templates/show_html5_player.inc.php
+++ b/templates/show_html5_player.inc.php
@@ -177,7 +177,7 @@ function SwapSlideshow()
echo "var lyricsobj = '
" . T_('Show Lyrics') . "';";
echo "var actionsobj = '|';";
if (AmpConfig::get('sociable')) {
- echo "actionsobj += '
" . UI::get_icon('comment', T_('Post Shout')) . "';";
+ echo "actionsobj += '
" . UI::get_icon('comment', T_('Post Shout')) . " |';";
}
echo "actionsobj += '
';";
if (AmpConfig::get('waveform')) {
diff --git a/templates/show_playtype_switch.inc.php b/templates/show_playtype_switch.inc.php
index 856505ee40..ae0c92e54e 100644
--- a/templates/show_playtype_switch.inc.php
+++ b/templates/show_playtype_switch.inc.php
@@ -30,19 +30,21 @@
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index 44623b3102..4c8708d094 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -125,7 +125,7 @@