From a8e3de6d906910dee4a527b8dce8737c2d2a0987 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 30 Jan 2009 21:44:08 +0100 Subject: [PATCH] [svn r18094] Minor - Adding the add session/course in the action menu --- main/admin/course_list.php | 12 ++++++++---- main/admin/session_list.php | 37 +++++++++++++++---------------------- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/main/admin/course_list.php b/main/admin/course_list.php index 6083f3c7d0..c18efb8709 100644 --- a/main/admin/course_list.php +++ b/main/admin/course_list.php @@ -1,4 +1,4 @@ -defaultRenderer(); $renderer->setElementTemplate('{element} '); $form->addElement('text','keyword',get_lang('keyword')); $form->addElement('submit','submit',get_lang('Search')); $form->addElement('static','search_advanced_link',null,''.get_lang('AdvancedSearch').''); - echo '
'; - $form->display(); + echo '
+ '.Display::return_icon('view_more_stats.gif',get_lang('AddSession')).get_lang('AddCourse').' +
'; + + echo '
'; + $form->display(); echo '
'; // Create a sortable table with the course data $table = new SortableTable('courses', 'get_number_of_courses', 'get_course_data',2); diff --git a/main/admin/session_list.php b/main/admin/session_list.php index fb40246bf1..dc6c3d218e 100644 --- a/main/admin/session_list.php +++ b/main/admin/session_list.php @@ -121,25 +121,25 @@ else { ?> '; ?>
-
+
- - - | - - $limit) - { - ?> - - - + ?> + | $limit) { + ?> + + - -
+ ?> +
+