Merge pull request #871 from radiorabe/feature/only-display-libretime-as-page-title-when-no-station-name-is-set
Do not add LibreTime to title if station name is set
This commit is contained in:
commit
24dd71ad33
|
@ -201,10 +201,11 @@ class Application_Model_Preference
|
|||
public static function GetHeadTitle()
|
||||
{
|
||||
$title = self::getValue("station_name");
|
||||
if (strlen($title) > 0)
|
||||
$title .= " - ";
|
||||
if (empty($title)) {
|
||||
$title = PRODUCT_NAME;
|
||||
}
|
||||
|
||||
return $title.PRODUCT_NAME;
|
||||
return $title;
|
||||
}
|
||||
|
||||
public static function SetHeadTitle($title, $view=null)
|
||||
|
|
Loading…
Reference in New Issue