From 4ea790ba37ee556db383a7ee48bfac182b2487a7 Mon Sep 17 00:00:00 2001 From: johndoh Date: Tue, 19 Jun 2018 10:26:57 +0100 Subject: [PATCH] Extend skin_logo allowing per skin logos (#6273) --- config/defaults.inc.php | 10 ++- program/include/rcmail_output_html.php | 85 +++++++++++++++++--- skins/classic/includes/links.html | 2 +- skins/classic/templates/contactprint.html | 4 +- skins/classic/templates/messageprint.html | 4 +- skins/elastic/styles/widgets/taskmenu.less | 2 +- skins/elastic/templates/contactprint.html | 2 + skins/elastic/templates/includes/layout.html | 2 +- skins/elastic/templates/includes/menu.html | 2 +- skins/elastic/templates/messageprint.html | 2 + skins/elastic/ui.js | 16 ++++ skins/larry/includes/links.html | 2 +- skins/larry/templates/contactprint.html | 4 +- skins/larry/templates/messageprint.html | 4 +- 14 files changed, 115 insertions(+), 26 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 76d87cb74..aa337615c 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -379,8 +379,14 @@ $config['support_url'] = ''; // replace Roundcube logo with this image // specify an URL relative to the document root of this Roundcube installation -// an array can be used to specify different logos for specific template files, '*' for default logo -// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png") +// an array can be used to specify different logos for specific template files +// '*' for default logo +// ':favicon' for favicon +// ':print' for logo on all print templates (e.g. messageprint, contactprint) +// ':small' for small screen logo in Elastic +// different logos can be specified for different skins by prefixing the skin name to the array key +// config applied in order: :