From a6446097691aa2e1b393cd1f099f304316a82689 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 14 Jan 2012 06:15:27 +0000 Subject: [PATCH] selfservice-no_logo option to disable logo, RT#15963 --- FS/FS/ClientAPI/MyAccount.pm | 2 +- FS/FS/Conf.pm | 8 ++++++++ fs_selfservice/FS-SelfService/cgi/header.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index c2c295e27..fe47acded 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -121,7 +121,7 @@ sub skin_info { ) ), ( map { $_ => $conf->exists("selfservice-$_", $agentnum ) } - qw( menu_skipblanks menu_skipheadings menu_nounderline ) + qw( menu_skipblanks menu_skipheadings menu_nounderline no_logo ) ), ( map { $_ => scalar($conf->config_binary("selfservice-$_", $agentnum)) } qw( title_left_image title_right_image diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 06b72e203..37adffb36 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -3970,6 +3970,14 @@ and customer address. Include units.', }, { + 'key' => 'selfservice-no_logo', + 'section' => 'self-service', + 'description' => 'Disable the logo in self-service', + 'type' => 'checkbox', + 'per_agent' => 1, + }, + + { 'key' => 'selfservice-title_color', 'section' => 'self-service', 'description' => 'HTML color for the self-service title, for example, #000000', diff --git a/fs_selfservice/FS-SelfService/cgi/header.html b/fs_selfservice/FS-SelfService/cgi/header.html index 984030dee..7bd5496d1 100644 --- a/fs_selfservice/FS-SelfService/cgi/header.html +++ b/fs_selfservice/FS-SelfService/cgi/header.html @@ -55,7 +55,7 @@ - + -- 2.11.0
<%= $no_logo ? '' : '' %>