Index: temp_moodle_dev/moodle/mod/glossary/view.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/glossary/view.php,v diff -u -r1.2 -r1.3 --- temp_moodle_dev/moodle/mod/glossary/view.php 27 Nov 2008 02:22:55 -0000 1.2 +++ temp_moodle_dev/moodle/mod/glossary/view.php 11 Dec 2008 00:14:27 -0000 1.3 @@ -20,6 +20,7 @@ $show = optional_param('show', '', PARAM_ALPHA); // [ concept | alias ] => mode=term hook=$show $returnurl = optional_param('returnUrl', '', PARAM_TEXT); // lams url to proceed to next in sequence $editing = optional_param('editing', 0, PARAM_INT); // 1 if editing in Lams + $next = optional_param('next', 0, PARAM_INT); // 1 if new entry in Lams if (!empty($id)) { if (! $cm = get_coursemodule_from_id('glossary', $id)) { error("Course Module ID was incorrect"); @@ -530,7 +531,10 @@ echo '
'; glossary_print_tabbed_table_end(); -/// Finish the page + if($cm->is_lams==1&&$next==1&&$editing==0){ //lams: display the next activity button + include('showlamsnext.php'); + } + /// Finish the page //we pass a new parameter to the function so it won't we printed if is_lams=1