/** * Display the public notification email subscription form */ function subscribeMailList() { $this->setupTemplate(); $user = Request::getUser(); if (!isset($user)) { import('notification.form.NotificationMailingListForm'); $notificationMailingListForm = new NotificationMailingListForm(); $notificationMailingListForm->display(); } else { PKPRequest::redirect(NotificationHandler::getContextDepthArray(), 'notification'); } }