[TYPO3-core] RFC: #14798: Sitename missing in Login form

Steffen Kamper info at sk-typo3.de
Mon Jun 21 18:40:14 CEST 2010


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=14798

Branches: Trunk

Problem:
In the Login form it says: "Administration Login on " but nothing more.

I guess there should be the sitename as it was before.

Addition: The problem is even worse - all unreplaced markers are 
replaced in install tool. So, labels are missing ###...### and values too.
With values, this cause that install tool always write the loginLabels, 
which now "has changed" because of the stripped marker. And login 
doesn't use localized labels any more, because if the hash of 
loginLabels isn't the original, the 
$TYPO3_CONF_VARS['BE']['loginLabels'] will be used at first place.

Solution:
use t3lib_parsehtml::substituteSubpart with 4th parameter FALSE to leave 
the markers unreplaced.
This one took long time testing, as i first tried selective find the 
responsible calls, but there are many encapsulated calls with sqme 
content, so i went to change 4th parameter to FALSE to all places except 
some where i was sure that no marker are present. Maybe this way some 
calls are changed without need, but it works, no unwanted markers are 
there, and this is the more important.

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14798.diff
Type: text/x-diff
Size: 20778 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100621/4da4d8f7/attachment-0001.diff>


More information about the TYPO3-team-core mailing list