From 232775353a215b4c19046b05edccff214f6a5863 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Tue, 24 Apr 2007 09:31:13 +0200 Subject: [PATCH] [svn r12092] fix minor display bugs in surveys : http://projects.dokeos.com/?do=details&id=1432 --- main/survey/survey_invite.php | 2 +- main/survey/survey_list.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/survey/survey_invite.php b/main/survey/survey_invite.php index e50ec266b7..53946068cd 100644 --- a/main/survey/survey_invite.php +++ b/main/survey/survey_invite.php @@ -92,7 +92,7 @@ foreach ($complete_user_list as $index => $user) { $possible_users[$user['user_id']] = $user['lastname'].' '.$user['firstname']; } -$users = $form->addElement('advmultiselect', 'course_users', get_lang('CourseUsers'), $possible_users); +$users = $form->addElement('advmultiselect', 'course_users', get_lang('CourseUsers'), $possible_users, 'style="width: 250px; height: 200px;"'); $users->setElementTemplate(' {javascript} diff --git a/main/survey/survey_list.php b/main/survey/survey_list.php index 2cc83b2102..ee626e527d 100644 --- a/main/survey/survey_list.php +++ b/main/survey/survey_list.php @@ -21,7 +21,7 @@ * @package dokeos.survey * @author unknown, the initial survey that did not make it in 1.8 because of bad code * @author Patrick Cool , Ghent University: cleanup, refactoring and rewriting large parts of the code -* @version $Id: survey_list.php 11799 2007-03-30 09:31:17Z elixir_julian $ +* @version $Id: survey_list.php 12092 2007-04-24 07:31:13Z elixir_julian $ * * @todo The invite column is not done * @todo try to understand the white, blue, ... template stuff. @@ -311,7 +311,7 @@ function modify_filter($survey_id) //$return .= ''.Display::return_icon('add.gif', get_lang('Add')).''; $return .= ''.Display::return_icon('preview.gif', get_lang('Preview')).''; $return .= ''.Display::return_icon('survey_publish.gif', get_lang('Publish')).''; - $return .= ''.Display::return_icon('surveyreporting.gif', get_lang('Reporting')).''; + $return .= ''.Display::return_icon('statistics.gif', get_lang('Reporting')).''; return $return; }