Access Denied
uid > 0) {
$output = '
' . t(variable_get('cpsvo_perm_denied_error',"You are currently logged in as user '!username', who has not been granted the appropriate access privileges for this resource."), array('!username' => ''. $user->name .'')); $output .= '
' . t(variable_get('cpsvo_perm_denied_error',"You are currently logged in as user '!username', who has not been granted the appropriate access privileges for this resource."), array('!username' => ''. $user->name .'')); $output .= '
Back
';
print $output;
} else {
drupal_set_message(t(variable_get('cpsvo_not_logged_in_error','The page you requested is only accessible to certain users. Please log in so that we may determine your permissions.')));
print drupal_get_form('user_login');
}
?>