[TYPO3-core] RFC #14365: Bug: Install Tool skin is sometimes wrong

Steffen Gebert steffen at steffen-gebert.de
Thu May 13 23:27:17 CEST 2010


Am 11.05.2010, 20:02 Uhr, schrieb Lars Houmark <lars at houmark.com>:

> BT reference: http://bugs.typo3.org/view.php?id=14365
>
> Problem:
> 	The Install Tool in 4.4 can run in two skin modes. One for being loaded
> in the backend (light) and one for being loaded as "standalone" (dark).
> ...
> The detection is currently session based and does only happen on the
> initial load. As soon as the session is created there will be no more
> checks for which environment the Install Tool is running in.
>
> Solution:
> 	Switch to a JS only approach that checks if the current document
> location is the same as the top location, meaning, is the document
> loaded in a frame or not. If it is not loaded in a frame, the body gets
> a class="standalone" added which equals to the re-factored CSS.

Lars, could you please also change this for typo3/install/index.php?

Testing #14367 shows that the referrer check is bad: When you log out, you  
always get the standalone version.

Thanks
Steffen


More information about the TYPO3-team-core mailing list