From: ivan Date: Sat, 14 Jan 2012 06:15:27 +0000 (+0000) Subject: selfservice-no_logo option to disable logo, RT#15963 X-Git-Tag: freeside_2_3_1~24 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a6446097691aa2e1b393cd1f099f304316a82689;ds=sidebyside selfservice-no_logo option to disable logo, RT#15963 --- 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 @@ - +
<%= $no_logo ? '' : '' %>