Prevent duplicated 'All' on browse all releases

This commit is contained in:
DariusIII
2018-05-21 14:41:29 +02:00
parent 4f5f848e53
commit 5e2f5fbb62
5 changed files with 25 additions and 20 deletions
+5 -1
View File
@@ -128,7 +128,11 @@ class BrowseController extends BasePageController
$this->smarty->assign('catname', $grp);
}
$meta_title = 'Browse '.$parentCategory.' / '.$id;
if ($id === 'All' && $parentCategory === 'All') {
$meta_title = 'Browse '.$parentCategory .' releases';
} else {
$meta_title = 'Browse '.$parentCategory.' / '.$id.' releases';
}
$meta_keywords = 'browse,nzb,description,details';
$meta_description = 'Browse for Nzbs';