From 1c72cf149a0176664f0ff2d7deec91ad314b4275 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 4 Dec 2007 22:40:17 +0100 Subject: [PATCH] [svn r13919] Shorten the subscription to multiple courses by keeping the search term in the loop - Closes FS#735 --- main/auth/courses.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main/auth/courses.php b/main/auth/courses.php index c4534296f7..918cf0534e 100644 --- a/main/auth/courses.php +++ b/main/auth/courses.php @@ -1,4 +1,4 @@ -".get_lang("SearchCourse")."
"; echo "
", "", - "", + "", " ", "
"; if (isset($_POST['search_course'])) @@ -865,6 +865,11 @@ function display_subscribe_icon($current_course, $user_coursecodes) { echo "
"; echo ""; + if(!empty($_POST['search_term'])) + { + echo ''; + echo ''; + } echo "".get_lang("Subscribe")."
"; } else