From ce664289f2e5c55201a5e80ca07dfe95a9e85c7d Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Thu, 2 Aug 2007 10:12:49 +0200 Subject: [PATCH] [svn r12856] fix bug when moving items --- main/newscorm/learnpath.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index fe3ab23744..49e78ab5b9 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -5716,6 +5716,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') { $form->addElement('hidden', 'title', $item_title); $form->addElement('hidden', 'description', $item_description); + $form->addElement('submit', 'submit_button', get_lang('Ok'), 'style="background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:75px;"'); } if(is_numeric($extra_info)) { @@ -6487,6 +6488,11 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') $return .= $this->display_student_publication_form('move', $item_id, $row); break; + + + case TOOL_FORUM : + $return .= $this->display_manipulate($item_id, $row['item_type']); + $return .= $this->display_forum_form('move', $item_id, $row); } }