Status: offline

Robin

Forum User
Full Member
Registered: 02/15/02
Posts: 725
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
Text Formatted Code
            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
Text Formatted Code
            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
Geeklog Polish Support Team

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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.

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

Status: offline

Robin

Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by Dirk:The "R" symbolises the option to move the block to the right side.

I've discovered this "hidden" option very recently. Now I understand the block management philosophy
Thanks for explanation
Geeklog Polish Support Team