From 726755619e3d216d66ddefc863519463750fd3ce Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 26 Mar 2020 12:12:11 +0100 Subject: [PATCH] Apply custom header background and custom header logo to sharing dialog --- pixelegg/inc/class.pixelegg_framework.inc.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pixelegg/inc/class.pixelegg_framework.inc.php b/pixelegg/inc/class.pixelegg_framework.inc.php index 8f97fe2949..08daad1000 100755 --- a/pixelegg/inc/class.pixelegg_framework.inc.php +++ b/pixelegg/inc/class.pixelegg_framework.inc.php @@ -133,11 +133,21 @@ class pixelegg_framework extends Api\Framework\Ajax { if (!Api\Header\UserAgent::mobile()) { + if ($GLOBALS['egw_info']['server']['login_logo_header']) + { + $header = Api\Framework::get_login_logo_or_bg_url('login_logo_header', 'logo'); + } $ret['app_css'] .= " /** * theme changes to color pixelegg for color: $color */ - +/* +sharing +*/ +div#popupMainDiv:before { + background-color: $color; + background-image: url($header); +} /* -Top window framework header -sidebar actiuve category :hover