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'])); } ?>
'.$course->course_name.' | '.__('View assignments', lepress_textdomain).' | '; echo '';
foreach($this->subscriptions->getTeachers($course->ID) as $teacher) {
echo ''.__('Send e-mail to', lepress_textdomain).' - '.$teacher->firstname.' '.$teacher->lastname.' '; } echo ' | ';
echo ''.__('Unsubscribe', lepress_textdomain).' |
'.__('There is no subscribed courses.', lepress_textdomain).' |
'.$course->course_name.' | '.$course->course_url.' | '.$course->message.' | '.__('Cancel', lepress_textdomain).' |
'.__('There is no pending authorization requests.', lepress_textdomain).' |