/ Published in: PHP
Just include global $user; and $user->uid != 1 into the function
Expand |
Embed | Plain Text
function fckeditor_elements() { global $user; ), ); if (user_access('access fckeditor') && $user->uid != 1) { // only roles with permission get the fckeditor if (fckeditor_is_compatible_client()) { // it would be useless to dig deeper if we're not able or allowed to } } return $type; }
You need to login to post a comment.
