diff -r e87390b1f9b0 -r ac4c6a7f01d8 plugins/admin/UserRanks.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/admin/UserRanks.php Fri May 16 12:22:26 2008 -0400 @@ -0,0 +1,30 @@ +auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) + { + $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); + echo '
' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + return; + } + + echo 'Hello world!'; +} + +?>