You are here

function notifications_subscription_edit_page in Notifications 6.4

Edit subscription page that can be accessed with signed link

1 string reference to 'notifications_subscription_edit_page'
notifications_menu in ./notifications.module
Implementation of hook_menu().

File

./notifications.pages.inc, line 303
User pages for Notifications

Code

function notifications_subscription_edit_page($subscription) {
  global $user;

  // Aditional checks for anonymous subscriptions so not everybody can access them
  if (!$subscription->uid && !user_access('administer notifications') && !user_access('manage subscriptions') && !notifications_check_signature()) {
    drupal_access_denied();
  }
  else {
    return drupal_get_form('notifications_subscription_edit_form', $subscription);
  }
}