[system] / trunk / wwmoodle / wwassignment / mod_form.php Repository:
ViewVC logotype

Diff of /trunk/wwmoodle/wwassignment/mod_form.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5195 Revision 5196
10 //Is this particular course mapped to a course in WeBWorK 10 //Is this particular course mapped to a course in WeBWorK
11 $webworkclient = new webwork_client(); 11 $webworkclient = new webwork_client();
12 $coursemapped = _wwassignment_mapped_course($COURSE->id); 12 $coursemapped = _wwassignment_mapped_course($COURSE->id);
13 if($coursemapped == -1) { 13 if($coursemapped == -1) {
14 14
15 $mform->addElement('link','mainpage',get_string('mainpage_link_desc','wwassignment'),"BUGGER",get_string('mainpage_link_name','wwassignment')); 15 $mform->addElement('link','mainpage',get_string('mainpage_link_desc','wwassignment'),"view.php",get_string('mainpage_link_name','wwassignment'));
16 return; 16 return;
17 } 17 }
18 18
19 //links 19 //links
20 $mform->addElement('link','instructor_page_link',get_string('instructor_page_link_desc','wwassignment'),wwassignment_instructor_page_link(),get_string('instructor_page_link_name','wwassignment')); 20 $mform->addElement('link','instructor_page_link',get_string('instructor_page_link_desc','wwassignment'),wwassignment_instructor_page_link(),get_string('instructor_page_link_name','wwassignment'));

Legend:
Removed from v.5195  
changed lines
  Added in v.5196

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9