X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FLogo;h=ad6aa9c740f49217a4debf0f92f889dc9b980a17;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=8b4be4c8104e77380f8b174d26aecbdd78731829;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/Elements/Logo b/rt/share/html/Elements/Logo index 8b4be4c81..ad6aa9c74 100644 --- a/rt/share/html/Elements/Logo +++ b/rt/share/html/Elements/Logo @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -53,9 +53,7 @@ % } else { <%loc($ARGS{'LogoAltText'}||RT->Config->Get('LogoAltText'))%> + alt="<%loc($ARGS{'LogoAltText'}||RT->Config->Get('LogoAltText'))%>" /> % } % if ( $ShowName ) { <% $Name || loc("RT for [_1]", RT->Config->Get('rtname')) %> @@ -67,7 +65,6 @@ if ( exists $ARGS{'show_name'} ) { $ShowName = delete $ARGS{'show_name'}; } -use Scalar::Util qw(blessed); my $user_logo = blessed $RT::System ? $RT::System->FirstAttribute('UserLogo') : undef; # If we have the attribute, but no content, we don't really have a user logo @@ -80,7 +77,7 @@ if ($user_logo) { if ($OnlyCustom and not $user_logo - and ($ARGS{LogoURL}||RT->Config->Get('LogoURL')) =~ /bpslogo\.png$/) + and ($ARGS{LogoURL}||RT->Config->Get('LogoURL')) =~ /request-tracker-logo\.png$/) { return; }