subscriptions->subscribe($this->safeStringInput($_POST['course_url'], true), $this->safeStringInput($_POST['course_message'])); } /* Unsubscribe course */ if(isSet($_GET['uc'])) { $this->subscriptions->unsubscribe(base64_decode($_GET['uc'])); } /* Clear declined courses list */ if(isSet($_GET['clear'])) { $this->subscriptions->clear($_GET['clear']); } /* Cancel subscription */ if(isSet($_GET['cancel'])) { $this->subscriptions->cancelSubscription(base64_decode($_GET['cancel'])); } ?>

subscriptions->getApproved()) { foreach($this->subscriptions->getApproved() as $course) { echo ''; echo ''; echo ''; } } else { echo ''; } ?>
'.$course->course_name.''.__('View assignments', lepress_textdomain).''; foreach($this->subscriptions->getTeachers($course->ID) as $teacher) { echo ''.__('Send e-mail to', lepress_textdomain).' - '.$teacher->firstname.' '.$teacher->lastname.'
'; } echo '
'.__('Unsubscribe', lepress_textdomain).'
'.__('There is no subscribed courses.', lepress_textdomain).'

subscriptions->getPending()) { foreach($this->subscriptions->getPending() as $course) { echo ''; } } else { echo ''; } ?>
'.$course->course_name.''.$course->course_url.''.$course->message.''.__('Cancel', lepress_textdomain).'
'.__('There is no pending authorization requests.', lepress_textdomain).'

subscriptions->getDeclined()) { foreach($declined_courses as $course) { echo ''; } } else { echo ''; } ?>
'.$course->course_name.''.$course->course_url.''.$course->message.'
'.__('There is no declined courses.', lepress_textdomain).'
getBlogOwnerUser(); if(empty($current_user->first_name) || empty($current_user -> last_name)) { $disabled = "disabled='disabled'"; } else { $disabled = ''; } ?>

id="course_url" type="text" value=""/>

name="submit" value="" />