8
ok. i did it like that:
1.) system_blocks.php, function: b_system_user_show()
i added the following lines:
le="color: #000000"><?php if ($xoopsUser->isAdmin(0)) { $block['isAdmin'] = true;
2.) tpls -> system -> system_block_user.html
i changed
le="color: #000000"><?php <{if $xoosp_isadmin}>
to
le="color: #000000"><?php <{if $block.isAdmin}>
Now the users with some mod-admin-rights can see the adminbutton but they cant enter the adminmenu because of missing access rights.
so i opened admin.php in my root dir an changed
le="color: #000000"><?php if ( !$xoopsUser->isAdmin() ) { // line 36
to
le="color: #000000"><?php if ( !$xoopsUser->isAdmin(0) ) {
Is it ok or are there any security-reasons for why i shouldn't do that?