Ticket #2539 (closed enhancement: wontfix)

Opened 8 months ago

Last modified 8 weeks ago

Change changeset result of Ticket #1931

Reported by: 3dkiwi Owned by: aoneil
Priority: medium Milestone:
Component: CMS - General Version: 2.2.2
Severity: medium effort / impact Keywords: logo background-image leftandmain.php
Cc: Hours:

Description

I am working a module that will use a logo in the background and discovered the issue that Ticket #1931 resolved in Line 851 of LeftAndMain.php.

However the fix provided by the Ticket changeset 46741 restricts further styles being added via the $application_logo_style variable.

Original:

return "background-image: url(" . self::$application_logo . ") no-repeat; " . self::$application_logo_style;

Ticket #1931 fix:

return "background: url(" . self::$application_logo . ") no-repeat; " . self::$application_logo_style;

My Suggestion:

return "background-image: url(" . self::$application_logo . "); background-repeat: no-repeat; " . self::$application_logo_style;

This way additional styles such as background-fixed, background-position etc. can be added via the application_logo_style variable as needed.

Jim

Change History

Changed 8 weeks ago by sminnee

  • status changed from new to closed
  • resolution set to wontfix

I don't see why this change is necessary; it make more work for people wanting to simply replace the logo.

Note: See TracTickets for help on using tickets.