X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Ftheme.php;h=a74e8c02695e683d9f2043999cb14e3687e87812;hb=7bae290aebcd7ecb5b7a21b64781bd50ccc76b41;hp=9ad378b21fe702bd20e25ac1023327bf95609622;hpb=c88dd1485f31a129f6e00bf92afee241708e7da9;p=friendica.git diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 9ad378b21f..a74e8c0269 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -25,6 +25,8 @@ if ($color=="aerith") $color_path = "/diabook-aerith/"; if ($color=="blue") $color_path = "/diabook-blue/"; if ($color=="red") $color_path = "/diabook-red/"; if ($color=="pink") $color_path = "/diabook-pink/"; +if ($color=="green") $color_path = "/diabook-green/"; +if ($color=="dark") $color_path = "/diabook-dark/"; /** @@ -368,6 +370,22 @@ function yt_iframe() { '; +if($a->argv[0] === "settings" && local_user()) { +$a->page['htmlhead'] .= ' +';} + + if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){ $a->page['htmlhead'] .= ' @@ -457,22 +475,7 @@ function close_lastlikes(){ document.getElementById( "close_lastlikes" ).style.display = "none"; $.cookie("close_lastlikes","1", { expires: 365, path: "/" }); }; -';} - -$a->page['htmlhead'] .= ' -';} - +';}} $a->page['htmlhead'] .= '