admin mode
Posted: Wed May 31, 2006 4:54 pm
In some of my additional plugins s9y-0.9 I used things like this
to determine admin mode.
It seems I can't use this in 1.1 any more (at least in wrap_url plugin pages)
Is there something similar to have restricted access to admin - and in diff - to authors?
I would like to include an admin section viewable only for s9y admin. It would be nice to include the stuff into serendipty_admin but I don't know how to do....
Regards,
Ian
Code: Select all
if ($_SESSION['serendipityAuthedUser'] === true) {It seems I can't use this in 1.1 any more (at least in wrap_url plugin pages)
Is there something similar to have restricted access to admin - and in diff - to authors?
I would like to include an admin section viewable only for s9y admin. It would be nice to include the stuff into serendipty_admin but I don't know how to do....
Regards,
Ian