Posted on: 03/21/06 04:05am
By: Robin
There is tiny issue with Block Manager in 1.4.0sr2. Namely there is a missing text (Block Manager (Left) and images L and R are mixed up. It doesn't impact the operation of the Block Manager it's just cosmetics
The thing that needs to be changed is in lib-admin.php. Currently it looks like this
case 'move':
if ($access == 3) {
if ($A['onleft'] == 1) {
$side = $LANG21[40];
$blockcontrol_image = 'block-right.' . $_IMAGE_TYPE;
$moveTitleMsg = $LANG21[59];
$switchside = '1';
} else {
$blockcontrol_image = 'block-left.' . $_IMAGE_TYPE;
$moveTitleMsg = $LANG21[60];
$switchside = '0';
}
and should look like this
case 'move':
if ($access == 3) {
if ($A['onleft'] == 1) {
$side = $LANG21[40];
$blockcontrol_image = 'block-left.' . $_IMAGE_TYPE;
$moveTitleMsg = $LANG21[59];
$switchside = '1';
} else {
$blockcontrol_image = 'block-right.' . $_IMAGE_TYPE;
$moveTitleMsg = $LANG21[60];
$switchside = '0';
}
The above modification will display L and R images correctly.
There is still outstanding label Block Manager (Left) however after looking at the code it doesn't look that simple to change.
Hope you find it useful
Block Manager in 1.4.0sr2
Posted on: 03/22/06 03:49pm
By: Dirk
[QUOTE BY= Robin] There is tiny issue with Block Manager in 1.4.0sr2. Namely there is a missing text (Block Manager (Left) and images L and R are mixed up. [/QUOTE]
Actually, the images have always been like that, and on purpose: The "R" symbolises the option to move the block to the right side. We already know that it's on the left side, as it's listed in the first of the two lists.
The missing headline for the list of left blocks is one of the little inconsistencies that have crept in over time. Thanks for pointing it out.
bye, Dirk
Block Manager in 1.4.0sr2
Posted on: 03/22/06 05:33pm
By: Robin
[QUOTE BY= Dirk]The "R" symbolises the option to move the block to the right side.[/QUOTE]
I've discovered this "hidden" option very recently. Now I understand the block management philosophy
Thanks for explanation