X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FLogo;h=5d26e1dc5cfda5630aba3f9f275a62503fa215e1;hb=187086c479a09629b7d180eec513fb7657f4e291;hp=8b4be4c8104e77380f8b174d26aecbdd78731829;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/rt/share/html/Elements/Logo b/rt/share/html/Elements/Logo index 8b4be4c81..5d26e1dc5 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-2018 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; }